Public bug reported:

First of all, thanks for working on packaging VTK6 on debian/ubuntu.
This is very much appreciated.


Environment:

$ lsb_release -rd
Description:    Ubuntu 14.04.1 LTS
Release:        14.04

$ apt-cache policy python-vtk6
python-vtk6:
  Installed: 6.0.0-6
  Candidate: 6.0.0-6
  Version table:
 *** 6.0.0-6 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status


How to reproduce:

$ python -c "import vtk"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/vtk/__init__.py", line 39, in <module>
    from vtkCommonCore import *
  File "/usr/lib/python2.7/dist-packages/vtk/vtkCommonCore.py", line 1, in 
<module>
    from vtkCommonCorePython import *
ImportError: No module named vtkCommonCorePython


Details about the problem:

More specifically, if you check the content of

   /usr/lib/python2.7/dist-packages,

you can see that the symbolic links of the form:

  vtk<KITNAME>Python.so -> ../../../x86_64-linux-
gnu/libvtk<KITNAME>Python27D-6.0.so

are broken and incorrect.

* Broken because the working symbolic link would point to
libvtk<KITNAME>Python27D-6.0.so.6.0

* incorrect because it should instead link to  vtk<KITNAME>Python.so
that is nowhere to be found.


Let me know how we should proceed, if it applies we could also submit a patch 
on VTK gerrit to get the problem fixed upstream. See 
http://www.vtk.org/Wiki/VTK/Git/Develop

Thanks for your help, 
Jc

** Affects: vtk6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1404045

Title:
  import vtk fails because vtk<KITNAME>Python.so are missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vtk6/+bug/1404045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to