pycentral crashed with AttributeError in prepare()

Bug #196486 reported by tiburcio
6
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

Ubuntu Hardy alpha 5

HP laptop amd64

Crash when trying update (update-manager) "onboard version 0.91"

~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  onboard
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/34.9kB of archives.
After this operation, 98.3kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 220616 files and directories currently installed.)
Preparing to replace onboard 0.87 (using .../archives/onboard_0.91_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1674, in <module>
    main()
  File "/usr/bin/pycentral", line 1668, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1169, in run
    pkg.prepare(used_runtimes, old_used_runtimes, old_pkg)
  File "/usr/bin/pycentral", line 793, in prepare
    self.default_runtime.remove_byte_code(removed_fs)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing /var/cache/apt/archives/onboard_0.91_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/onboard_0.91_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Crash
Architecture: amd64
Date: Thu Feb 28 06:02:54 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/pycentral
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: python-central 0.5.60ubuntu4
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/pycentral pkgprepare onboard
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/pycentral', 'pkgprepare', 'onboard']
SourcePackage: python-central
Title: pycentral crashed with AttributeError in prepare()
Uname: Linux 2.6.24-10-generic x86_64
UserGroups: vboxusers

Tags: apport-crash
Revision history for this message
tiburcio (jbonnin) 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.