bzr version-info crashes with UnicodeEncodeError when comment contains non-ascii string.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
C:\home\
Created a standalone tree (format: 2a)
C:\home\
C:\home\
C:\home\
adding foo
C:\home\
Committing to: C:/home/
added foo
Committed revision 1.
C:\home\
revision-id: <email address hidden>
date: 2010-10-13 14:11:20 +0900
build-date: 2010-10-13 14:11:49 +0900
revno: 1
branch-nick: foo
clean: True
revisions: id: <email address hidden>
bzr: ERROR: exceptions.
)
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\rio.pyo", line 49, in write_stanza
File "bzrlib\rio.pyo", line 215, in write
File "bzrlib\
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 10: ordinal not in range(128)
bzr 2.2.1 on python 2.6.4 (Windows-
arguments: ['bzr', 'version-info', '--all']
encoding: 'cp932', fsenc: 'mbcs', lang: 'ja'
plugins:
bzrtools C:\Program Files\Bazaar\
colo C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
fastimport C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
loom C:\Program Files\Bazaar\
netrc_
news_merge C:\Program Files\Bazaar\
pipeline C:\Program Files\Bazaar\
qbzr C:\Program Files\Bazaar\
rewrite C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
This looks like a dupe of bug 518609, fixed in 2.3b2. If not, please reopen. Thanks, Inada!