Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2547 closed defect (fixed)

umlauts in wiki page name seem to cause trouble

Reported by: leho@… Owned by: Christian Boos
Priority: normal Component: AddCommentMacro
Severity: major Keywords:
Cc: leho@… Trac Release: 0.10



I have a wiki page named MagistritööTekst, at the end I add AddComment?.

On the page I get:

Error: Macro AddComment(None) failed asciiMagistritööTekst910ordinal not in range(128)

In the log:

2008-02-10 03:05:11,036 Trac[formatter] ERROR: Macro AddComment(None) failed Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/wiki/", line 441, in _macro_formatter

return macro.process(self.req, args, True)

File "/usr/lib/python2.4/site-packages/trac/wiki/", line 114, in process

text = self.processor(req, text)

File "/usr/lib/python2.4/site-packages/trac/wiki/", line 102, in _macro_processor

return self.macro_provider.render_macro(req,, text)

File "build/bdist.linux-i686/egg/addcomment/", line 20, in render_macro File "build/bdist.linux-i686/egg/addcomment/", line 101, in execute File "/usr/lib/python2.4/site-packages/trac/web/", line 158, in <lambda>

self._derived[name] = lambda *args, kw: self(name, *args, kw)

File "/usr/lib/python2.4/site-packages/trac/web/", line 142, in call

path = '/'.join([unicode_quote(unicode(arg).strip('/')) for arg in args

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)

On Wiki start page everything is all right. My guess it's the umlauts. Confirmation needed.

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by osimons

Resolution: fixed
Status: newclosed

(In [3204]) AddCommentMacro: Unicode page name fix.

Should close #2547

comment:2 Changed 10 years ago by osimons

Install latest version from 0.10 directory. It works for me, but please reopen if the problem persists.

comment:3 Changed 10 years ago by LK <leho@…>

Cc: leho@… added; anonymous removed

looks good now, thanks!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christian Boos.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.