annotate - ascii codec can't decode byte
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-xmloutput |
Fix Released
|
High
|
Guillermo Gonzalez |
Bug Description
It seems that 'annotate' has problems with utf-8 characters. Files with no special characters works fine, but when a file includes special charaters 'annotate' fails:
[od@padden test]$ bzr annotate --xml TODO\ Årupvænget.txt
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
wt_
File "/usr/lib/
to_
File "/usr/lib/
data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 86: ordinal not in range(128)
bzr 1.5 on python 2.5.1 (linux2)
arguments: ['/usr/bin/bzr', 'annotate', '--xml', 'TODO \xc3\x85rupv\
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/
gtk /usr/lib/
launchpad /usr/lib/
xmloutput /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
<?xml version=
Related branches
Changed in bzr-xmloutput: | |
assignee: | nobody → guillo.gonzo |
status: | Confirmed → In Progress |
status: | In Progress → Fix Committed |
Changed in bzr-xmloutput: | |
status: | Fix Committed → Fix Released |
Thanks for reporting this.
I'll try to fix it as soon as possible