[Bug 1120322] Re: update-manager crashed with UnboundLocalError in show_diff(): local variable 'line_number' referenced before assignment

Chris Halse Rogers chris at cooperteam.net
Wed Mar 27 03:45:17 UTC 2013


Hello Fjatle, or anyone else affected,

Accepted aptdaemon into precise-proposed. The package will build now and
be available at
http://launchpad.net/ubuntu/+source/aptdaemon/0.43+bzr805-0ubuntu9 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: aptdaemon (Ubuntu Precise)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
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/1120322

Title:
  update-manager crashed with UnboundLocalError in show_diff(): local
  variable 'line_number' referenced before assignment

Status in Aptdaemon:
  Fix Released
Status in “aptdaemon” package in Ubuntu:
  Fix Released
Status in “aptdaemon” source package in Precise:
  Fix Committed

Bug description:
  Test Case:

  1) Create a file named a.txt in /tmp/ with the contents 'one' in it.
  2) Create a file named b.txt in /tmp/ with the contents 'onee' in it.
  3) In a terminal start python3
  4) from aptdaemon.gtk3widgets import DiffView
  5) dv = DiffView()
  6) dv.show_diff('/tmp/a.txt', '/tmp/b.txt')

  With the unfixed version of aptdaemon observe an UnboundLocalError.

  
  At the same time as the crash appeared, I got a box for Keep/Renew Steam config file.
  I was however no able to click on either Keep/Renew.

  ProblemType: CrashDistroRelease: Ubuntu 13.04
  Package: update-manager 1:0.181
  ProcVersionSignature: Ubuntu 3.8.0-4.8-generic 3.8.0-rc6
  Uname: Linux 3.8.0-4-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.8-0ubuntu4
  Architecture: amd64
  Date: Sat Feb  9 14:05:09 2013
  ExecutablePath: /usr/bin/update-manager
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'launch-time' b'1360363834'
   b'com.ubuntu.update-manager' b'show-details' b'true'
   b'com.ubuntu.update-manager' b'window-height' b'625'
   b'com.ubuntu.update-manager' b'window-width' b'591'
  InstallationDate: Installed on 2012-08-22 (170 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  InterpreterPath: /usr/bin/python3.3
  MarkForUpload: True
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/update-manager
  ProcEnviron:
   LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=nb_NO.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/update-manager']SourcePackage: update-manager
  Title: update-manager crashed with UnboundLocalError in show_diff(): local variable 'line_number' referenced before assignment
  UpgradeStatus: Upgraded to raring on 2013-01-22 (18 days ago)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo tty

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




More information about the foundations-bugs mailing list