pycentral crashed with AttributeError in prepare()

Bug #196392 reported by miked
6
Affects Status Importance Assigned to Milestone
python-central (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-central

Ubuntu Hardy Heron 8.04 Alpha 5 upgraded via Alpha 4 + internet
root@tower-desktop:~#

root@tower-desktop:~# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  libschroedinger-1.0-0 python-pkg-resources
The following packages will be upgraded:
  capplets-data dvdauthor gdm gnome-applets gnome-applets-data gnome-control-center gnome-screensaver gnome-settings-daemon gstreamer0.10-schroedinger human-theme libgnome-window-settings1 libqt4-core libqt4-gui onboard python-setuptools
  python-virtkey python2.5 python2.5-minimal ubuntu-artwork
19 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.6MB of archives.
After this operation, 1081kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com hardy/main gnome-applets-data 2.21.92-0ubuntu2 [3014kB]
Get:2 http://archive.ubuntu.com hardy/main gnome-applets 2.21.92-0ubuntu2 [191kB]
Get:3 http://archive.ubuntu.com hardy/main python2.5 2.5.2-0ubuntu5 [2894kB]
Get:4 http://archive.ubuntu.com hardy/main python2.5-minimal 2.5.2-0ubuntu5 [1174kB]
Get:5 http://archive.ubuntu.com hardy/main capplets-data 1:2.21.90-0ubuntu4 [350kB]
Get:6 http://archive.ubuntu.com hardy/universe dvdauthor 0.6.14-1build2 [158kB]
Get:7 http://archive.ubuntu.com hardy/main gdm 2.20.3-0ubuntu5 [1879kB]
Get:8 http://archive.ubuntu.com hardy/main gnome-settings-daemon 2.21.91-0ubuntu3 [184kB]
Get:9 http://archive.ubuntu.com hardy/main gnome-control-center 1:2.21.90-0ubuntu4 [470kB]
Get:10 http://archive.ubuntu.com hardy/main libgnome-window-settings1 1:2.21.90-0ubuntu4 [62.9kB]
Get:11 http://archive.ubuntu.com hardy/main gnome-screensaver 2.21.6-0ubuntu3 [1515kB]
Get:12 http://archive.ubuntu.com hardy/universe libschroedinger-1.0-0 1.0.0-1 [175kB]
Get:13 http://archive.ubuntu.com hardy/universe gstreamer0.10-schroedinger 1.0.0-1 [35.3kB]
Get:14 http://archive.ubuntu.com hardy/main human-theme 0.10 [17.9kB]
Get:15 http://archive.ubuntu.com hardy/main libqt4-gui 4.3.4-0ubuntu1 [5095kB]
Get:16 http://archive.ubuntu.com hardy/main libqt4-core 4.3.4-0ubuntu1 [2042kB]
Get:17 http://archive.ubuntu.com hardy/main python-virtkey 0.50 [15.6kB]
Get:18 http://archive.ubuntu.com hardy/main onboard 0.91 [34.9kB]
Get:19 http://archive.ubuntu.com hardy/universe python-pkg-resources 0.6c8-0ubuntu1 [61.9kB]
Get:20 http://archive.ubuntu.com hardy/main python-setuptools 0.6c8-0ubuntu1 [190kB]
Get:21 http://archive.ubuntu.com hardy/main ubuntu-artwork 40 [17.3kB]
Fetched 19.6MB in 2min1s (161kB/s)
Preconfiguring packages ...
(Reading database ... 193221 files and directories currently installed.)
Preparing to replace gnome-applets-data 2.21.92-0ubuntu1 (using .../gnome-applets-data_2.21.92-0ubuntu2_all.deb) ...
Unpacking replacement gnome-applets-data ...
Preparing to replace gnome-applets 2.21.92-0ubuntu1 (using .../gnome-applets_2.21.92-0ubuntu2_i386.deb) ...
Unpacking replacement gnome-applets ...
Preparing to replace python2.5 2.5.2-0ubuntu4 (using .../python2.5_2.5.2-0ubuntu5_i386.deb) ...
Unpacking replacement python2.5 ...
Preparing to replace python2.5-minimal 2.5.2-0ubuntu4 (using .../python2.5-minimal_2.5.2-0ubuntu5_i386.deb) ...
Unpacking replacement python2.5-minimal ...
Setting up python2.5-minimal (2.5.2-0ubuntu5) ...

(Reading database ... 193223 files and directories currently installed.)
Preparing to replace capplets-data 1:2.21.90-0ubuntu3 (using .../capplets-data_1%3a2.21.90-0ubuntu4_all.deb) ...
Unpacking replacement capplets-data ...
Unknown media type in type 'x-content/video-vcd'

Unknown media type in type 'x-content/video-svcd'

Unknown media type in type 'x-content/video-dvd'

Unknown media type in type 'x-content/image-dcf'

Unknown media type in type 'x-content/audio-cdda'

Unknown media type in type 'x-content/blank-cd'

Unknown media type in type 'x-content/blank-dvd'

Unknown media type in type 'x-content/blank-bd'

Unknown media type in type 'x-content/blank-hddvd'

Unknown media type in type 'x-content/audio-dvd'

Unknown media type in type 'x-content/video-bluray'

Unknown media type in type 'x-content/video-hddvd'

Unknown media type in type 'x-content/image-picturecd'

Unknown media type in type 'x-content/audio-player'

Unknown media type in type 'x-content/software'

Preparing to replace dvdauthor 0.6.14-1build1 (using .../dvdauthor_0.6.14-1build2_i386.deb) ...
Unpacking replacement dvdauthor ...
Preparing to replace gdm 2.20.3-0ubuntu3 (using .../gdm_2.20.3-0ubuntu5_i386.deb) ...
Unpacking replacement gdm ...
Preparing to replace gnome-settings-daemon 2.21.91-0ubuntu2 (using .../gnome-settings-daemon_2.21.91-0ubuntu3_i386.deb) ...
Unpacking replacement gnome-settings-daemon ...
Preparing to replace gnome-control-center 1:2.21.90-0ubuntu3 (using .../gnome-control-center_1%3a2.21.90-0ubuntu4_i386.deb) ...
Unpacking replacement gnome-control-center ...
Preparing to replace libgnome-window-settings1 1:2.21.90-0ubuntu3 (using .../libgnome-window-settings1_1%3a2.21.90-0ubuntu4_i386.deb) ...
Unpacking replacement libgnome-window-settings1 ...
Preparing to replace gnome-screensaver 2.21.6-0ubuntu2 (using .../gnome-screensaver_2.21.6-0ubuntu3_i386.deb) ...
Unpacking replacement gnome-screensaver ...
Selecting previously deselected package libschroedinger-1.0-0.
Unpacking libschroedinger-1.0-0 (from .../libschroedinger-1.0-0_1.0.0-1_i386.deb) ...
Preparing to replace gstreamer0.10-schroedinger 0.9.0-1 (using .../gstreamer0.10-schroedinger_1.0.0-1_i386.deb) ...
Unpacking replacement gstreamer0.10-schroedinger ...
Preparing to replace human-theme 0.9 (using .../human-theme_0.10_all.deb) ...
Unpacking replacement human-theme ...
Preparing to replace libqt4-gui 4.3.3-0ubuntu3 (using .../libqt4-gui_4.3.4-0ubuntu1_i386.deb) ...
Unpacking replacement libqt4-gui ...
Preparing to replace libqt4-core 4.3.3-0ubuntu3 (using .../libqt4-core_4.3.4-0ubuntu1_i386.deb) ...
Unpacking replacement libqt4-core ...
Preparing to replace python-virtkey 0.42 (using .../python-virtkey_0.50_i386.deb) ...
Unpacking replacement python-virtkey ...
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
Selecting previously deselected package python-pkg-resources.
Unpacking python-pkg-resources (from .../python-pkg-resources_0.6c8-0ubuntu1_all.deb) ...
Preparing to replace python-setuptools 0.6c7-1 (using .../python-setuptools_0.6c8-0ubuntu1_all.deb) ...
Unpacking replacement python-setuptools ...
Preparing to replace ubuntu-artwork 39 (using .../ubuntu-artwork_40_all.deb) ...
Unpacking replacement ubuntu-artwork ...
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)
root@tower-desktop:~#

ProblemType: Crash
Architecture: i386
Date: Wed Feb 27 23:20:06 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=en_CA.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: adm admin audio cdrom dialout dip fax floppy fuse plugdev sambashare scanner tape

Tags: apport-crash
Revision history for this message
miked (miked11) wrote :
Revision history for this message
miked (miked11) wrote :

Changed Security from Private to Public

Revision history for this message
miked (miked11) wrote :

This report is a duplicate of bug #196335
Should this be marked as a dup of a Private Bug?

Not allowed here

Sorry, you don't have permission to access this page.

You are logged in as miked.

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.