I'm having an issue with Noah's Trac plug-in MasterTickets 2.1.3. I
installed it to my Trac the way I sais in
http://trac-hacks.org/wiki/MasterTicketsPlugin and everything seemed to
be all right but the I realized that I was getting an error when I tried
to view any ticket's details... the error is:

 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
 web/api.py", line 339, in send_error
     'text/html')
   File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/
 web/chrome.py", line 715, in render_template
     return stream.render(method, doctype=doctype)
   File "build/bdist.linux-i686/egg/genshi/core.py", line 179, in 
 render
     return encode(generator, method=method, encoding=encoding,
 out=out)
   File "build/bdist.linux-i686/egg/genshi/output.py", line 60, in 
 encode
     return _encode(u''.join(list(iterator)))
   File "build/bdist.linux-i686/egg/genshi/output.py", line 311, in 
 __call__
     for kind, data, pos in stream:
   File "build/bdist.linux-i686/egg/genshi/output.py", line 753, in 
 __call__
     for kind, data, pos in stream:
   File "build/bdist.linux-i686/egg/genshi/output.py", line 592, in 
 __call__
     for kind, data, pos in stream:
   File "build/bdist.linux-i686/egg/genshi/output.py", line 707, in 
 __call__
     text = mjoin(textbuf, escape_quotes=False)
   File "build/bdist.linux-i686/egg/genshi/core.py", line 465, in join
     for item in seq]))
   File "build/bdist.linux-i686/egg/genshi/core.py", line 494, in 
 escape
     text = unicode(text).replace('&', '&') \
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
 1315: ordinal not in range(128)

I started to investigate about it and I seems to be the plug-in's method
to  encode-decode strings that is using something people in Trac project
calls "system default encoding" which is supposed to be "ascii" instead
of the one used by Trac that is set within Trac.ini. Now I'm sure that
is the plug-in the one making the error because I uninstalled it and
everything went to normal again. I need to use the plug-in because I
need it's functionality in my Trac so can any of you, please, tell me
what and where to change to make it work correctly?

Thanks in advance

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to