Public bug reported:

Binary package hint: python-support

The problem appeared somewhere during piecewise upgrade from dapper to
edgy, which I have now finished. I am unable to import any python
modules except those that reside in /usr/lib/python2.4/site-packages.
The file /usr/lib/python2.4/python-support.pth is dangling symling to
/var/lib/python-support/python2.4/.path, which does not exist (that
directory is empty).

I tried running "update-python-modules -f" but it doesn't change
anything. I do not have any customized configs in /etc/python*/ .

Thanks for any help. Additional information below, ask fo more if neede.
Regards, VS.

---

falx:/var/lib/python-support > ls -RA                                           
                                            
.:
2.4.3  python2.4

./2.4.3:
GnuPGInterface.py  .path

./python2.4:

---

falx:/var/lib/python-support > dpkg -l |grep py |egrep ^ii                      
                                             <
ii  fdutils                                    5.5-20060227-1                   
    Linux floppy utilities
ii  libboost-python1.33.1                      1.33.1-7ubuntu1                  
    Boost.Python Library
ii  python                                     2.4.3-11ubuntu3                  
    An interactive high-level object-oriented language (default vers
ii  python-apt                                 0.6.19ubuntu9                    
    Python interface to libapt-pkg
ii  python-beagle                              0.2.9-1ubuntu3                   
    python bindings for beagle
ii  python-cairo                               1.2.0-1build1                    
    Python bindings for the Cairo vector graphics library
ii  python-central                             0.5.6ubuntu2                     
    register and build utility for Python packages
ii  python-dbus                                0.71-2ubuntu1                    
    simple interprocess messaging system (Python interface)
ii  python-doc                                 2.4.3-11ubuntu3                  
    Documentation for the high-level object-oriented language Python
ii  python-gammu                               0.14-2                           
    Python module to communicate with mobile phones
ii  python-gconf                               2.16.0-0ubuntu6                  
    Python bindings for GConf2
ii  python-gdbm                                2.4.3-4ubuntu1                   
    GNU dbm database support for Python
ii  python-glade2                              2.10.3-0ubuntu3                  
    GTK+ bindings: Glade support
ii  python-gmenu                               2.16.1-0ubuntu1                  
    an implementation of the freedesktop menu specification for GNOM
ii  python-gnome2                              2.16.0-0ubuntu6                  
    Python bindings for the GNOME desktop environment
ii  python-gnome2-desktop                      2.16.0-0ubuntu2                  
    Python bindings for the GNOME desktop environment
ii  python-gnome2-extras                       2.14.2-0ubuntu6                  
    Python bindings for the GNOME desktop environment
ii  python-gnomecanvas                         2.16.0-0ubuntu6                  
    Python bindings for gnomecanvas
ii  python-gnupginterface                      0.3.2-9                          
    Python interface to GnuPG (GPG)
ii  python-gobject                             2.12.2-0ubuntu1                  
    Python bindings for the GObject
ii  python-gtk2                                2.10.3-0ubuntu3                  
    Python bindings for the GTK+ widget set
ii  python-gtk2-doc                            2.10.3-0ubuntu3                  
    Python bindings for the GTK+ widget set - documentation
ii  python-gtkhtml2                            2.14.2-0ubuntu6                  
    Python bindings for the GtkHTML2 library
ii  python-id3lib                              0.5.1-6ubuntu2                   
    id3lib wrapper for Python - dummy package
ii  python-imaging                             1.1.5-10build1                   
    Python Imaging Library
ii  python-imaging-doc                         1.1.5-10build1                   
    Examples for the Python Imaging Library
ii  python-imaging-doc-html                    1.1.2-1                          
    Documentation for the Python Imaging Library.
ii  python-imaging-tk                          1.1.5-10build1                   
    Python Imaging Library ImageTk Module
ii  python-launchpad-integration               0.1.4.3                          
    library for launchpad integration
ii  python-libxml2                             2.6.26.dfsg-2ubuntu4             
    Python bindings for the GNOME XML library
ii  python-matplotlib-data                     0.87.5-2ubuntu1                  
    python based plotting system (data package)
ii  python-minimal                             2.4.3-11ubuntu3                  
    A minimal subset of the Python language (default version)
ii  python-numeric                             24.2-5build1                     
    Numerical (matrix-oriented) Mathematics for Python
ii  python-numeric-ext                         24.2-5build1                     
    Extension modules for Numeric Python
ii  python-pyogg                               1.3-1.1ubuntu2                   
    A Python interface to the Ogg library
ii  python-pyorbit                             2.14.1-2build1                   
    A Python language binding for the ORBit2 CORBA implementation
ii  python-pysqlite2                           2.3.2-1build1                    
    python interface to SQLite 3
ii  python-support                             0.5.3ubuntu1                     
    automated rebuilding support for python modules
ii  python-tk                                  2.4.3-4ubuntu1                   
    Tkinter - Writing Tk applications with Python
ii  python-uno                                 2.0.4-0ubuntu2                   
    Python interface for OpenOffice.org
ii  python-visual                              3.2.1-4                          
    VPython 3D scientific visualization library
ii  python-vte                                 0.14.1-0ubuntu1                  
    Python bindings for the VTE widget set
ii  python-wxgtk2.6                            2.6.3.2.1.5                      
    wxWidgets Cross-platform C++ GUI toolkit (wxPython binding)
ii  python-wxversion                           2.6.3.2.1.5                      
    wxWidgets Cross-platform C++ GUI toolkit (wxPython version selec
ii  python-xdg                                 0.15-1.1ubuntu1                  
    A python library to access freedesktop.org standards
ii  python-xlib-doc                            0.12-5.1build1                   
    Documentation for the Python interface to the X11 Protocol
ii  python2.4                                  2.4.4~c1-0ubuntu1                
    An interactive high-level object-oriented language (version 2.4)
ii  python2.4-dev                              2.4.4~c1-0ubuntu1                
    Header files and a static library for Python (v2.4)
ii  python2.4-doc                              2.4.4~c1-0ubuntu1                
    Documentation for the high-level object-oriented language Python
ii  python2.4-gamin                            0.1.7-3ubuntu2                   
    Python binding for the gamin client library
ii  python2.4-id3lib                           0.5.1-6ubuntu2                   
    id3lib wrapper for Python - library
ii  python2.4-ldap                             2.0.4-1ubuntu4                   
    A LDAP interface module for Python 2.4
ii  python2.4-minimal                          2.4.4~c1-0ubuntu1                
    A minimal subset of the Python language (version 2.4)
ii  python2.4-numarray                         1.5.1-1ubuntu3                   
    An array processing package modelled after Python-Numeric
ii  python2.4-numarray-ext                     1.5.1-1ubuntu3                   
    Extension modules for Python array processing
ii  python2.4-xlib                             0.12-5                           
    Interface for Python to the X11 Protocol (for Python2.4)
ii  rsync                                      2.6.8-2ubuntu3                   
    fast remote file copy program (like rcp)
ii  tcpspy                                     1.7d-3                           
    Incoming and Outgoing TCP/IP connections logger
ii  xdpyinfo                                   1.0.1-0ubuntu1                   
    X display information

---

falx:/var/lib/python-support > python -v                                        
                                             <
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib/python2.4/site.pyc matches /usr/lib/python2.4/site.py
import site # precompiled from /usr/lib/python2.4/site.pyc
# /usr/lib/python2.4/os.pyc matches /usr/lib/python2.4/os.py
import os # precompiled from /usr/lib/python2.4/os.pyc
import posix # builtin
# /usr/lib/python2.4/posixpath.pyc matches /usr/lib/python2.4/posixpath.py
import posixpath # precompiled from /usr/lib/python2.4/posixpath.pyc
# /usr/lib/python2.4/stat.pyc matches /usr/lib/python2.4/stat.py
import stat # precompiled from /usr/lib/python2.4/stat.pyc
# /usr/lib/python2.4/UserDict.pyc matches /usr/lib/python2.4/UserDict.py
import UserDict # precompiled from /usr/lib/python2.4/UserDict.pyc
# /usr/lib/python2.4/copy_reg.pyc matches /usr/lib/python2.4/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.4/copy_reg.pyc
# /usr/lib/python2.4/types.pyc matches /usr/lib/python2.4/types.py
import types # precompiled from /usr/lib/python2.4/types.pyc
# /usr/lib/python2.4/warnings.pyc matches /usr/lib/python2.4/warnings.py
import warnings # precompiled from /usr/lib/python2.4/warnings.pyc
# /usr/lib/python2.4/linecache.pyc matches /usr/lib/python2.4/linecache.py
import linecache # precompiled from /usr/lib/python2.4/linecache.pyc
import encodings # directory /usr/lib/python2.4/encodings
# /usr/lib/python2.4/encodings/__init__.pyc matches 
/usr/lib/python2.4/encodings/__init__.py
import encodings # precompiled from /usr/lib/python2.4/encodings/__init__.pyc
# /usr/lib/python2.4/codecs.pyc matches /usr/lib/python2.4/codecs.py
import codecs # precompiled from /usr/lib/python2.4/codecs.pyc
import _codecs # builtin
# /usr/lib/python2.4/encodings/aliases.pyc matches 
/usr/lib/python2.4/encodings/aliases.py
import encodings.aliases # precompiled from 
/usr/lib/python2.4/encodings/aliases.pyc
# /usr/lib/python2.4/encodings/utf_8.pyc matches 
/usr/lib/python2.4/encodings/utf_8.py
import encodings.utf_8 # precompiled from /usr/lib/python2.4/encodings/utf_8.pyc
Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02) 
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/usr/lib/python2.4/lib-dynload/readline.so", 2);
import readline # dynamically loaded from 
/usr/lib/python2.4/lib-dynload/readline.so
>>> import sys; print sys.path
['', '/home/vaclav/.local/python', '/var/lib/python-support', 
'/usr/lib/python24.zip', '/usr/lib/python2.4', 
'/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', 
'/usr/lib/python2.4/lib-dynload', '/usr/local/lib/python2.4/site-packages', 
'/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/Numeric', 
'/usr/lib/python2.4/site-packages/PIL', 
'/usr/lib/python2.4/site-packages/cairo', 
'/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode']

---

** Affects: python-support (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
no 3rd party packages can be imported, /var/lib/python-support/python2.4 empty
https://launchpad.net/bugs/70407

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to