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

Launchpad Bug Tracker 1044900 at bugs.launchpad.net
Fri Sep 7 08:20:09 UTC 2012

This bug was fixed in the package software-center - 5.3.11

software-center (5.3.11) quantal; urgency=low

  [ Michael Vogt ]
  * lp:~mvo/software-center/speedup2:
    - startup time improvements
  * lp:~mvo/software-center/adt-you-make-my-life-hard:
    - updates to make the tests run as user
  * debian/tests/run-tests, run-tests.sh:
    - ensure there is a apt-xapian-index available as this is not
      automatically created in the ADT test VM environment
    - fail to run the tests if there is no apt-xapian-index
  * lp:~mvo/software-center/lp1045330:
    - return an empty string if there is no price instead
      of the "None" string and add test (LP: #1045330)
  * lp:~mvo/software-center/lp1044900:
    - add local "trans" var to fix crash (LP: #1044900)
  * lp:~mvo/software-center/fix-init:
    - fix some incorrect __init__() calls
  * lp:~mvo/software-center/fix-fixme-lp1045330:
    - test case update, fix a FIXME in the dataprovider
      test by providing its own private dbus connection
      instead of using the system bus
  * lp:~mvo/software-center/lp1045826:
    - fix double display of currency and cleanup around
      this code (LP: #1045826)
  * lp:~mvo/software-center/trivial-restore-state-fix:
    - improvements to the initial window size code and
      make the window size config a property that supports

  [ Aaron Peachey ]
  * lp:~aaronp/software-center/review-refactor:
    - This branch simply converts the existing callbacks for retrieval
      of review data and submission/deletion/modification of reviews
      to GObject signals (courtesy of mvo) which makes it more consistent
      with the rest of the code

  [ Gary Lasker ]
  * lp:~gary-lasker/software-center/recommended-installed-feedback:
    - signal the recommender service when a recommended item has been
      successfully installed, refactor and clean up surrounding code,
      new unit tests for the feature (LP: #944060, LP: #1044107)
 -- Michael Vogt <michael.vogt at ubuntu.com>   Fri, 07 Sep 2012 09:36:45 +0200

** Changed in: software-center (Ubuntu)
       Status: Fix Committed => Fix Released

** Changed in: aptdaemon (Ubuntu)
       Status: Confirmed => Fix Released

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.

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

Status in “aptdaemon” package in Ubuntu:
  Fix Released
Status in “software-center” package in Ubuntu:
  Fix Released

Bug description:

  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
   PATH=(custom, no user)
  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:

More information about the foundations-bugs mailing list