[Python-apps-team] Bug#478017: Bug#478017: mayavi2 crashes instantly on startup
Abel Daniel
abeld at angel.elte.hu
Sun Apr 27 07:55:56 UTC 2008
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:
abeld at csik:0:~$ which mayavi2
/usr/bin/mayavi2
abeld at csik: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]
abeld at csik:1:~$ python -c "import enthought.traits.ctraits as m; print m.__file__"
/usr/lib/python2.5/site-packages/enthought/traits/ctraits.so
abeld at csik: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]
abeld at csik: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?
Thanks in advance,
Daniel Abel
abli at freemail.hu
More information about the Python-apps-team
mailing list