bug in revision 2776+

Questions and bug reports for Beta releases should be posted here.

bug in revision 2776+

Postby nate1280 » March 28th, 2011, 10:11 pm

This applies to revision 2776 and newer.

Here is a traceback for the crash:

Code: Select all
Traceback (most recent call last):
  File "SABnzbd.py", line 1604, in <module>
  File "SABnzbd.py", line 1189, in main
  File "sabnzbd\decorators.pyo", line 31, in newFunction
  File "sabnzbd\__init__.pyo", line 281, in initialize
  File "sabnzbd\scheduler.pyo", line 302, in analyse
  File "sabnzbd\decorators.pyo", line 43, in call_func
TypeError: pause() got multiple values for keyword argument 'save'

File: scheduler.py
Line: 302

sabnzbd.downloader.Downloader.do.pause(paused or paused_all, save=True)

I believe you have a parameter mismatch, sabnzbd.downloader.Downloader.do.pause is requiring only 1 parameter, but here you're trying to pass 2; paused or paused_all which determines the save parameter, then you're trying to set by keyword, save=True which triggers the TypeError.  At least, thats what I gather, still trying to brush up on my python.

Btw, I compile the source for windows, and usually try to stay 1 or 2 revisions behind current.  Running on 2008R2 Std as a service.
nate1280
Newbie
Newbie
 
Posts: 3
Joined: March 27th, 2011, 10:02 pm

Re: bug in revision 2776+

Postby shypike » March 29th, 2011, 2:40 am

:(
thanks for the tip.
My test cases missed the (normal) situation when starting without the -p (paused) flag.
User avatar
shypike
Administrator
Administrator
 
Posts: 16579
Joined: January 18th, 2008, 1:49 pm

Re: bug in revision 2776+

Postby nate1280 » March 29th, 2011, 8:41 am

btw, since I'm running from source and not a numbered beta version, please let me know if I should be posting these else where.
nate1280
Newbie
Newbie
 
Posts: 3
Joined: March 27th, 2011, 10:02 pm

Re: bug in revision 2776+

Postby shypike » March 29th, 2011, 9:36 am

No, this is OK.
Thanks again.
User avatar
shypike
Administrator
Administrator
 
Posts: 16579
Joined: January 18th, 2008, 1:49 pm


Return to Beta Releases