Hello,

I just started working with Trac in a virtualenv through WSGI, and I got a 
"decoding Unicode is not supported" when I tried to access the homepage 
with the following stack trace:

webob/request.py:887 in call_application
    app_iter = application(self.environ, start_response)
trac/web/main.py:465 in dispatch_request
    return _dispatch_request(req, env, env_error)
trac/web/main.py:504 in _dispatch_request
    send_internal_error(env, req, sys.exc_info())
trac/web/main.py:620 in send_internal_error
    description_en = get_description(lambda s, **kw: safefmt(s, kw))
trac/web/main.py:615 in get_description
    method=req.method, path_info=req.path_info,
trac/web/api.py:338 in path_info
    return unicode(path_info, 'utf-8')

I just started with Trac so I don't really know what I am doing but I 
replace unicode by to_unicode and everything works fine now.
Can someone tell me if it is a bug in Trac or if it is a bug outside Trac ?
If it is in Trac I can trry to open a ticket for this bug.

Thanks

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to