error deleting failed folders...

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
quinnm54
Newbie
Newbie
Posts: 1
Joined: June 15th, 2014, 10:44 pm

error deleting failed folders...

Post by quinnm54 »

http://192.168.1.80:8081/api?mode=histo ... xxxxxxxxxx
(looks like it might be from a bad/wierd character in a file or folder name).
----------------------------------------------------------------------------------------------

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
File "/usr/local/sabnzbd/cherrypy/_cprequest.py", line 618, in respond
cherrypy.response.body = self.handler()
File "/usr/local/sabnzbd/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/local/sabnzbd/sabnzbd/interface.py", line 425, in api
return api_handler(kwargs)
File "/usr/local/sabnzbd/sabnzbd/api.py", line 101, in api_handler
response = _api_table.get(mode, _api_undefined)(name, output, kwargs)
File "/usr/local/sabnzbd/sabnzbd/api.py", line 457, in _api_history
del_job_files(history_db.get_failed_paths(search))
File "/usr/local/sabnzbd/sabnzbd/api.py", line 1516, in del_job_files
remove_all(path, recursive=True)
File "/usr/local/sabnzbd/sabnzbd/misc.py", line 1283, in remove_all
if os.path.exists(path):
File "/usr/lib/python2.6/genericpath.py", line 18, in exists
st = os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 90: ordinal not in range(128)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: error deleting failed folders...

Post by shypike »

A blunt instrument, but you can remove the full history.
Stop SABnzbd, remove the file history1.db from the profile.
(Location: http://wiki.sabnzbd.org/configure-0-7 sub-folder admin)
Post Reply