Many python programs fail with: "undefined symbol: PyUnicodeUCS4_DecodeUTF8"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.6 (Ubuntu) |
Fix Released
|
Critical
|
Michael Vogt | ||
Jaunty |
Fix Released
|
Critical
|
Michael Vogt |
Bug Description
With python2.6 version 2.6.1-1ubuntu5, many extension modules fail to load, resulting in fatal errors such as:
mnemo@kingfish:~$ update-manager
Traceback (most recent call last):
File "/usr/bin/
import gtk
File "/var/lib/
import gobject as _gobject
File "/var/lib/
from glib import spawn_async, idle_add, timeout_add, timeout_
File "/var/lib/
from glib._glib import *
ImportError: /var/lib/
The problem is corrected in version 2.6.1-1ubuntu5.1. Note that since Update Manager is one of the affected programs, users affected by this bug will need to upgrade using apt-get in a terminal:
$ sudo apt-get update && sudo apt-get dist-upgrade
Related branches
Changed in python2.6 (Ubuntu): | |
assignee: | doko → nobody |
status: | New → Triaged |
Changed in python2.6 (Ubuntu Jaunty): | |
assignee: | nobody → mvo |
importance: | High → Critical |
description: | updated |
summary: |
- update-manager fails to install todays updates due to "undefined symbol: + Many python programs fail with: "undefined symbol: PyUnicodeUCS4_DecodeUTF8" |
description: | updated |
It seems that all python+GTK apps are affected by this bug:
mnemo@kingfish: ~/projs/ python/ hello_world_ gtk$ python hello.py python- support/ python2. 6/gtk-2. 0/gtk/_ _init__ .py", line 38, in <module> python- support/ python2. 6/gtk-2. 0/gobject/ __init_ _.py", line 33, in <module> add_seconds, \ python- support/ python2. 6/gtk-2. 0/glib/ __init_ _.py", line 30, in <module> python- support/ python2. 6/gtk-2. 0/glib/ _glib.so: undefined symbol: PyUnicodeUCS4_ DecodeUTF8
Traceback (most recent call last):
File "hello.py", line 4, in <module>
import gtk
File "/var/lib/
import gobject as _gobject
File "/var/lib/
from glib import spawn_async, idle_add, timeout_add, timeout_
File "/var/lib/
from glib._glib import *
ImportError: /var/lib/