pycentral crashed with AttributeError in prepare()

Bug #196544 reported by Patrik Schönfeldt
6
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

This happend in Hardy Alpha: I tried to upgrade "onboard" from 0.87 to 0.91 via "apt-get upgrade" (Upgrade-Manager fails with the same problems).
The Terminal Output reads:
"Vorbereiten zum Ersetzen von onboard 0.87 (durch .../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: Fehler beim Bearbeiten von /var/cache/apt/archives/onboard_0.91_all.deb (--unpack):
 Unterprozess pre-installation script gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/onboard_0.91_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)"

ProblemType: Crash
Architecture: i386
Date: Thu Feb 28 14:05:42 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/pycentral
InterpreterPath: /usr/bin/python2.5
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=de_DE.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 i686
UserGroups:

Tags: apport-crash
Revision history for this message
Patrik Schönfeldt (bauer87) 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.