Page 1 of 1

0.4.0b2 bug - TypeError: not enough arguments for format string

Posted: April 21st, 2008, 10:04 pm
by bobdunn
I'm testing how things work with the new TV show/Season/Episode formatting, getting the following error, and having the files left in the _UNPACKING_ folder.  I suspect it's related to a config setting, but I don't know which it might be.  Here's what I suspect to be relevant from sabnzbd.log:

Code: Select all

2008-04-21 20:50:12,789::DEBUG::[assembler] Found TV Show - Starting folder sort (<showname> : C:\Users\Robert\Downloads\downloads\<showname>)
2008-04-21 20:50:12,799::ERROR::[assembler] Postprocessing of <showname>.nzb failed.
Traceback (most recent call last):
  File "sabnzbd\assembler.pyo", line 242, in run
  File "sabnzbd\assembler.pyo", line 750, in formatFolders
  File "logging\__init__.pyo", line 1294, in error
  File "logging\__init__.pyo", line 1015, in error
  File "logging\__init__.pyo", line 1101, in _log
  File "logging\__init__.pyo", line 1111, in handle
  File "logging\__init__.pyo", line 1148, in callHandlers
  File "logging\__init__.pyo", line 655, in handle
  File "SABnzbd.py", line 91, in emit
  File "logging\__init__.pyo", line 630, in format
  File "logging\__init__.pyo", line 418, in format
  File "logging\__init__.pyo", line 288, in getMessage
TypeError: not enough arguments for format string
Any help is greatly appreciated.

Thanks,
Bob

Re: 0.4.0b2 bug - TypeError: not enough arguments for format string

Posted: April 22nd, 2008, 1:47 am
by shypike
What SABnzbd was trying to tell you is "Error creating tv folders".
I don't know what has happened.

One of the team members is doing a complete redesign of the TV season support.
I'm afraid that for now you'll have to live with these problems or not use the feature at all.

Re: 0.4.0b2 bug - TypeError: not enough arguments for format string

Posted: April 22nd, 2008, 1:54 am
by bobdunn
Yeah I thought that might be the case.  It did manage to create a folder called "" in the same folder as the UNPACKING folder, but I have my options set to subfolder by season and episode.  Maybe I'll play with that some.

I'm absolutely thrilled that this feature is present.  I had been contemplating writing an app in C# that would do that for me, but with my limited time I'm sure it would've been much crappier than this.