<type 'exceptions.NameError'>: global name 'logging' is not defined

Bug #754829 reported by Jeremy Price
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: aptdaemon

After the software center crashed earlier, I tried to do a system update which listed, among others, an update to the software center. The update manager crashed before it started downloading the updates. The crash generated the following error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 166, in _process_transaction
    lock.wait_for_lock(trans)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/lock.py", line 163, in wait_for_lock
    logging.error("Failed to lock the cache")
NameError: global name 'logging' is not defined

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: aptdaemon 0.41+bzr614-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
NonfreeKernelModules: nvidia
Annotation: Applying software changes failed
Architecture: amd64
Date: Fri Apr 8 10:07:08 2011
DesktopFile: /usr/share/aptdaemon/aptdaemon.desktop
ExecutablePath: /usr/sbin/aptd
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
PackageArchitecture: all
SourcePackage: aptdaemon
Title: <type 'exceptions.NameError'>: global name 'logging' is not defined
TransactionDepends: [[], [], [], [], [], [], []]
TransactionErrorCode: error-unknown
TransactionKwargs: {}
TransactionLocale: en_CA.UTF8
TransactionOutput:

TransactionPackages: [[], [], [], [], [dbus.String(u'evolution'), dbus.String(u'evolution-common'), dbus.String(u'evolution-data-server'), dbus.String(u'evolution-data-server-common'), dbus.String(u'evolution-plugins'), dbus.String(u'libcamel1.2-19'), dbus.String(u'libebackend1.2-0'), dbus.String(u'libebook1.2-10'), dbus.String(u'libecal1.2-8'), dbus.String(u'libedata-book1.2-8'), dbus.String(u'libedata-cal1.2-10'), dbus.String(u'libedataserver1.2-14'), dbus.String(u'libedataserverui1.2-11'), dbus.String(u'libegroupwise1.2-13'), dbus.String(u'libevolution'), dbus.String(u'rsync'), dbus.String(u'software-center'), dbus.String(u'xdg-utils')], []]
TransactionRole: role-commit-packages
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jeremy Price (jtull69) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.