Edgewall Software

Changes between Initial Version and Version 1 of Ticket #10126


Ignore:
Timestamp:
Apr 11, 2011, 9:25:23 AM (13 years ago)
Author:
Remy Blank
Comment:

Does the name of one of your projects have any non-ASCII characters? Or possibly the content of the [project] name entry in trac.ini?

Can you please try again with all plugins disabled, just to make sure there's no influence?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10126 – Description

    initial v1  
    44
    55But when I visit my Trac site, I get this error in my web page:
    6 
     6{{{
    77Traceback (most recent call last):
    88  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/api.py", line 440, in send_error
     
    1111    location=location))
    1212TracError: Genshi UnicodeEncodeError error while rendering template '/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/templates/layout.html', line 12, char -1
    13 
     13}}}
    1414
    1515
     
    2020
    2121A possibly related problem:  When I visit my "/projects" URL, I get an internal server error and this Unicode error is in my Apache error.log:
    22 
     22{{{
    2323[Sun Apr 10 23:58:58 2011] [error] [client 192.168.2.10] mod_python (pid=4934, interpreter='main_interpreter', phase='PythonHandler', handler='trac.web.modpython_frontend'): Application error
    2424[Sun Apr 10 23:58:58 2011] [error] [client 192.168.2.10] ServerName: 'derek.example.com'
     
    4040[Sun Apr 10 23:58:58 2011] [error] [client 192.168.2.10]   File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/api.py", line 534, in write\n    raise ValueError("Can't send unicode content")
    4141[Sun Apr 10 23:58:58 2011] [error] [client 192.168.2.10] ValueError: Can't send unicode content
    42 
     42}}}