I am getting this error in some of the links in NAV (like when i click on preferences and about nav. How can i fix this ?
A
Mod_python error: "PythonHandler preferences"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/usr/local/nav/apache/webroot/preferences/preferences.py", line 42, in handler req.write(page.respond())
File "/usr/local/nav/lib/python/nav/web/templates/MainTemplate.py", line 692, in respond return _dummyTrans and trans.response().getvalue() or ""
File "/usr/lib/python2.4/site-packages/Cheetah/DummyTransaction.py", line 42, in getvalue raise DummyResponseFailure('''Looks like you're trying to mix encoded strings with Unicode strings
DummyResponseFailure: Looks like you're trying to mix encoded strings with Unicode strings (most likely utf-8 encoded ones)
On Tue, May 11, 2010 at 12:00:38PM +0200, anilth@hi.is wrote:
I am getting this error in some of the links in NAV (like when i click on preferences and about nav. How can i fix this ?
First, I'd like to know:
* What version of NAV are you running? * Which OS (and which version of it) are you running? * Which mod_python version is installed? * Which cheetah version is installed?
DummyResponseFailure: Looks like you're trying to mix encoded strings with Unicode strings (most likely utf-8 encoded ones)
I'm unable to reproduce this on installations I have access to.