Scheduling: error

Get help with all aspects of 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
JustAnotherJDoe
Newbie
Newbie
Posts: 3
Joined: May 6th, 2013, 2:44 am

Scheduling: error

Post by JustAnotherJDoe »

Hi there,

today I tried to set up my first schedule. "Remove failed jobs" at 21:20, every day.

sabnzbd is smoothly running on FreeNAS (though this seems not a FreeNAS related thing!) for a couple of weeks. Except for this error sabnzbd shows no problems. I am still on version 0.7.16.

The scheduled job, however, hasn't executed and the following error appeared in the logs:

Code: Select all

2014-07-17 21:20:50,774::ERROR::[kronos:321] ERROR DURING SCHEDULER EXECUTION 'ascii' codec can't decode byte 0xfc in position 7: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/sabnzbd/utils/kronos.py", line 305, in __call__
    self.execute()
  File "/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/sabnzbd/utils/kronos.py", line 399, in execute
    self.action(*self.args, **self.kw)
  File "/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/sabnzbd/api.py", line 1967, in history_remove_failed
    del_job_files(history_db.get_failed_paths())
  File "/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/sabnzbd/api.py", line 1489, in del_job_files
    remove_all(path, recursive=True)
  File "/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/sabnzbd/misc.py", line 1279, in remove_all
    files = globber(path, pattern)
  File "/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/sabnzbd/misc.py", line 77, in globber
    return glob.glob(os.path.join(path, pattern).replace('[', '[[]'))
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/glob.py", line 27, in glob
    return list(iglob(pathname))
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/glob.py", line 60, in iglob
    yield os.path.join(dirname, name)
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/posixpath.py", line 80, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 7: ordinal not in range(128)
Hope somebody can help.

Kind regards.
JustAnotherJDoe
Newbie
Newbie
Posts: 3
Joined: May 6th, 2013, 2:44 am

Re: Scheduling: error

Post by JustAnotherJDoe »

Updated to 0.7.18. The error remains :-(
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Scheduling: error

Post by sander »

As "Remove failed jobs" has no parameters, my guess is that one of the failed jobs has a strange character in the path name (or in SAB's presentation of the path in the database).
So, if you manually delete the failed jobs, one-by-one, does it work for all of them?

Just maybe a Status -> Queue Repair helps (although I don't know if a queue repair handles failed jobs)
Post Reply