software-center crashed with UnboundLocalError in install(): local variable 'trans' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
Fix Released
|
Undecided
|
david russell | ||
software-center (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Hello
So since i was trying this version, like normal i experience some bugs, all of them was corrected, which i am impressed and want to give you all a gratz..
So i was about to install spacechem which i getted the .Deb from humble bundle.
It open the software center with the description of the package, and i click install.
After that appears the window to report a bug because software center crashed..
I tested 2 or 3 times, i didnt test with other game yet..
I have an Asus 1000H netbook
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: software-center 5.3.10
ProcVersionSign
Uname: Linux 3.5.0-13-generic i686
ApportVersion: 2.5.1-0ubuntu4
Architecture: i386
CrashCounter: 1
Date: Sun Sep 2 06:24:23 2012
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120724.2)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=pt_PT.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: software-center
Title: software-center crashed with UnboundLocalError in install(): local variable 'trans' referenced before assignment
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
Related branches
- Aptdaemon Developers: Pending requested
- Gary Lasker (community): Approve
-
Diff: 11 lines (+1/-0)1 file modifiedsoftwarecenter/backend/installbackend_impl/aptd.py (+1/-0)
tags: | removed: need-duplicate-check |
Changed in software-center (Ubuntu): | |
importance: | Undecided → Medium |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in aptdaemon (Ubuntu): | |
assignee: | nobody → david russell (davidrussell1232) |
Changed in software-center (Ubuntu): | |
importance: | Medium → Critical |
tags: | added: ca-escalated |
The log has: db.pkginfo_ impl.aptcache - ERROR - simulate failed python2. 7/dist- packages/ aptdaemon/ client. py", line 1595, in on_error raise_exception () python2. 7/dist- packages/ defer/_ _init__ .py", line 487, in _inline_callbacks traceback) python2. 7/dist- packages/ aptdaemon/ client. py", line 1630, in _run_transactio n_helper .DBus.Python. UnicodeDecodeEr ror: Traceback (most recent call last): python3/ dist-packages/ defer/_ _init__ .py", line 483, in _inline_callbacks python3/ dist-packages/ aptdaemon/ core.py" , line 1485, in _create_trans get_proc_ info_from_ dbus_name( sender, self.bus) python3/ dist-packages/ defer/_ _init__ .py", line 487, in _inline_callbacks python3/ dist-packages/ aptdaemon/ policykit1. py", line 157, in get_proc_ info_from_ dbus_name python3. 2/encodings/ ascii.py" , line 26, in decode ascii_decode( input, self.errors)[0]
"""
2012-09-02 06:24:10,960 - softwarecenter.
Traceback (most recent call last):
File "/usr/lib/
error.
File "/usr/lib/
result.
File "/usr/lib/
tid = yield deferred
DBusException: org.freedesktop
File "/usr/lib/
result = gen.throw(excep)
File "/usr/lib/
yield policykit1.
File "/usr/lib/
result = gen.send(result)
File "/usr/lib/
cmdline = cmdline_file.read()
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 68: ordinal not in range(128)
"""
So this appears to be also a aptdaemon issue.