Python applications are broken since update

Bug #349518 reported by Sandro Mani
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python2.6 (Ubuntu)
New
Undecided
Unassigned
Nominated for Jaunty by FredBezies

Bug Description

After updating a number of python packages, all python apps are broken. The following updates were installed:

2009-03-27 12:00:18 upgrade libpython2.6 2.6.1-1ubuntu4 2.6.1-1ubuntu5
2009-03-27 12:00:18 status half-configured libpython2.6 2.6.1-1ubuntu4
2009-03-27 12:00:18 status unpacked libpython2.6 2.6.1-1ubuntu4
2009-03-27 12:00:18 status half-installed libpython2.6 2.6.1-1ubuntu4
2009-03-27 12:00:19 status half-installed libpython2.6 2.6.1-1ubuntu4
2009-03-27 12:00:19 status unpacked libpython2.6 2.6.1-1ubuntu5
2009-03-27 12:00:19 status unpacked libpython2.6 2.6.1-1ubuntu5
2009-03-27 12:00:19 upgrade python2.6 2.6.1-1ubuntu4 2.6.1-1ubuntu5
2009-03-27 12:00:19 status half-configured python2.6 2.6.1-1ubuntu4
2009-03-27 12:00:19 status unpacked python2.6 2.6.1-1ubuntu4
2009-03-27 12:00:19 status half-installed python2.6 2.6.1-1ubuntu4
2009-03-27 12:00:20 status half-installed python2.6 2.6.1-1ubuntu4
2009-03-27 12:00:20 status half-installed python2.6 2.6.1-1ubuntu4
2009-03-27 12:00:20 status half-installed python2.6 2.6.1-1ubuntu4
2009-03-27 12:00:20 status unpacked python2.6 2.6.1-1ubuntu5
2009-03-27 12:00:20 status unpacked python2.6 2.6.1-1ubuntu5
2009-03-27 12:00:20 upgrade python2.6-minimal 2.6.1-1ubuntu4 2.6.1-1ubuntu5
2009-03-27 12:00:20 status half-configured python2.6-minimal 2.6.1-1ubuntu4
2009-03-27 12:00:21 status unpacked python2.6-minimal 2.6.1-1ubuntu4
2009-03-27 12:00:21 status half-installed python2.6-minimal 2.6.1-1ubuntu4
2009-03-27 12:00:21 status half-installed python2.6-minimal 2.6.1-1ubuntu4
2009-03-27 12:00:21 status half-installed python2.6-minimal 2.6.1-1ubuntu4
2009-03-27 12:00:21 status unpacked python2.6-minimal 2.6.1-1ubuntu5
2009-03-27 12:00:21 status unpacked python2.6-minimal 2.6.1-1ubuntu5
2009-03-27 12:00:23 configure python2.6-minimal 2.6.1-1ubuntu5 2.6.1-1ubuntu5
2009-03-27 12:00:23 status unpacked python2.6-minimal 2.6.1-1ubuntu5
2009-03-27 12:00:23 status unpacked python2.6-minimal 2.6.1-1ubuntu5
2009-03-27 12:00:23 status half-configured python2.6-minimal 2.6.1-1ubuntu5
2009-03-27 12:00:23 status installed python2.6-minimal 2.6.1-1ubuntu5
2009-03-27 12:00:24 upgrade python 2.6.1-0ubuntu4 2.6.1-0ubuntu6
2009-03-27 12:00:24 status half-configured python 2.6.1-0ubuntu4
2009-03-27 12:00:24 status unpacked python 2.6.1-0ubuntu4
2009-03-27 12:00:24 status half-installed python 2.6.1-0ubuntu4
2009-03-27 12:00:25 status half-installed python 2.6.1-0ubuntu4
2009-03-27 12:00:25 status half-installed python 2.6.1-0ubuntu4
2009-03-27 12:00:25 status half-installed python 2.6.1-0ubuntu4
2009-03-27 12:00:25 status unpacked python 2.6.1-0ubuntu6
2009-03-27 12:00:25 status unpacked python 2.6.1-0ubuntu6
2009-03-27 12:00:25 upgrade python-minimal 2.6.1-0ubuntu4 2.6.1-0ubuntu6
2009-03-27 12:00:25 status half-configured python-minimal 2.6.1-0ubuntu4
2009-03-27 12:00:25 status unpacked python-minimal 2.6.1-0ubuntu4
2009-03-27 12:00:25 status half-installed python-minimal 2.6.1-0ubuntu4
2009-03-27 12:00:25 status half-installed python-minimal 2.6.1-0ubuntu4
2009-03-27 12:00:25 status half-installed python-minimal 2.6.1-0ubuntu4
2009-03-27 12:00:25 status unpacked python-minimal 2.6.1-0ubuntu6
2009-03-27 12:00:25 status unpacked python-minimal 2.6.1-0ubuntu6
2009-03-27 12:00:27 configure python-minimal 2.6.1-0ubuntu6 2.6.1-0ubuntu6
2009-03-27 12:00:27 status unpacked python-minimal 2.6.1-0ubuntu6
2009-03-27 12:00:27 status half-configured python-minimal 2.6.1-0ubuntu6
2009-03-27 12:00:27 status installed python-minimal 2.6.1-0ubuntu6
2009-03-27 12:00:29 upgrade python-central 0.6.11ubuntu4 0.6.11ubuntu5
2009-03-27 12:00:29 status half-configured python-central 0.6.11ubuntu4
2009-03-27 12:00:29 status unpacked python-central 0.6.11ubuntu4
2009-03-27 12:00:29 status half-installed python-central 0.6.11ubuntu4
2009-03-27 12:00:29 status half-installed python-central 0.6.11ubuntu4
2009-03-27 12:00:30 status half-installed python-central 0.6.11ubuntu4
2009-03-27 12:00:30 status unpacked python-central 0.6.11ubuntu5
2009-03-27 12:00:30 status unpacked python-central 0.6.11ubuntu5
2009-03-27 12:01:01 configure python2.6 2.6.1-1ubuntu5 2.6.1-1ubuntu5
2009-03-27 12:01:01 status unpacked python2.6 2.6.1-1ubuntu5
2009-03-27 12:01:01 status half-configured python2.6 2.6.1-1ubuntu5
2009-03-27 12:01:02 status installed python2.6 2.6.1-1ubuntu5
2009-03-27 12:01:02 configure libpython2.6 2.6.1-1ubuntu5 2.6.1-1ubuntu5
2009-03-27 12:01:02 status unpacked libpython2.6 2.6.1-1ubuntu5
2009-03-27 12:01:02 status half-configured libpython2.6 2.6.1-1ubuntu5
2009-03-27 12:01:02 status installed libpython2.6 2.6.1-1ubuntu5
2009-03-27 12:01:03 configure python 2.6.1-0ubuntu6 2.6.1-0ubuntu6
2009-03-27 12:01:03 status unpacked python 2.6.1-0ubuntu6
2009-03-27 12:01:03 status half-configured python 2.6.1-0ubuntu6
2009-03-27 12:01:03 status installed python 2.6.1-0ubuntu6
2009-03-27 12:01:04 configure python-central 0.6.11ubuntu5 0.6.11ubuntu5
2009-03-27 12:01:04 status unpacked python-central 0.6.11ubuntu5
2009-03-27 12:01:04 status half-configured python-central 0.6.11ubuntu5
2009-03-27 12:01:05 status installed python-central 0.6.11ubuntu5

