sabnzbdplus-3.0.0RC1 crash on menu click

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
Hairybiker
Jr. Member
Jr. Member
Posts: 50
Joined: October 24th, 2011, 4:18 am

sabnzbdplus-3.0.0RC1 crash on menu click

Post by Hairybiker »

Running under Linux Mint 19.3 64bit Cinnamon.
Changed server but same HDD & OS.

Asking for config page generates the following error in the web page.
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usr/lib/python3/dist-packages/cherrypy/lib/encoding.py", line 220, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python3/dist-packages/cherrypy/_cpdispatch.py", line 60, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 138, in internal_wrap
return wrap_func(*args, **kwargs)
File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 2414, in index
header = build_status(skip_dashboard=kwargs.get("skip_dashboard"))
File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 1176, in build_status
info["folders"] = NzbQueue.do.scan_jobs(all_jobs=False, action=False)
File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 49, in call_func
return func(*params, **kparams)
File "/usr/share/sabnzbdplus/sabnzbd/nzbqueue.py", line 147, in scan_jobs
items = sabnzbd.api.build_history(output=True)[0]
File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 1743, in build_history
items = get_active_history(queue, items)
File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 1793, in get_active_history
history = build_history_info(nzo)
File "/usr/share/sabnzbdplus/sabnzbd/database.py", line 486, in build_history_info
lines.append("%s:::%s" % (key, ";".join(results)))
TypeError: sequence item 0: expected str instance, int found

There are errors displayed on the header but I get the same crash if I try to read them and the sabnzbd.error.log is empty
Have tried removing and reinstalling sabnzbd to same result.
Hairybiker
Jr. Member
Jr. Member
Posts: 50
Joined: October 24th, 2011, 4:18 am

Re: sabnzbdplus-3.0.0RC1 crash on menu click

Post by Hairybiker »

OK fixed it by removing the config folder and copying over the .ini file again.
User avatar
safihre
Administrator
Administrator
Posts: 5361
Joined: April 30th, 2015, 7:35 am
Contact:

Re: sabnzbdplus-3.0.0RC1 crash on menu click

Post by safihre »

Sometimes the history can be corrupted.. Not sure really how it happens.
But indeed removing history.db fixes it,
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply