Postprocessing has been canceled

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
hudini
Newbie
Newbie
Posts: 3
Joined: October 23rd, 2016, 6:24 am

Postprocessing has been canceled

Post by hudini »

Hi all,

I´ve run into the following problem:
Sab downloaded just fine and finished the repair process, but then throws this error:

Code: Select all

Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/share/sabnzbdplus/cherrypy/lib/encoding.py", line 220, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 60, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 573, in retry_pp
    retry_job(kwargs.get('job'), kwargs.get('nzbfile'), kwargs.get('password'))
  File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 1612, in retry_job
    nzo_id = repair_job(platform_encode(path), new_nzb, password)
  File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 44, in call_func
    return func(*params, **kparams)
  File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 32, in newFunction
    return f(*args, **kw)
  File "/usr/share/sabnzbdplus/sabnzbd/nzbqueue.py", line 1061, in repair_job
    return NzbQueue.do.repair_job(folder, new_nzb, password)
  File "/usr/share/sabnzbdplus/sabnzbd/nzbqueue.py", line 205, in repair_job
    nzo = NzbObject(name, pp=None, script=None, nzb='', cat=None, priority=None, nzbname=name, reuse=True)
  File "/usr/share/sabnzbdplus/sabnzbd/nzbstuff.py", line 855, in __init__
    self.check_existing_files(wdir)
  File "/usr/share/sabnzbdplus/sabnzbd/nzbstuff.py", line 1059, in check_existing_files
    fix_unix_encoding(wdir)
  File "/usr/share/sabnzbdplus/sabnzbd/misc.py", line 1427, in fix_unix_encoding
    new_name = special_fixer(name).encode('utf-8')
  File "/usr/share/sabnzbdplus/sabnzbd/encoding.py", line 128, in special_fixer
    return p.decode(codepage)
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 2: invalid start byte
There is no postprocessing set for this file, I even tried the "retry" option, but it still throws the error.
I´m running 1.1.1RC2 on Debian Jessie.
The strange thing: I can´t seem to find the downloaded files anywhere. It still takes up the HDD-space but the files are nowhere to be seen.
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Postprocessing has been canceled

Post by sander »

Code: Select all

UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 2: invalid start byte
Thats probably a post with a strangely encoded filename in it. Strangely as in "non-ASCII and non-Unicode" encoded. So possibly ü or é with a Windows-like encoding (for example cp1252).

SABnzbd should still not crash. And at the same time the files should still be there, in your Incomplete or your Complete folder.

Can you provide the NZB?

EDIT:

In CP1252 encoding:

0xFC 0x00FC #LATIN SMALL LETTER U WITH DIAERESIS

so that is the ü ... (U Umlaut), like I suspected
hudini
Newbie
Newbie
Posts: 3
Joined: October 23rd, 2016, 6:24 am

Re: Postprocessing has been canceled

Post by hudini »

There is a umlaut in the password, but that was in many of my files already.

But your tip was very helpful: I finally managed to find the files, putty didn´t display them because of non-printable characters. I removed all the non-printable characters with this command:

Code: Select all

rename -n 's/[^\x00-\x7F]//g' *
Sab is working just fine now. Thanks for the nudge in the right direction!
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Postprocessing has been canceled

Post by sander »

Ah, a umlaut in the password, not in the filenames itself? Interesting.

Can you still point me to the NZB (plus the password), for example in a PM?
hudini
Newbie
Newbie
Posts: 3
Joined: October 23rd, 2016, 6:24 am

Re: Postprocessing has been canceled

Post by hudini »

Umlaut was in the PW, but what caused the error where unprintable chars in the rar-filenames.
Post Reply