Page 3 of 3

Re: WebGUI not reachable

Posted: August 25th, 2009, 9:19 am
by jubei
I am having the exact same issues, I posted here:

http://forums.sabnzbd.org/http://forums ... 096#p17096

Re: WebGUI not reachable

Posted: August 25th, 2009, 10:14 am
by jubei
Okay SUCCESS!!!  (Sort of!)

I followed the HOSTS editing from last page and added my ip address to my hosts file

Code: Select all

freenas2   	192.168.0.134   	   	 
freenas2.local  	192.168.0.134  	 
I can launch it and get into the web gui!!!

The problem is, I can't save any settings.  I can't even shutdown!

I get the error message:

Code: Select all

error: Session Key Required
Very, very odd but at least it's running!!!!  Just to add to this, in the web gui, the API key is missing.  However, it IS in the sabnzbd.ini.  Any clues as to why this is happening?!


EDIT

okay after reading another post, seems it's a py-cheetah issue:
shypike wrote:
habrys wrote: I used sabnzbd in daemon mode so far - on bubba NAS I mean. That's the whole point: to be able to run it all the time without the big PC on. Saves

Code: Select all

 *** WARNING *** 
 The following keys are members of the Template class and will result in NameMapper collisions! 
  > session 

 Please change the key's name or use the compiler setting "prioritizeSearchListOverSelf=True" to prevent the NameMapper from using 
 the Template member in place of your searchList variable 
 *************** 
Could it be related to the crashes?
No this will not cause crashes, it will affect the Web-UI session-key security fix that is in 0.4.11.
It means that your Cheetah is too recent. The latest Cheetah (after 2 years of silence)
contains some incompatible changes.
If you grab the latest 0.4.x interface.py from the SVN archive, this problem will be fixed.
(Or go back to Cheetah 2.01)
Okay I'm getting the same exact error on my FreeNAS (FreeBSD 7.2) box....no settings will save because of it, invalid session key.  Any clue as to where I could get py26-cheetah-2.0.1?  I could install that via pkg_add before I install sab...  Or how could I replace interface.py on my FreeNAS?  Thanks!

Re: WebGUI not reachable

Posted: August 25th, 2009, 1:49 pm
by shypike
SABnzbd 0.4.11 is not compatible with Python 2.6 and/or Cheetah releases later than 2.01.
This will be addressed in release 0.5.0.