Hi list,
I can't get the dicussion plugin to work with my trac install (0.12)
it seems to have problems with the latest genshi, which was installed
by the latest pygments release.
I get the following error:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/Trac-0.12dev_r7181-py2.5.egg/
trac/web/api.py", line 344, in send_error
data, 'text/html')
File "/usr/lib/python2.5/site-packages/Trac-0.12dev_r7181-py2.5.egg/
trac/web/chrome.py", line 741, in render_template
stream.render(method, doctype=doctype, out=buffer)
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 61, in
encode
for chunk in 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 748, in
__call__
for kind, data, pos in stream:
File "build/bdist.linux-i686/egg/genshi/output.py", line 587, in
__call__
for kind, data, pos in stream:
File "build/bdist.linux-i686/egg/genshi/output.py", line 702, in
__call__
text = mjoin(textbuf, escape_quotes=False)
File "build/bdist.linux-i686/egg/genshi/core.py", line 462, in join
for item in seq]))
File "build/bdist.linux-i686/egg/genshi/core.py", line 488, in escape
text = unicode(text).replace('&', '&') \
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
904: ordinal not in range(128)
I am using mysql as database on a debian linux with python2.5. trac is
run via fcgid.
The discussion plugin used to work, before I messed up everything by
updating the debian system...
:-(
is that a genshi thingie?
my guess is that it is related to pygments having updated genshi.
wrong?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---