Opened 18 years ago
Last modified 15 years ago
#3908 closed defect
Unicode errors — at Version 1
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | high | Milestone: | 0.11.1 |
Component: | general | Version: | 0.10 |
Severity: | normal | Keywords: | unicode |
Cc: | darwinscusp@…, matt_tricks@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
I just installed Trac 0.10 on linux (built from source) running with mod_python and python2.4. The 'TracTickets' link throws the following traceback:
Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 356, in dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 224, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 134, in process_request self._render_view(req, db, page) File "/usr/local/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 446, in _render_view req.hdf['wiki'] = { File "/usr/local/lib/python2.4/site-packages/trac/wiki/formatter.py", line 999, in wiki_to_html Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines) File "/usr/local/lib/python2.4/site-packages/trac/wiki/formatter.py", line 822, in format result = re.sub(self.wiki.rules, self.replace, line) File "/usr/local/lib/python2.4/sre.py", line 142, in sub return _compile(pattern, 0).sub(repl, string, count) UnicodeDecodeError: 'ascii' codec can't decode byte 0x93 in position 4: ordinal not in range(128)
TracChangeset throws a similar traceback:
Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 356, in dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 224, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 134, in process_request self._render_view(req, db, page) File "/usr/local/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 446, in _render_view req.hdf['wiki'] = { File "/usr/local/lib/python2.4/site-packages/trac/wiki/formatter.py", line 1000, in wiki_to_html return Markup(out.getvalue()) File "/usr/local/lib/python2.4/StringIO.py", line 271, in getvalue self.buf += ''.join(self.buflist) UnicodeDecodeError: 'ascii' codec can't decode byte 0x93 in position 50: ordinal not in range(128)
Change History (1)
comment:1 by , 18 years ago
Component: | changeset view → general |
---|---|
Description: | modified (diff) |
Keywords: | unicode added |
Owner: | changed from | to
Priority: | normal → high |
Note:
See TracTickets
for help on using tickets.
Do you mean, you can get into Trac (e.g. see the WikiStart page) and only when you click on such links (
TracTickets
orTracChangeset
) you get these errors, or do you get them right away?Also, what's the path to the TracEnvironment?