Applications crash on start, for example

sudo software-properties-gtk
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 27, in <module>
    import gtk
  File "/var/lib/python-support/python2.6/gtk-2.0/gtk/__init__.py", line 38, in <module>
    import gobject as _gobject
  File "/var/lib/python-support/python2.6/gtk-2.0/gobject/__init__.py", line 33, in <module>
    from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
  File "/var/lib/python-support/python2.6/gtk-2.0/glib/__init__.py", line 30, in <module>
    from glib._glib import *
ImportError: /var/lib/python-support/python2.6/gtk-2.0/glib/_glib.so: undefined symbol: PyUnicodeUCS4_DecodeUTF8

Jaunty x86_64.

Revision history for this message
FredBezies (fredbezies-deactivatedaccount) wrote :

You can add hplip to broken tools :(

$ hp-setup
warning: CUPSEXT could not be loaded. Please check HPLIP installation.

system-config-printer :

$ system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 30, in <module>
    import dbus
  File "/var/lib/python-support/python2.6/dbus/__init__.py", line 79, in <module>
    import dbus.types as types
  File "/var/lib/python-support/python2.6/dbus/types.py", line 6, in <module>
    from _dbus_bindings import ObjectPath, ByteArray, Signature, Byte,\
ImportError: /var/lib/python-support/python2.6/_dbus_bindings.so: undefined symbol: PyUnicodeUCS4_AsEncodedString

Too bad I had a technical problem and have to reinstall my ubuntu jaunty yesterday !

Revision history for this message
FredBezies (fredbezies-deactivatedaccount) wrote :

Targeting right component.

Revision history for this message
joewski (joewski) wrote :

This is a major problem because it affects the update manager. The update needs to be stopped before it cripples more systems. I've tested two systems one with python and one without python updates and can confirm it the python modules.

I have held back 2.6 related updates and everything else seems to be working fine for the moment.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Dup of bug 349467?

Revision history for this message
FredBezies (fredbezies-deactivatedaccount) wrote :

Stinks like it, indeed. Can I mark it as dupe ?

Revision history for this message
Sandro Mani (sandromani) wrote :

Marked as duplicate.

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.