Bug#823529: paraview-python: Cannot import vtk inside pvpython

2018-11-27 Thread Christophe CT. TROPHIME
actually the problem stems from paraview-python depending on python-vtk6 
which is WRONG


paraview 5.4.0 is build with a "custom" vtk7.
It should ship its own python-vtk7 to work.

There must be some change to cope with that issue!!!


O



Bug#823529: paraview-python: Cannot import vtk inside pvpython

2016-05-05 Thread Ganesh Vijayakumar
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 "", line 1, in 
File "/usr/lib/python2.7/dist-packages/vtk/__init__.py", line 39, in 
from vtkCommonCore import *
File "/usr/lib/python2.7/dist-packages/vtk/vtkCommonCore.py", line 1, in 

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  libc62.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   

paraview-python recommends no packages.

paraview-python suggests no packages.

-- no debconf information