Package: paraview-python
Version: 5.0.1+dfsg1-4
Severity: important

Dear Maintainer,

   * What led up to the situation?

I'm unable to import the vtk module inside pvpython. I would like to be able to 
use the vtk.numpy_interface.dataset_adapter module/package. Strangely, this 
works when using just python instead of pvpython.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

ganesh@tesla:$ pvpython
Python 2.7.10 (default, Jul  1 2015, 10:54:53)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
Traceback (most recent call last):
File "<stdin>", 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 *
TypeError: value must be a class or type
>>> import paraview.vtk
>>> import paraview.vtk.numpy_interface
>>> import paraview.vtk.numpy_interface.dataset_adapter
Segmentation fault
ganesh@tesla:$ python
Python 2.7.10 (default, Jul  1 2015, 10:54:53)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
>>>


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages paraview-python depends on:
ii  libc6        2.19-22
ii  libgcc1      1:5.2.1-23
ii  libstdc++6   5.2.1-23
ii  paraview     5.0.1+dfsg1-4
ii  python       2.7.9-1
ii  python-vtk6  6.2.0+dfsg1-11.1
pn  python:any   <none>

paraview-python recommends no packages.

paraview-python suggests no packages.

-- no debconf information

Reply via email to