Python visual module fails on import (x86-64)

Bug #472002 reported by Andy Buckley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-visual (Ubuntu)
New
Undecided
Unassigned

Bug Description

I've installed the Python visual module on my Lenovo Thinkpad T400 lapton, running 64 bit Ubuntu Karmic. When I try to import visual, I get a segfault:

andy@duality:~$ python
Python 2.6.4rc2 (r264rc2:75497, Oct 20 2009, 02:54:09)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import visual
Segmentation fault

running instead with python -v, the last debug elements are as follows:

# /usr/lib/python2.6/dist-packages/visual/crayola.pyc matches /usr/lib/python2.6/dist-packages/visual/crayola.py
import visual.crayola # precompiled from /usr/lib/python2.6/dist-packages/visual/crayola.pyc
# /usr/lib/python2.6/colorsys.pyc matches /usr/lib/python2.6/colorsys.py
import colorsys # precompiled from /usr/lib/python2.6/colorsys.pyc
dlopen("/usr/lib/python2.6/dist-packages/cvisualmodule.so", 2);
Segmentation fault

Help! ;)

affects: linux (Ubuntu) → python-visual (Ubuntu)
Revision history for this message
Stefan Gieseke (gieseke) wrote :

I get strange behaviour here as well!

If I do the same, I get this
---
$ python
Python 2.6.4 (r264:75706, Nov 2 2009, 14:44:17)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import visual
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/visual/__init__.py", line 59, in <module>
    import cvisual
AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only
>>>
---
instead of the segfault...

Please help!

Revision history for this message
Scott Howard (showard314) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 457688, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.