Modify ↓
Opened 19 years ago
Closed 19 years ago
#2963 closed defect (fixed)
UnicodeEncodeError
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | high | Milestone: | 0.10 |
Component: | version control/changeset view | Version: | devel |
Severity: | normal | Keywords: | unicode UnicodeEncodeError |
Cc: | m@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I'm using r3085.
In Changeset view. It seems non ascii log message causes it.
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 299, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 175, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 200, in process_request req.check_modified(chgset.date, [ File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 268, in check_modified m.update(str(elt)) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-6: ordinal not in range(128)
Attachments (0)
Change History (5)
comment:1 by , 19 years ago
Milestone: | 0.10 |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
comment:2 by , 19 years ago
Milestone: | → 0.10 |
---|---|
Resolution: | duplicate |
Status: | closed → reopened |
Well, in the same category as #2905 probably, but not really a duplicate.
Here, it's the m.update(str(elt))
in check_modified
in
trunk/trac/web/api.py that we have to fix…
comment:3 by , 19 years ago
Cc: | added |
---|
comment:4 by , 19 years ago
Owner: | changed from | to
---|---|
Priority: | normal → high |
Status: | reopened → new |
I think I'm about to fix most of the unicode issues related to SVN… Stay tuned.
comment:5 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This particular issue should be fixed by r3091.
Note:
See TracTickets
for help on using tickets.
Duplicate of #2905.