Traceback error when trying to access server tab in 3.0.1 Windows

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
nobrumski
Newbie
Newbie
Posts: 19
Joined: May 14th, 2010, 9:07 pm

Traceback error when trying to access server tab in 3.0.1 Windows

Post by nobrumski »

I am getting the following error with 3.0.1 running on Windows 10 when I try to access my server list. I haven't been in there since upgrading to 3.0 so not sure if the same issue was there.

Traceback (most recent call last):
File "cherrypy\_cprequest.py", line 638, in respond
File "cherrypy\_cprequest.py", line 697, in _do_respond
File "cherrypy\lib\encoding.py", line 219, in __call__
File "cherrypy\_cpdispatch.py", line 54, in __call__
File "sabnzbd\interface.py", line 138, in internal_wrap
File "sabnzbd\interface.py", line 1598, in index
File "_Program_Files_SABnzbd_interfaces_Config_templates_config_server_tmpl.py", line 148, in respond
TypeError: '>' not supported between instances of 'bytes' and 'int'
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Traceback error when trying to access server tab in 3.0.1 Windows

Post by safihre »

Could you maybe send me your sabnzbd.ini and your totals10.sab file? They are in your admin directory.
[email protected]
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
armen
Newbie
Newbie
Posts: 4
Joined: June 4th, 2021, 8:43 pm

Re: Traceback error when trying to access server tab in 3.0.1 Windows

Post by armen »

Hi there, I was using v3.2.1 for months without any issues on my Windows10 server, but for some reason today all downloads stopped working and I too am getting the Traceback error when trying to access the Server tab:

Traceback (most recent call last):
TypeError: Object of type bytes is not JSON serializable

Restarting the Windows Service and rebooting the PC did not help, nor did upgrading to latest version (3.3.0).

Safihre, I have emailed you my sabnzbd.ini and totals10.sab 🤞
armen
Newbie
Newbie
Posts: 4
Joined: June 4th, 2021, 8:43 pm

Re: Traceback error when trying to access server tab in 3.0.1 Windows

Post by armen »

Thanks @safihre for your email reply! For others, it seems my totals10.sab file somehow got corrupted during a download/unpacking activity and deleting that file with a Sab restart did the trick. Only thing I find missing is the bandwidth history for each of my Usenet servers.

Seems the next version of Sab will also be able to sanitize issues like mine in the totals10 file.

Best,
Armen
Post Reply