Ticket #2547 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

umlauts in wiki page name seem to cause trouble

Reported by: leho@dataring.ee Assigned to: cboos
Priority: normal Component: AddCommentMacro
Severity: major Keywords:
Cc: leho@dataring.ee Trac Release: 0.10

Description

Hi

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

Error: Failed to load processor AddComment
No macro or processor named 'AddComment' found

.

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/formatter.py", line 441, in _macro_formatter

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

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

text = self.processor(req, text)

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

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

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

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

File "/usr/lib/python2.4/site-packages/trac/web/href.py", 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

Change History

02/10/08 02:54:25 changed by osimons

  • status changed from new to closed.
  • resolution set to fixed.

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

Should close #2547

02/10/08 02:56:28 changed by osimons

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

02/10/08 08:28:56 changed by LK <leho@dataring.ee>

  • cc set to leho@dataring.ee.

looks good now, thanks!


Add/Change #2547 (umlauts in wiki page name seem to cause trouble)




Change Properties
Action