[Bug 911144] Re: apturl-gtk crashed with UnicodeDecodeError in parseArgs(): 'ascii' codec can't decode byte 0xe3 in position 18: ordinal not in range(128)
Jean-Baptiste Lallement
jean-baptiste at ubuntu.com
Tue Jan 3 10:46:32 UTC 2012
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:
1. Is this reproducible?
2. If so, what specific steps should we take to recreate this bug? Be as detailed as possible.
This will help us to find and resolve the problem.
** Visibility changed to: Public
** Changed in: apturl (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apturl in Ubuntu.
https://bugs.launchpad.net/bugs/911144
Title:
apturl-gtk crashed with UnicodeDecodeError in parseArgs(): 'ascii'
codec can't decode byte 0xe3 in position 18: ordinal not in range(128)
Status in “apturl” package in Ubuntu:
Triaged
Status in “apturl” source package in Precise:
Triaged
Bug description:
TEST CASE:
0. Install a non-english locale like fr or ja
1. In a terminal run the following command:
$ LANG=fr_FR.utf8 apturl-gtk azertyuiop
EXPECTED RESULT:
A dialog pops up displaying a localized error message "Invalid url: 'azertyuiop' given, exiting"
ACTUAL RESULT:
It crashes with the trace below:
-----
Traceback (most recent call last):
File "/usr/bin/apturl-gtk", line 48, in <module>
sys.exit(apturl.main())
File "/usr/lib/python2.7/dist-packages/AptUrl/AptUrl.py", line 172, in main
apturl_list = self.parseArgs()
File "/usr/lib/python2.7/dist-packages/AptUrl/AptUrl.py", line 151, in parseArgs
"%s" % str(e))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 7-8: ordinal not in range(128)
-----
=== Original Description ===
I don't know
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: apturl 0.5.1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-7.13-generic 3.2.0-rc7
Uname: Linux 3.2.0-7-generic i686
ApportVersion: 1.90-0ubuntu1
Architecture: i386
Date: Tue Jan 3 18:50:46 2012
ExecutablePath: /usr/bin/apturl-gtk
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20111129.1)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/apturl-gtk /home/username/ドキュメント/Marble Arena 2/bin/arena_32
ProcEnviron:
PATH=(custom, no user)
LANG=ja_JP.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/bin/apturl-gtk', '/home/username/\xe3\x83\x89\xe3\x82\xad\xe3\x83\xa5\xe3\x83\xa1\xe3\x83\xb3\xe3\x83\x88/Marble', 'Arena', '2/bin/arena_32']
SourcePackage: apturl
Title: apturl-gtk crashed with UnicodeDecodeError in parseArgs(): 'ascii' codec can't decode byte 0xe3 in position 18: ordinal not in range(128)
UpgradeStatus: Upgraded to precise on 2012-01-02 (1 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apturl/+bug/911144/+subscriptions
More information about the foundations-bugs
mailing list