[submittodebian] crashed with UnicodeDecodeError in check_file(): 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Medium
|
Stefano Rivera |
Bug Description
the issue is the non-ascii characters in this line of code:
File "/usr/bin/
print "Couldn't find «%s».\n" % fname
to reproduce:
apt-get source desktopnova
cd desktopnova-0.8
submittodebian
making the string unicode or simply removing the «» solve the issue
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: ubuntu-dev-tools 0.127
ProcVersionSign
Uname: Linux 3.0.0-9-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon Aug 29 15:11:17 2011
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110805)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
PythonArgs: ['/usr/
SourcePackage: ubuntu-dev-tools
Title: submittodebian crashed with UnicodeDecodeError in check_file(): 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare sbuild
tags: | removed: need-duplicate-check |
description: | updated |
summary: |
- submittodebian crashed with UnicodeDecodeError in check_file(): 'ascii' - codec can't decode byte 0xc2 in position 2: ordinal not in range(128) + [submittodebian] crashed with UnicodeDecodeError in check_file(): + 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in + range(128) |
Changed in ubuntu-dev-tools (Ubuntu): | |
importance: | Undecided → Medium |
Changed in ubuntu-dev-tools (Ubuntu): | |
assignee: | nobody → Stefano Rivera (stefanor) |
status: | New → Fix Committed |
This bug was fixed in the package ubuntu-dev-tools - 0.129
---------------
ubuntu-dev-tools (0.129) unstable; urgency=low
[ Colin Watson ]
* syncpackage: Convert to new LP API, with --no-lp available for the old
style of operation.
* syncpackage: Require -f/--force option to overwrite Ubuntu changes.
[ Jelmer Vernooij ] attachments)
* Remove several tools not specific to Ubuntu that have been migrated to
lptools (LP: #708886):
- get-branches (renamed to lp-get-branches)
- grab-attachments (renamed to lp-grab-
- lp-project-upload
- lp-list-bugs
- lp-set-dup
- lp-shell
[ Stefano Rivera ] archive: Don't write .dsc files until we pull the entire
* syncpackage: Show changes to be synced when performing native syncs.
* syncpackage: Check the sync blacklist.
* syncpackage: Support --bug (extra bugs to be closed by the sync) with
native syncs. (Bugs are closed one individually, via the API, post-sync)
* dgetlp, submittodebian, 404main: Use unicode strings for literal strings
containing non-ASCII characters (LP: #836661)
* Recommend pbuilder | aptitude for get-build-deps, and exit with an error
if neither are installed (LP: #799368)
* get-build-deps: Tell aptitude not to follow Recommends (LP: #817500)
* doc/requestsync.1: Document the -C option (LP: #833408)
* ubuntutools.
source package, just hold it in memory. Avoids littering the current
directory (LP: #838361)
* Run harvest as part of sponsor-patch (LP: #833699)
[ Julian Taylor ]
* requestsync: omit dups when checking for duplicate requests (LP: #842217)
[ Benjamin Drung ]
* sponsor-patch: Default to not upload the package.
* requestsync: Do not crash on user abort (Closes: #637168).
-- Benjamin Drung <email address hidden> Tue, 06 Sep 2011 14:31:31 +0200