Report page crashes with UTF8 in function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Nav 4.2.3
While making reports via /report, if you click on an item in the function column which contains special characters (æøå) you get
DataError at /report/netbox
invalid byte sequence for encoding "UTF8": 0xf8
Request Method: GET
Request URL: https:/
Django Version: 1.4.20
Exception Type: DataError
Exception Value:
invalid byte sequence for encoding "UTF8": 0xf8
Exception Location: /usr/local/
Python Executable:
Python Version: 2.7.9
Python Path:
['/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
I am unable to reproduce this, Ingeborg. I have psycopg2 2.4.5 and PostgreSQL 9.1.14.
Only thing that might help is setting DJANGO_DEBUG=True in `nav.conf`, provoke the error and dump a proper traceback from the web page, with the local vars of at least /usr/local/ lib/python2. 7/nav/report/ dbresult. py line 49.