Roundup Tracker - Issues

Issue 2414044

classification
roundup-demo fails with UnicodeDecodeError
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed out of date
:
: richard : richard, rouilj
Priority: normal :

Created on 2008-12-10 15:33 by anonymous, last changed 2016-06-26 23:05 by rouilj.

Messages
msg2598 Author: [hidden] (anonymous) Date: 2008-12-10 15:33
I'm running roundup 1.4.4 on Debian Sid.


roundup-demo starts OK, but when I load the web page I get this stacktrace of errors in the terminal:

gqb@gqb-05:~$ roundup-demo 
Server running - connect to:
    http://localhost:8917/demo/
1. Log in as "demo"/"demo" or "admin"/"admin".
2. Hit Control-C to stop the server.
3. Re-start the server by running "roundup-demo" again.
4. Re-initialise the server by running "roundup-demo nuke".

Demo tracker is set up to be accessed by localhost browser.  If you run demo on a server host, please stop the demo, open file "demo/config.ini" with your editor, change the host name in the "web" option in section "[tracker]", save the file, then re-run the demo program.


127.0.0.1 - - [22/Aug/2008 09:47:41] "GET /demo/ HTTP/1.1" 400 -
EXCEPTION AT Fri Aug 22 09:47:41 2008
Traceback (most recent call last):
  File 
"/usr/lib/python2.5/site-packages/roundup/scripts/roundup_server.py", 
line 188, in run_cgi
    self.inner_run_cgi()
  File 
"/usr/lib/python2.5/site-packages/roundup/scripts/roundup_server.py", 
line 362, in inner_run_cgi
    tracker.Client(tracker, self, env).main()
  File "/usr/lib/python2.5/site-packages/roundup/cgi/client.py", line 
252, in main
    self.inner_main()
  File "/usr/lib/python2.5/site-packages/roundup/cgi/client.py", line 
381, in inner_main
    self.write_html(cgitb.html(i18n=self.translator))
  File "/usr/lib/python2.5/site-packages/roundup/cgi/cgitb.py", line 
120, in html
    head = head + (_('<p>A problem occurred while running a Python 
script. '
  File 
"/usr/lib/python2.5/site-packages/roundup/cgi/TranslationService.py", 
line 40, in gettext
    return self.ugettext(msgid).encode(self.OUTPUT_ENCODING)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 15: 
ordinal not in range(128)


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496041 the original Debian Bug is here.

Thank you,
Stefano
msg5640 Author: [hidden] (rouilj) Date: 2016-06-26 23:05
The orignal debian bug report was closed. Summary: something was fixed
in the 1.4 series. Closing this one as well. Possibly related to the
italian  translation strings
History
Date User Action Args
2016-06-26 23:05:28rouiljsetstatus: open -> closed
resolution: out of date
messages: + msg5640
nosy: + rouilj
2008-12-10 15:33:41anonymouscreate