Hi Abel, On Sun, 27 Apr, 2008 at 09:55:56AM +0200, Abel Daniel wrote: > On Sun, Apr 27, 2008 at 10:42:15AM +0530, Varun Hiremath wrote: > > This problem could be related, so please try upgrading mayavi2 and its > > dependencies to the latest versions in unstable. > > I also tried installing python-dbg from unstable, and running mayavi2 > with that. This is what I got: > [EMAIL PROTECTED]:0:~$ which mayavi2 > /usr/bin/mayavi2 > [EMAIL PROTECTED]:0:~$ python-dbg /usr/bin/mayavi2 > Traceback (most recent call last): > File "/usr/bin/mayavi2", line 3, in <module> > from enthought.mayavi.scripts import mayavi2 > File > "/usr/lib/python2.5/site-packages/enthought/mayavi/scripts/mayavi2.py", line > 406, in <module> > from enthought.mayavi.app import Mayavi > File "/usr/lib/python2.5/site-packages/enthought/mayavi/app.py", line 11, > in <module> > from enthought.envisage import _set_using_workbench > File "/usr/lib/python2.5/site-packages/enthought/envisage/__init__.py", > line 7, in <module> > from core.application import Application > File > "/usr/lib/python2.5/site-packages/enthought/envisage/core/application.py", > line 13, in <module> > from enthought.traits.api import Any, Bool, Event, HasTraits, Instance, > List > File "/usr/lib/python2.5/site-packages/enthought/traits/api.py", line 26, > in <module> > from trait_base \ > File "/usr/lib/python2.5/site-packages/enthought/traits/trait_base.py", > line 93, in <module> > import ctraits > ImportError: /usr/lib/python2.5/site-packages/enthought/traits/ctraits.so: > undefined symbol: Py_InitModule4_64 > [20435 refs] > [EMAIL PROTECTED]:1:~$ python -c "import enthought.traits.ctraits as m; print > m.__file__" > /usr/lib/python2.5/site-packages/enthought/traits/ctraits.so > [EMAIL PROTECTED]:0:~$ python-dbg -c "import enthought.traits.ctraits as m; > print m.__file__" > Traceback (most recent call last): > File "<string>", line 1, in <module> > ImportError: /usr/lib/python2.5/site-packages/enthought/traits/ctraits.so: > undefined symbol: Py_InitModule4_64 > [7404 refs] > [EMAIL PROTECTED]:1:~$ > > I don't know whether this cases the segfault when running mayavi2, but > it might be related. (It is quite strange that 'python' can import > that module while 'python-dbg' can't.) I am using the amd64 build of > lenny, are you trying to reproduce this bug on a 32 bit or 64 bit > machine?
Sorry for the late reply, I was occupied with some work. Today I tried the latest version of mayavi2 on an amd64 bit machine, and it works fine for me. [EMAIL PROTECTED]:~$ uname -a Linux debian 2.6.22-3-amd64 #1 SMP Sun Nov 4 18:18:09 UTC 2007 x86_64 GNU/Linux [EMAIL PROTECTED]:~$ dpkg -l mayavi2 | grep mayavi2 ii mayavi2 2.1.1-2+b1 A scientific visualization package for 2-D and 3-D data [EMAIL PROTECTED]:~$ Sorry, I am not able to reproduce this bug on either i386 or amd64 machine. Could you please try to reproduce this bug on some other system and report back? Thanks, Varun -- Varun Hiremath Undergraduate Student, Aerospace Engineering Department, Indian Institute of Technology Madras, Chennai, India ------------------------------------- Homepage: http://varun.travisbsd.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]