Page 1 of 1

Secondary web interface not working

Posted: December 8th, 2009, 7:59 pm
by ianiv
No matter which secondary interface I choose, trying to load it results in:

Code: Select all

Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 618, in respond
    cherrypy.response.body = self.handler()
  File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 377, in index
    filter=FILTER, searchList=[info], compilerSettings=DIRECTIVES)
  File "/var/lib/python-support/python2.6/Cheetah/Template.py", line 1191, in __init__
    self._compile(source, file, compilerSettings=compilerSettings)
  File "/var/lib/python-support/python2.6/Cheetah/Template.py", line 1472, in _compile
    self._fileMtime = os.path.getmtime(file)
  File "/usr/lib/python2.6/genericpath.py", line 54, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: '/usr/bin/main.tmpl'
Running on Ubuntu 9.04.

Re: Secondary web interface not working

Posted: December 8th, 2009, 11:58 pm
by ianiv
Yes, I've tried setting different secondary interfaces. I've saved the changes and restarted sabnzbd. The URL I try, which is the same one that used to work with 0.4.11: http://192.168.1.119:8080/sabnzbd/m/

Re: Secondary web interface not working

Posted: December 9th, 2009, 3:46 am
by shypike
Have you installed SABnzbd using a repository package?
If so, contact the package creator.

The base SABnzbd software does work with the secondary interface.
The error reports indicate a path problem.

Re: Secondary web interface not working

Posted: December 9th, 2009, 1:01 pm
by ianiv
Looks like upgrading the package messed things up. After wiping out all traces of SABnzbd and reinstalling everything works as it should.

Re: Secondary web interface not working

Posted: December 12th, 2009, 1:46 pm
by sander
shypike wrote: Have you installed SABnzbd using a repository package?
If so, contact the package creator.

The base SABnzbd software does work with the secondary interface.
Maybe I misunderstand, but I use Beta 3 from sourceforge, and I can use the secondary interface via http://localhost:8080/sabnzbd/m/ (after enabling it in http://localhost:8080/sabnzbd/config/general/ )

Re: Secondary web interface not working

Posted: December 12th, 2009, 2:23 pm
by ianiv
Like I said in my last post, it works fine. It was a package installation/upgrade issue.