Comment 0 for bug 1033069

Revision history for this message
Andrei (0p-andrei) wrote :

I've just installed wajig 2.7.3. After that I've updated about 50 packages with Software Updater (it wanted a restart but I haven't restarted yet).

The output:
Traceback (most recent call last):
  File "/usr/share/wajig/wajig.py", line 848, in <module>
    main()
  File "/usr/share/wajig/wajig.py", line 844, in main
    result.func(result)
  File "/usr/share/wajig/commands.py", line 594, in new
    util.newly_available(args.verbose)
  File "/usr/share/wajig/util.py", line 93, in newly_available
    do_describe([package.strip() for package in packages], die=False)
  File "/usr/share/wajig/util.py", line 310, in do_describe
    packageversion = package.installed
AttributeError: 'str' object has no attribute 'installed'

The error at line 296 (except KeyError as e) is: "The cache has no package named 'appmenu-qt-dbgsym'".
Also the die variable is False so it won't return from the function.

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: wajig 2.7.3
ProcVersionSignature: Ubuntu 3.5.0-7.7-generic 3.5.0
Uname: Linux 3.5.0-7-generic x86_64
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
Date: Sat Aug 4 23:07:16 2012
ExecutablePath: /usr/share/wajig/wajig.py
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120728.1)
InterpreterPath: /usr/bin/python3.2mu
PackageArchitecture: all
ProcCmdline: python3 /usr/share/wajig/wajig.py new
ProcEnviron:
 TERM=xterm
 PATH=(custom, no username)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/wajig/wajig.py', 'new']
SourcePackage: wajig
Title: wajig.py crashed with AttributeError in do_describe(): 'str' object has no attribute 'installed'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo