Failure to import when decoding changelog authors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Distributed Development |
Fix Released
|
Medium
|
Unassigned |
Bug Description
There are no bazaar source branches for the “evolution” package in Ubuntu on Launchpad. See:
https:/
http://
Failed at 2010-01-12 21:57:53.778573
Traceback (most recent call last):
File "./import_
no_
File "./import_
import_
File "./import_
use_
File "/srv/package-
file_
File "/srv/package-
timestamp=
File "/srv/package-
get_
File "/srv/package-
authors += find_extra_
File "/srv/package-
match = extra_author_
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 22-27: unsupported Unicode code range
Effects:
evolution
gnome-
totem (slightly different, see comment #1 below).
gnome-panel
Related branches
- Bzr-builddeb-hackers: Pending requested
-
Diff: 195 lines (+90/-8)3 files modifiedimport_dsc.py (+2/-1)
tests/test_util.py (+63/-0)
util.py (+25/-7)
description: | updated |
summary: |
- No source branches for “evolution” package in Ubuntu + Failure to import when decoding changelog authors |
description: | updated |
description: | updated |
Changed in udd: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
description: | updated |
description: | updated |
Changed in udd: | |
status: | Confirmed → Fix Released |
A related failure: package. py", line 983, in <module> debian= options. extra_debian) ) package. py", line 941, in main package( temp_dir, importp, possible_ transports= possible_ transports) package. py", line 563, in import_package time_from_ changelog= True) import. canonical. com/new/ scripts/ plugins/ builddeb/ import_ dsc.py" , line 1541, in import_package timestamp, author=author) import. canonical. com/new/ scripts/ plugins/ builddeb/ import_ dsc.py" , line 1428, in _do_import_package timestamp) import. canonical. com/new/ scripts/ plugins/ builddeb/ import_ dsc.py" , line 1264, in import_debian 'authors' ] = "\n".join( authors) .decode( "utf-8" ) python2. 5/encodings/ utf_8.py" , line 16, in decode utf_8_decode( input, errors, True)
Traceback (most recent call last):
File "./import_
extra_
File "./import_
import_
File "./import_
use_
File "/srv/package-
timestamp=
File "/srv/package-
timestamp=
File "/srv/package-
revprops[
File "/usr/lib/
return codecs.
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 12: ordinal not in range(128)
If Authors is made always unicode and the handling overhauled this will go away.