Modify ↓
Opened 19 years ago
Closed 19 years ago
#4486 closed defect (duplicate)
UnicodeDecodeError: 'utf8' codec can't decode bytes on dumpfile from cvs2svn loaded with svnadmin
| Reported by: | anonymous | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.3 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Hello:
I converted a CVS repository using cvs2svn:
cvs2svn —dumpfile cvs_repos_dumpfile /path/to/repos
then loaded in the reposirory:
svnadmin load /pah/to/repos < cvs_repos_dump_file
and when I go see the repository in trac (Browswer view) I get:
-------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 238, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/web_ui/browser.py", line 131, in process_request
self._render_directory(req, repos, node, rev)
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/web_ui/browser.py", line 156, in _render_directory
changes = get_changes(self.env, repos, [i['rev'] for i in info])
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/web_ui/util.py", line 37, in get_changes
changeset = repos.get_changeset(rev)
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 44, in get_changeset
self.authz)
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 161, in __init__
row = cursor.fetchone()
File "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 3178, in fetchone
return self.__fetchOneRow()
File "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 2814, in __fetchOneRow
_r.getvalue(self._idx_, _i)))
File "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 963, in typecast
return unicode(value, *self.__conn.client_encoding)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 25-27: invalid data
------------------------------------------------------------------
Any idea? Thanks Yves
Attachments (0)
Change History (2)
follow-up: 2 comment:1 by , 19 years ago
comment:2 by , 19 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
Replying to eli.carter@commprove.com:
I believe this is a duplicate of #4321.
Yes, it is. So, it will be fixed in 0.10.4.
Note:
See TracTickets
for help on using tickets.



I believe this is a duplicate of #4321.