Weird error when when accessing via GUI

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
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

Weird error when when accessing via GUI

Post by seanvree81 »

I"m getting this error when trying to access the GUI via web page, however, it's running as a service on my Windows 10 Ent box, so I can still access it via the NZB360 app.

Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 670, in respond
File "cherrypy\lib\encoding.pyo", line 217, in __call__
File "cherrypy\_cpdispatch.pyo", line 61, in __call__
File "sabnzbd\interface.pyo", line 349, in index
File "_Program_Files__x86__SABnzbd_interfaces_Glitter_templates_main_tmpl.py", line 477, in respond
File "Cheetah\Template.pyo", line 1615, in _handleCheetahInclude
File "_Program_Files__x86__SABnzbd_interfaces_Glitter_templates_include_menu_tmpl.py", line 230, in respond
NotFound: cannot find 'have_logout'
Powered by CherryPy 3.8.0

Any thoughts?
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Weird error when when accessing via GUI

Post by safihre »

You should uninstall and then reinstall sabnzbd, seems some files were not set correctly.
Seems the template file is from the beta 1.1.0, but the API from the older 1.0.x version.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

Re: Weird error when when accessing via GUI

Post by seanvree81 »

safihre wrote:You should uninstall and then reinstall sabnzbd, seems some files were not set correctly.
Seems the template file is from the beta 1.1.0, but the API from the older 1.0.x version.
I'm running it as a windows service from a github source. How would I go about re-installing? If I can't get to the GUI, how do I know where my config data file is stored?
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

Re: Weird error when when accessing via GUI

Post by seanvree81 »

so I uninstalled the Windows application and replaced it with a cloned copy from Github, but now I get this error:



Traceback (most recent call last):
File "C:\sabnzbd\cherrypy\_cprequest.py", line 670, in respond
response.body = self.handler()
File "C:\sabnzbd\cherrypy\lib\encoding.py", line 220, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "C:\sabnzbd\cherrypy\_cpdispatch.py", line 60, in __call__
return self.callable(*self.args, **self.kwargs)
File "C:\sabnzbd\sabnzbd\interface.py", line 616, in index
filter=FILTER, searchList=[info], compilerSettings=DIRECTIVES)
File "C:\Python27\lib\site-packages\Cheetah\Template.py", line 1259, in __init__
self._compile(source, file, compilerSettings=compilerSettings)
File "C:\Python27\lib\site-packages\Cheetah\Template.py", line 1553, in _compile
keepRefToGeneratedCode=True)
File "C:\Python27\lib\site-packages\Cheetah\Template.py", line 637, in compile
moduleName = convertTmplPathToModuleName(file)
File "C:\Python27\lib\site-packages\Cheetah\convertTmplPathToModuleName.py", line 20, in convertTmplPathToModuleName
return splitdrive(tmplPath)[1].translate(_pathNameTransChars)
TypeError: character mapping must return integer, None or unicode
Powered by CherryPy 6.0.2
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Weird error when when accessing via GUI

Post by safihre »

This error I've never seen before :/

Maybe it's better if you just use the stable or beta release executable from our downloads-page?
https://sabnzbd.org/downloads
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

Re: Weird error when when accessing via GUI

Post by seanvree81 »

Oof.
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

Re: Weird error when when accessing via GUI

Post by seanvree81 »

Okay, so I reinstalled using Windows Standalone. And I got it running, and can get to the main page in the GUI, however, when I click on config, I get this:

Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 670, in respond
File "cherrypy\lib\encoding.pyo", line 220, in __call__
File "cherrypy\_cpdispatch.pyo", line 60, in __call__
File "sabnzbd\interface.pyo", line 1281, in index
File "_Program_Files__x86__SABNZBd_interfaces_Config_templates_config_tmpl.py", line 258, in respond
NotFound: cannot find 'have_unzip'
Powered by CherryPy 6.0.2
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Weird error when when accessing via GUI

Post by shypike »

How (and from what source) did you install SABnzbd?
Which version?
Crimjob
Newbie
Newbie
Posts: 7
Joined: November 12th, 2011, 11:16 am

Re: Weird error when when accessing via GUI

Post by Crimjob »

This is the only thread I can find anywhere that has a similar issue to me. Mine is occurring on Linux though (Gentoo specifically) with the 1.1.0 ebuild - 1.0.3 was working fine.

I tried a complete uninstall and reinstall, even nuked anything related by hand, tried my old config and a fresh config, python 2.7 and 3.4. Not sure what else to try.

Code: Select all

500 Internal Server Error

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

Traceback (most recent call last):
  File "/usr/share/sabnzbd/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/share/sabnzbd/cherrypy/lib/encoding.py", line 217, in __call__
  File "/usr/share/sabnzbd/cherrypy/_cpdispatch.py", line 61, in __call__
    except TypeError:
  File "/usr/share/sabnzbd/sabnzbd/interface.py", line 349, in index
    cfg.notified_new_skin.set(1)
  File "cheetah__usr_share_sabnzbd_interfaces_Glitter_templates_main_tmpl_1474340715_62_42516.py", line 477, in respond
  File "/usr/lib64/python2.7/site-packages/Cheetah/Template.py", line 1615, in _handleCheetahInclude
    self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
  File "cheetah__usr_share_sabnzbd_interfaces_Glitter_templates_include_menu_tmpl_1474340715_68_28160.py", line 230, in respond
NotFound: cannot find 'have_logout'

Powered by CherryPy 3.8.0
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Weird error when when accessing via GUI

Post by safihre »

The file interface.py is from an older version of Sabnzbd, somehow maybe a cached version is used? Or they didn't update it correctly in the build? But then other users would report problems.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply