Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2547 closed defect (fixed)

umlauts in wiki page name seem to cause trouble

Reported by: leho@… Owned by: cboos
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 6 years ago by osimons

  • Resolution set to fixed
  • Status changed from new to closed

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

Should close #2547

comment:2 Changed 6 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 6 years ago by LK <leho@…>

  • Cc leho@… added

looks good now, thanks!

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from cboos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.