Mobile interface not working as alternative
Posted: February 12th, 2010, 5:20 am
Version: 0.5 RC6
OS: Windows Server 2008
Install-type: Windows Installer
Skin (if applicable): Plush, Mobile-dark as alternative
Firewall Software: Windows
Are you using IPV6? no
Is the issue reproducible? yes
Are you using HTTPS? yes
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 618, in respond
File "cherrypy\_cpdispatch.pyo", line 25, in __call__
File "sabnzbd\interface.pyo", line 392, in index
File "Cheetah\Template.pyo", line 1192, in __init__
File "Cheetah\Template.pyo", line 1473, in _compile
File "ntpath.pyo", line 232, in getmtime
WindowsError: [Error 2] The system cannot find the file specified: 'C:\\Program Files\\SABnzbd\\main.tmpl'
Line 392 in interface.py:
template = Template(file=os.path.join(self.__web_dir, 'main.tmpl'),
filter=FILTER, searchList=[info], compilerSettings=DIRECTIVES)
I guess self.__web_dir is incorrect for alternative interfaces (happens for all interfaces).
from my .ini config file:
web_dir = Plush
web_dir2 = Mobile
OS: Windows Server 2008
Install-type: Windows Installer
Skin (if applicable): Plush, Mobile-dark as alternative
Firewall Software: Windows
Are you using IPV6? no
Is the issue reproducible? yes
Are you using HTTPS? yes
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 618, in respond
File "cherrypy\_cpdispatch.pyo", line 25, in __call__
File "sabnzbd\interface.pyo", line 392, in index
File "Cheetah\Template.pyo", line 1192, in __init__
File "Cheetah\Template.pyo", line 1473, in _compile
File "ntpath.pyo", line 232, in getmtime
WindowsError: [Error 2] The system cannot find the file specified: 'C:\\Program Files\\SABnzbd\\main.tmpl'
Line 392 in interface.py:
template = Template(file=os.path.join(self.__web_dir, 'main.tmpl'),
filter=FILTER, searchList=[info], compilerSettings=DIRECTIVES)
I guess self.__web_dir is incorrect for alternative interfaces (happens for all interfaces).
from my .ini config file:
web_dir = Plush
web_dir2 = Mobile