[0.7.17b1] post-processing scripts always fail

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
jcfp
Release Testers
Release Testers
Posts: 1032
Joined: February 7th, 2008, 12:45 pm

[0.7.17b1] post-processing scripts always fail

Post by jcfp »

To reproduce: queue a job with any post-proc script. Upon job completion, the history says "PostProcessing was aborted (see logfile)", and the following is logged :
2013-12-14 22:57:19,652::INFO::[newsunpack:212] Unrar finished on /home/jp/downloads/incomplete/random2
2013-12-14 22:57:19,653::DEBUG::[newsunpack:1399] build_filelists(): joinables: []
2013-12-14 22:57:19,653::DEBUG::[newsunpack:1400] build_filelists(): zips: []
2013-12-14 22:57:19,653::DEBUG::[newsunpack:1401] build_filelists(): rars: []
2013-12-14 22:57:19,653::DEBUG::[newsunpack:1402] build_filelists(): ts: []
2013-12-14 22:57:19,653::INFO::[postproc:346] unpack_magic finished on random2
2013-12-14 22:57:19,655::ERROR::[postproc:502] Post Processing Failed for random2 ()
2013-12-14 22:57:19,655::INFO::[postproc:504] Traceback:
Traceback (most recent call last):
File "/tmp/t/SABnzbd-0.7.17Beta1/sabnzbd/postproc.py", line 437, in process_job
nzo.nzo_info.get('failure', ''))
File "/tmp/t/SABnzbd-0.7.17Beta1/sabnzbd/newsunpack.py", line 136, in external_processing
str(nicename), str(msgid), str(cat), str(group), str(status). str(failure_url)]
AttributeError: 'str' object has no attribute 'str'
2013-12-14 22:57:19,991::INFO::[postproc:535] Cleaning up random2 (keep_basic=True)
The script used seems irrelevant; the above was generated with the example script that just print its own arguments. Full job debug log available if needed.

Side effect of this? https://github.com/sabnzbd/sabnzbd/comm ... c4f2cd1f93
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: [0.7.17b1] post-processing scripts always fail

Post by shypike »

Oh damn, I think I know what it is.
Thanks for the report.
Post Reply