Bug#529961: [Python-apps-team] Bug#534524: Bug#534524: mayavi2: at runtime, ImportError: No module named libvtkCommonPython

2009-06-25 Thread A. Maitland Bottoms
Varun Hiremath writes:
...
 > A new version of python-vkt 5.2.1-6 was uploaded today which seems to
 > fix #529961. But, for me there is no change in the behavior. I am
 > still able to import vtk but not libvtkCommonPython. Does the new
 > version work for you?
 > 
 > Regards,
 > Varun
 > 
 > ===
 > $$ ipython
 > --(09:35:21 PM)--
 > Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47)
 > Type "copyright", "credits" or "license" for more information.
 > 
 > IPython 0.8.4 -- An enhanced Interactive Python.
 > ? -> Introduction and overview of IPython's features.
 > %quickref -> Quick reference.
 > help  -> Python's own help system.
 > object?   -> Details about 'object'. ?object also works, ?? prints
 > more.
 > 
 > In [1]: import vtk
 > 
 > In [2]: from libvtkCommonPython import *

Shouldn't that be:

from vtk.libvtkCommonPython import *

That works for me.

-Maitland



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#529961: [Python-apps-team] Bug#534524: Bug#534524: mayavi2: at runtime, ImportError: No module named libvtkCommonPython

2009-06-25 Thread Drew Parsons
On Thu, 2009-06-25 at 21:49 -0400, Varun Hiremath wrote:
> Hi Drew,
> 
> A new version of python-vkt 5.2.1-6 was uploaded today which seems to
> fix #529961. But, for me there is no change in the behavior. I am
> still able to import vtk but not libvtkCommonPython. Does the new
> version work for you?
> 

Yep, all perfect now.  I'll take the liberty of closing the mayavi2 bug.

Thanks Varun and Maitland!

Drew





-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#529961: [Python-apps-team] Bug#534524: Bug#534524: mayavi2: at runtime, ImportError: No module named libvtkCommonPython

2009-06-25 Thread Varun Hiremath
Hi Drew,

On Thu, 25 Jun, 2009 at 04:02:51PM +1000, Drew Parsons wrote:
> I bumped up the severity of python-vtk #529961, on the grounds of
> "breaks unrelated software" (i.e. breaks mayavi2), and marked it as a
> blocker for this bug.

A new version of python-vkt 5.2.1-6 was uploaded today which seems to
fix #529961. But, for me there is no change in the behavior. I am
still able to import vtk but not libvtkCommonPython. Does the new
version work for you?

Regards,
Varun

===
$$ ipython
--(09:35:21 PM)--
Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47)
Type "copyright", "credits" or "license" for more information.

IPython 0.8.4 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help  -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints
more.

In [1]: import vtk

In [2]: from libvtkCommonPython import *
---
ImportError   Traceback (most recent call last)

/home/varun/ in ()

ImportError: No module named libvtkCommonPython
===


ii  libc6 2.9-4   GNU C Library: Shared lib
ii  libjs-jquery  1.3.3-1 JavaScript library for dy
ii  libvtk5.2 5.2.1-6 Visualization Toolkit - A
ii  python2.5.2-2 An interactive high-level
ii  python-apptools   3.2.0-1 ETS Application Tools
ii  python-central0.6.11  register and build utilit
ii  python-configobj  4.5.2-2 a simple but powerful con
ii  python-envisagecore   3.1.0-1 Extensible Application Fr
ii  python-envisageplugins3.1.0-1 Plugins for the Envisage 
ii  python-numpy  1:1.1.1-1   Numerical Python adds a f
ii  python-pkg-resources  0.6c9-2 Package Discovery and Res
ii  python-traits 3.1.0-1 Manifest typing and react
ii  python-traitsgui  3.0.4-1 Traits-capable windowing 
ii  python-vtk5.2.1-6 Python bindings for VTK
ii  python-wxgtk2.8   2.8.7.1-1.1 wxWidgets Cross-platform 
ii  python2.5 2.5.4-1 An interactive high-level




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org