Vidar.Stokkenes@hn-ikt.no said:
I might also add (typically for the scandinavian NAV users) that the new device info does not support non-english characters, if our case æ/ø/å in any fields. In this case, I had to remove these characters from the description of our Organization.
We observe the same thing (Børge is not very happy...):
UnicodeDecodeError at /ipdevinfo/ 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128) Request Method: GET Request URL: https://nav.uit.no/ipdevinfo/ Exception Type: UnicodeDecodeError Exception Value: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128) Exception Location: /usr/local/lib/python2.4/site-packages/Cheetah-2.0.1-py2.4-freebsd-6.3-RELEASE- p1-i386.egg/Cheetah/DummyTransaction.py in getvalue, line 32 Python Executable: /usr/local/bin/python Python Version: 2.4.4 Python Path: ['/usr/local/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg', '/usr/local/lib/python2.4/site-packages/Cheetah-2.0.1-py2.4-freebsd-6.3-RELEASE -p1-i386.egg', '/usr/local/nav/lib/python', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/usr/local/lib/python2.4/plat-freebsd6', '/usr/local/lib/python2.4/lib-tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/local/lib/python2.4/site-packages', '/usr/local/lib/python2.4/site-packages', '/usr/local/nav/apache/webroot/.', '/usr/local/nav/lib/python', '/usr/local/nav/apache/webroot/ipdevinfo', '/usr/local/nav/lib/python', '/usr/local/nav/apache/webroot/report', '/usr/local/nav/lib/python', '/usr/local/nav/apache/webroot/browse', '/usr/local/nav/lib/python', '/usr/local/nav/apache/webroot/editdb', '/usr/local/nav/lib/python', '/usr/local/nav/apache/webroot/machinetracker', '/usr/local/nav/lib/python', '/usr/local/nav/apache/webroot/toolbox', '/usr/local/nav/lib/python'] Server time: Mon, 16 Jun 2008 06:49:40 -0500 Unicode error hint
The string that could not be encoded/decoded was: B??rge
--Ingeborg