Ubuntu Karmic: ImportError: No module named soaplib (after installing python-soaplib)

Bug #494704 reported by nieproszenieja
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
python-soaplib (Ubuntu)
Fix Released
Undecided
Barry Warsaw
Nominated for Karmic by Barry Warsaw
Nominated for Lucid by Barry Warsaw

Bug Description

Binary package hint: python-soaplib

Description: Ubuntu 9.10
Release: 9.10
mateusz@idaho ~/Downloads $ apt-cache policy python-soaplib
python-soaplib:
  Installed: 0.0+svn44-2
  Candidate: 0.0+svn44-2
  Version table:
 *** 0.0+svn44-2 0
        500 http://pl.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

How to reproduce:

Install soaplib library:
apt-get install python-soaplib

Then run python and try to import soaplib:

mateusz@idaho ~ $ python
Python 2.6.4 (r264:75706, Nov 2 2009, 14:38:03)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import soaplib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named soaplib
>>>

Workaround (now Python sees soaplib module, I don't know, if library work in 100%):
Type as root:
cp -rp /usr/share/pyshared/soaplib /usr/lib/python2.6/dist-packages/

Related branches

Revision history for this message
nieproszenieja (mateusz-szulc) wrote :

Also affects Ubuntu 10.04.

Barry Warsaw (barry)
Changed in python-soaplib (Ubuntu):
assignee: nobody → Barry Warsaw (barry)
Barry Warsaw (barry)
Changed in python-soaplib (Ubuntu):
status: New → In Progress
Revision history for this message
Barry Warsaw (barry) wrote :

The problem is fairly simple actually. The control file says that the package is only compatible with Python 2.5, but the default for Karmic and Lucid is Python 2.6, so the symlinks don't get added to that version. I just pushed a branch that updates the control file's XS-Python-Version, and will request a merge-proposal/sponsorship momentarily.

Changed in python-soaplib (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-soaplib - 0.0+svn44-2ubuntu1

---------------
python-soaplib (0.0+svn44-2ubuntu1) lucid; urgency=low

  * debian/control: Set XS-Python-Version for compatibility >= 2.5 (LP: #494704)
 -- Barry Warsaw <email address hidden> Mon, 04 Jan 2010 15:33:52 -0500

Changed in python-soaplib (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Josef Spillner (josefspillner) wrote :

Can this please be backported to karmic? It still stands at 0.0+svn44-2 without the fix.

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.