crash during natty->natty

Bug #699881 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-central (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: python-central

A bugreport on behalf of Rodrigo, the critical bit is this:
"""
    self.default_runtime.byte_compile(self.private_files, bc_option,
AttributeError: 'NoneType' object has no attribute 'byte_compile'
"""

The full output:
$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of python-aptdaemon:
 python-aptdaemon depends on python-apt (>= 0.7.96.1ubuntu9); however:
  Version of python-apt on system is 0.7.95ubuntu2.
 python-aptdaemon depends on python-defer; however:
  Package python-defer is not installed.
dpkg: error processing python-aptdaemon (--configure):
 dependency problems - leaving unconfigured
Setting up man-db (2.5.7-4) ...
Updating database of manual pages ...
dpkg: dependency problems prevent configuration of python-kde4:
 python-kde4 depends on kdepim-runtime; however:
  Package kdepim-runtime is not installed.
 python-kde4 depends on libakonadi-kde4 (>= 4:4.5.90); however:
  Package libakonadi-kde4 is not installed.
 python-kde4 depends on libakonadi-kmime4 (>= 4:4.5.85a); however:
  Package libakonadi-kmime4 is not installed.
 python-kde4 depends on libkcmutils4 (>= 4:4.5.80); however:
  Package libkcmutils4 is not installed.
 python-kde4 depends on libkdecore5 (>= 4:4.5.90); however:
  Version of libkdecore5 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libkdeui5 (>= 4:4.5.90); however:
  Version of libkdeui5 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libkdnssd4 (>= 4:4.5.2-0ubuntu1); however:
  Version of libkdnssd4 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libkemoticons4 (>= 4:4.5.2-0ubuntu1); however:
  Package libkemoticons4 is not installed.
 python-kde4 depends on libkfile4 (>= 4:4.5.80); however:
  Version of libkfile4 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libkhtml5 (>= 4:4.5.85); however:
  Version of libkhtml5 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libkidletime4 (>= 4:4.5.2-0ubuntu1); however:
  Package libkidletime4 is not installed.
 python-kde4 depends on libkio5 (>= 4:4.5.90); however:
  Version of libkio5 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libknewstuff2-4 (>= 4:4.5.2-0ubuntu1); however:
  Version of libknewstuff2-4 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libknewstuff3-4 (>= 4:4.5.80); however:
  Version of libknewstuff3-4 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libkparts4 (>= 4:4.5.80); however:
  Version of libkparts4 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libkprintutils4 (>= 4:4.5.2-0ubuntu1); however:
  Package libkprintutils4 is not installed.
 python-kde4 depends on libkpty4 (>= 4:4.5.2-0ubuntu1); however:
  Version of libkpty4 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libktexteditor4 (>= 4:4.5.2-0ubuntu1); however:
  Version of libktexteditor4 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libnepomuk4 (>= 4:4.5.80); however:
  Version of libnepomuk4 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libnepomukquery4a (>= 4:4.5.80); however:
  Package libnepomukquery4a is not installed.
 python-kde4 depends on libplasma3 (>= 4:4.5.90); however:
  Version of libplasma3 on system is 4:4.4.3a-2ubuntu2.
 python-kde4 depends on libsolid4 (>= 4:4.5.80); however:
  Version of libsolid4 on system is 4:4.4.3a-2ubuntu2.
dpkg: error processing python-kde4 (--configure):
 dependency problems - leaving unconfigured
Setting up python2.7-minimal (2.7.1-3) ...
Linking and byte-compiling packages for runtime python2.7...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 2304, in <module>
    main()
  File "/usr/bin/pycentral", line 2298, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1764, in run
    ignore_errors = self.options.ignore != None)
  File "/usr/bin/pycentral", line 1095, in install
    self.default_runtime.byte_compile(self.private_files, bc_option,
AttributeError: 'NoneType' object has no attribute 'byte_compile'
dpkg: error processing python2.7-minimal (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-aptdaemon-gtk:
 python-aptdaemon-gtk depends on python-aptdaemon (= 0.40+bzr529-0ubuntu3); however:
  Package python-aptdaemon is not configured yet.
dpkg: error processing python-aptdaemon-gtk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-minimal:
 python-minimal depends on python2.7-minimal (>= 2.7.1-1~); however:
  Package python2.7-minimal is not configured yet.
dpkg: error processing python-minimal (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python:
 python depends on python-minimal (= 2.7.1-0ubuntu4); however:
  Package python-minimal is not configured yet.
dpkg: error processing python (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-apport:
 python-apport depends on python (<< 2.8); however:
  Package python is not configured yet.
 python-apport depends on python (>= 2.6); however:
  Package python is not configured yet.
dpkg: error processing python-apport (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-support:
 python-support depends on python (>= 2.5); however:
  Package python is not configured yet.
dpkg: error processing python-support (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7:
 python2.7 depends on python2.7-minimal (= 2.7.1-3); however:
  Package python2.7-minimal is not configured yet.
dpkg: error processing python2.7 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-fuse:
 python-fuse depends on python (<< 2.8); however:
  Package python is not configured yet.
 python-fuse depends on python (>= 2.6); however:
  Package python is not configured yet.
dpkg: error processing python-fuse (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-scour:
 python-scour depends on python (>= 2.7.1-0ubuntu2); however:
  Package python is not configured yet.
 python-scour depends on python (<< 2.8); however:
  Package python is not configured yet.
dpkg: error processing python-scour (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7-dbg:
 python2.7-dbg depends on python2.7 (>= 2.7.1-3); however:
  Package python2.7 is not configured yet.
dpkg: error processing python2.7-dbg (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-problem-report:
 python-problem-report depends on python (<< 2.8); however:
  Package python is not configured yet.
 python-problem-report depends on python (>= 2.6); however:
  Package python is not configured yet.
dpkg: error processing python-problem-report (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7-dev:
 python2.7-dev depends on python2.7 (= 2.7.1-3); however:
  Package python2.7 is not configured yet.
dpkg: error processing python2.7-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-libxml2:
 python-libxml2 depends on python (<< 2.8); however:
  Package python is not configured yet.
 python-libxml2 depends on python (>= 2.6); however:
  Package python is not configured yet.
 python-libxml2 depends on python-support (>= 0.90.0); however:
  Package python-support is not configured yet.
dpkg: error processing python-libxml2 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-ubuntuone-client:
 python-ubuntuone-client depends on python (>= 2.5); however:
  Package python is not configured yet.
 python-ubuntuone-client depends on python-support (>= 0.90.0); however:
  Package python-support is not configured yet.
dpkg: error processing python-ubuntuone-client (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpython2.7:
 libpython2.7 depends on python2.7 (= 2.7.1-3); however:
  Package python2.7 is not configured yet.
dpkg: error processing libpython2.7 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-aptdaemon
 python-kde4
 python2.7-minimal
 python-aptdaemon-gtk
 python-minimal
 python
 python-apport
 python-support
 python2.7
 python-fuse
 python-scour
 python2.7-dbg
 python-problem-report
 python2.7-dev
 python-libxml2
 python-ubuntuone-client
 libpython2.7

Revision history for this message
Michael Vogt (mvo) wrote :

Rodrigo worked around it by adding
self.default_runtime = get_default_runime()
before line 1095

Revision history for this message
Michael Vogt (mvo) wrote :
Revision history for this message
dino99 (9d9) wrote :

dh_python2 is now used to replace that deprecated package

Changed in python-central (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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