[Bug 1044900] Re: software-center crashed with UnboundLocalError in install(): local variable 'trans' referenced before assignment

Michael Vogt michael.vogt at ubuntu.com
Mon Sep 3 14:57:44 UTC 2012


The log has:
"""
2012-09-02 06:24:10,960 - softwarecenter.db.pkginfo_impl.aptcache - ERROR - simulate failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/client.py", line 1595, in on_error
    error.raise_exception()
  File "/usr/lib/python2.7/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
    result.traceback)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/client.py", line 1630, in _run_transaction_helper
    tid = yield deferred
DBusException: org.freedesktop.DBus.Python.UnicodeDecodeError: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/defer/__init__.py", line 483, in _inline_callbacks
    result = gen.throw(excep)
  File "/usr/lib/python3/dist-packages/aptdaemon/core.py", line 1485, in _create_trans
    yield policykit1.get_proc_info_from_dbus_name(sender, self.bus)
  File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
    result = gen.send(result)
  File "/usr/lib/python3/dist-packages/aptdaemon/policykit1.py", line 157, in get_proc_info_from_dbus_name
    cmdline = cmdline_file.read()
  File "/usr/lib/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
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.

** Visibility changed to: Public

** Changed in: software-center (Ubuntu)
       Status: New => In Progress

** Also affects: aptdaemon (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/1044900

Title:
  software-center crashed with UnboundLocalError in install(): local
  variable 'trans' referenced before assignment

Status in “aptdaemon” package in Ubuntu:
  New
Status in “software-center” package in Ubuntu:
  In Progress

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
  ProcVersionSignature: Ubuntu 3.5.0-13.14-generic 3.5.3
  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/software-center/software-center
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120724.2)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-center /home/username/Transferências/SpaceChem-i386.deb
  ProcEnviron:
   LANGUAGE=pt:pt_BR:en
   PATH=(custom, no user)
   LANG=pt_PT.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-center', '/home/username/Transfer\xc3\xaancias/SpaceChem-i386.deb']
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1044900/+subscriptions




More information about the foundations-bugs mailing list