ASCII Encode Character in WikiTree
Description
If you use a Username with Unicode Characters like ö,ä,ü and Login you get an error like:
ascii' codec can't encode character u'\xe4' in position 68: ordinal not in range(128)
Just viewing the Page without login works!
Exampel and Error Messages
Wiki under http://lotek.heavy.ch
ToDo
- Could your verify this error and it is explorer-theme related?
Contact
Solution
Thank you very much, Marcel, for this report. Here's a quick patch to resolve this:
In the explorer.py please change line 368 from:
1 cache = caching.CacheEntry(request, 'wiki_tree', wikiutil.url_quote(self.root)+"@"+self.user_name)
to:
1 cache = caching.CacheEntry(request, 'wiki_tree', "%s@%s"% (wikiutil.url_quote(self.root), request.user.id))
Of course this fix will be included in the next release!
-- WolfgangFischer 2007-05-30 13:42:55
Was fixed in version 1.0beta2. -- WolfgangFischer 2007-07-25 06:19:51