Bug#839802: mayavi2: Import error for mlab: No module named pyface.tvtk_scene

2016-10-06 Thread Yaroslav Halchenko
Package: mayavi2
Version: 4.4.3-2.2
Followup-For: Bug #839802

it seems disappeared in .2 NMU with changelog

mayavi2 (4.4.3-2.2) unstable; urgency=medium

  * Non-maintainer upload.
  * Fix compilation against vtk_6.3. (Closes: #830342)
  * Add dh-strip-nondeterminism to build-depends.


$> ETS_TOOLKIT=qt4 MNE_DONTWRITE_HOME=true MNE_SKIP_SAMPLE_DATASET_TESTS=true 
MNE_FORCE_SERIAL=true MNE_SKIP_NETWORK_TESTS=1 xvfb-run --auto-servernum 
--server-num=20 -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" 
python -c 'import mayavi; from mayavi import mlab;'

WARNING: Imported VTK version (6.3) does not match the one used
 to build the TVTK classes (6.2). This may cause problems.
 Please rebuild TVTK.


Segmentation fault
2 16283 ->139.:Thu 06 Oct 2016 09:59:20 AM 
EDT:.
hopa:~
$> dpkg -L mayavi2 | grep pyface.tvtk_scene
/usr/lib/python2.7/dist-packages/tvtk/pyface/tvtk_scene.py
2 16284.:Thu 06 Oct 2016 09:59:45 AM EDT:.
hopa:~
$> apt-cache policy mayavi2
mayavi2:   
  Installed: 4.4.3-2.1
  Candidate: 4.4.3-2.2
  Version table:
 4.4.3-2.2 900
900 http://http.debian.net/debian stretch/main amd64 Packages
600 http://http.debian.net/debian sid/main amd64 Packages
 *** 4.4.3-2.1 100
100 /var/lib/dpkg/status
2 16285.:Thu 06 Oct 2016 09:59:53 AM EDT:.
hopa:~
$> sudo apt-get install -qqq -t sid mayavi2  
(Reading database ... 771970 files and directories currently installed.)
Preparing to unpack .../mayavi2_4.4.3-2.2_amd64.deb ...
Unpacking mayavi2 (4.4.3-2.2) over (4.4.3-2.1) ...
Processing triggers for menu (2.1.47) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up mayavi2 (4.4.3-2.2) ...
Processing triggers for menu (2.1.47) ...
sudo apt-get install -qqq -t sid mayavi2  7.22s user 1.18s system 67% cpu 
12.359 total
2 16286.:Thu 06 Oct 2016 10:00:14 AM EDT:.
hopa:~
$> dpkg -L mayavi2 | grep pyface.tvtk_scene
2 16287 ->1.:Thu 06 Oct 2016 10:00:16 AM 
EDT:.
hopa:~
$> ETS_TOOLKIT=qt4 MNE_DONTWRITE_HOME=true MNE_SKIP_SAMPLE_DATASET_TESTS=true 
MNE_FORCE_SERIAL=true MNE_SKIP_NETWORK_TESTS=1 xvfb-run --auto-servernum 
--server-num=20 -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" 
python -c 'import mayavi; from mayavi import mlab;'
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python2.7/dist-packages/mayavi/mlab.py", line 27, in 
from mayavi.tools.camera import view, roll, yaw, pitch, move
  File "/usr/lib/python2.7/dist-packages/mayavi/tools/camera.py", line 25, in 

from engine_manager import get_engine
  File "/usr/lib/python2.7/dist-packages/mayavi/tools/engine_manager.py", line 
14, in 
from mayavi.core.engine import Engine
  File "/usr/lib/python2.7/dist-packages/mayavi/core/engine.py", line 28, in 

from mayavi.core.base import Base
  File "/usr/lib/python2.7/dist-packages/mayavi/core/base.py", line 19, in 

from tvtk.pyface.tvtk_scene import TVTKScene
ImportError: No module named pyface.tvtk_scene
Segmentation fault



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 
'unstable-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages mayavi2 depends on:
ii  libc6 2.23-5
ii  libjs-jquery  1.12.4-1
ii  python2.7.11-2
ii  python-apptools   4.3.0-1
ii  python-configobj  5.0.6-2
ii  python-envisage   4.4.0-1
ii  python-numpy [python-numpy-abi9]  1:1.11.1~rc1-1
ii  python-pkg-resources  27.1.2-1
ii  python-traits 4.5.0-1+b2
ii  python-traitsui   4.5.1-1
ii  python-vtk6   6.3.0+dfsg1-1+b3
ii  python-wxgtk3.0   3.0.2.0+dfsg-3
pn  python:any

mayavi2 recommends no packages.

Versions of packages mayavi2 suggests:
ii  ipython   2.4.1-1
ii  python-scipy  0.18.0-1

-- no debconf information



Bug#839802: mayavi2: Import error for mlab: No module named pyface.tvtk_scene

2016-10-05 Thread Bernhard Thiel
Package: mayavi2
Version: 4.4.3-2.2
Severity: normal

Dear Maintainer,

   In the mayavi2 package some files from tvtk.pyface seem to be missing (they 
are present at github).
   In particular, trying to import mlab gives the following traceback 

  >>> from mayavi import mlab
  Traceback (most recent call last):
File "", line 1, in 
File "/usr/lib/python2.7/dist-packages/mayavi/mlab.py", line 27, in 
  from mayavi.tools.camera import view, roll, yaw, pitch, move
File "/usr/lib/python2.7/dist-packages/mayavi/tools/camera.py", line 25, in 

  from engine_manager import get_engine
File "/usr/lib/python2.7/dist-packages/mayavi/tools/engine_manager.py", 
line 14, in 
  from mayavi.core.engine import Engine
File "/usr/lib/python2.7/dist-packages/mayavi/core/engine.py", line 28, in 

  from mayavi.core.base import Base
File "/usr/lib/python2.7/dist-packages/mayavi/core/base.py", line 19, in 

  from tvtk.pyface.tvtk_scene import  TVTKScene
ImportError: No module named pyface.tvtk_scene



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

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

Versions of packages mayavi2 depends on:
ii  libc6 2.24-3
ii  libjs-jquery  1.12.4-1
ii  python2.7.11-2
ii  python-apptools   4.3.0-1
ii  python-configobj  5.0.6-2
ii  python-envisage   4.4.0-1
ii  python-numpy [python-numpy-abi9]  1:1.11.2~rc1-1
ii  python-pkg-resources  28.0.0-1
ii  python-traits 4.5.0-1+b2
ii  python-traitsui   4.5.1-1
ii  python-vtk6   6.3.0+dfsg1-1+b3
ii  python-wxgtk3.0   3.0.2.0+dfsg-3
pn  python:any

mayavi2 recommends no packages.

Versions of packages mayavi2 suggests:
pn  ipython   
ii  python-scipy  0.18.0-1

-- no debconf information