Page 2 of 2
Re: Random crashes during saving file to cache folder
Posted: August 25th, 2009, 2:08 pm
by jubei
damn I thought that new interface.py would work.....

everything works except for saving the interface
Re: Random crashes during saving file to cache folder
Posted: August 25th, 2009, 2:12 pm
by shypike
New "interface.py"? Excuse me? You're not mixing modules from different releases are you?
Re: Random crashes during saving file to cache folder
Posted: August 25th, 2009, 2:21 pm
by jubei
In reply #9, you said that if you use a interface.py from a newer release, it would work with the new cheetah. In fact, the new interface.py that I linked previously states that "Upgraded for Cheetah 2.2 compatibility" in its notes.
I am getting the error:
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
***************
You told habrys that he could ...
"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)"
That won't work? That's really the only problem with python 2.6 in my neck of the woods....I can't save configs in the web interface. THANK YOU!
Re: Random crashes during saving file to cache folder
Posted: August 25th, 2009, 2:54 pm
by shypike
You got the interface.py from the 0.4.x branch? That's OK.
The real trouble is that some other modules (CherryPy2, configobj) are not compatible with Python 2.6.
I'm not sure which problems arise, since we want to put as little as possible effort in 0.4.x.
The 0.5.0 release has had almost all of it's components updated, although we haven't done full testing on Python 2.6 yet.
For the Windows and OSX binaries we will stay on 2.5.
Python 2.6 is more or less forced on us by Linux distributions.
We have little sympathy for Linux as it is a support nightmare, due to all the differences between the distros.