[PyKDE] ANN: first release of IVuPy-0.1

Juan Pablo Romero jpablo.romero at gmail.com
Thu Feb 23 08:19:52 GMT 2006


Hi!

I've just finished compiling IVuPy. This happens upon loading the iv module:

===================================
Python 2.4.1 (#1, Sep 13 2005, 00:39:20)
[GCC 4.0.2 20050901 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import iv
Segment violation
===================================

doing a backtrace with gdb shows this:

===================================
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076395424 (LWP 14116)]
0x400888ef in PyType_IsSubtype () from /usr/lib/libpython2.4.so.1.0
(gdb) bt
#0  0x400888ef in PyType_IsSubtype () from /usr/lib/libpython2.4.so.1.0
#1  0x40342f9e in initsip () from /usr/lib/python2.4/site-packages/sip.so
#2  0x40343306 in initsip () from /usr/lib/python2.4/site-packages/sip.so
#3  0x429f1baf in initqt () from /usr/lib/python2.4/site-packages/qt.so
#4  0x400c939a in _PyImport_LoadDynamicModule () from
/usr/lib/libpython2.4.so.1.0
#5  0x400c7b3e in PyImport_AppendInittab () from /usr/lib/libpython2.4.so.1.0
#6  0x400c832e in PyImport_ReloadModule () from /usr/lib/libpython2.4.so.1.0
#7  0x400c8550 in PyImport_ReloadModule () from /usr/lib/libpython2.4.so.1.0
#8  0x400c89e3 in PyImport_ImportModuleEx () from /usr/lib/libpython2.4.so.1.0
#9  0x400a45ee in _PyUnicodeUCS4_IsAlpha () from /usr/lib/libpython2.4.so.1.0
#10 0x40077cdd in PyCFunction_Call () from /usr/lib/libpython2.4.so.1.0
#11 0x40051647 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#12 0x40051726 in PyObject_CallFunction () from /usr/lib/libpython2.4.so.1.0
#13 0x400c8e0b in PyImport_Import () from /usr/lib/libpython2.4.so.1.0
#14 0x400c8ff5 in PyImport_ImportModule () from /usr/lib/libpython2.4.so.1.0
#15 0x40346cb4 in initsip () from /usr/lib/python2.4/site-packages/sip.so
#16 0x405119cc in initiv () from /usr/lib/python2.4/site-packages/iv.so
#17 0x400c939a in _PyImport_LoadDynamicModule () from
/usr/lib/libpython2.4.so.1.0
#18 0x400c7b3e in PyImport_AppendInittab () from /usr/lib/libpython2.4.so.1.0
#19 0x400c832e in PyImport_ReloadModule () from /usr/lib/libpython2.4.so.1.0
#20 0x400c8550 in PyImport_ReloadModule () from /usr/lib/libpython2.4.so.1.0
#21 0x400c89e3 in PyImport_ImportModuleEx () from /usr/lib/libpython2.4.so.1.0
#22 0x400a45ee in _PyUnicodeUCS4_IsAlpha () from /usr/lib/libpython2.4.so.1.0
#23 0x40077cdd in PyCFunction_Call () from /usr/lib/libpython2.4.so.1.0
#24 0x40051647 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#25 0x400ac0bf in PyEval_CallObjectWithKeywords () from
/usr/lib/libpython2.4.so.1.0
#26 0x400af068 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#27 0x400b277d in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#28 0x400b2a75 in PyEval_EvalCode () from /usr/lib/libpython2.4.so.1.0
#29 0x400ce2a8 in PyErr_Display () from /usr/lib/libpython2.4.so.1.0
#30 0x400cfa68 in PyRun_InteractiveOneFlags () from /usr/lib/libpython2.4.so.1.0
#31 0x400cfb83 in PyRun_InteractiveLoopFlags () from
/usr/lib/libpython2.4.so.1.0
#32 0x400d015b in PyRun_AnyFileExFlags () from /usr/lib/libpython2.4.so.1.0
#33 0x400d6478 in Py_Main () from /usr/lib/libpython2.4.so.1.0
#34 0x080485fa in main ()
===================================

What is wrong here?


Regards

     Juan Pablo


2006/2/12, Gerard Vermeulen <gerard.vermeulen at grenoble.cnrs.fr>:
> I am proud to announce IVuPy-0.1 (I-View-Py).
>
> IVuPy is a Python extension module developed to write Python programs
> for 3D visualization of large data sets using Qt and PyQt.  Python is
> extended by IVuPy with more than 600 classes of two of the Coin3D C++
> class libraries: Coin and SoQt.
>
> Coin is compatible with the Open Inventor API.  Open Inventor is an
> object-oriented 3D toolkit built on OpenGL that provides a 3D scene
> database, a built-in event model for user interaction, and the ability
> to print objects and exchange data with other graphics formats.
> The SoQt library interfaces Coin to Qt. See http://www.coin3d.org for
> more information on Coin3D.
>
> IVuPy requires at least one of the Numerical Python extension modules:
> NumPy, Numeric, or numarray (IVuPy works with all of them at once).
> Data transfer between the Numerical Python arrays and the Coin data
> structures has been implemented by copying.
>
> The design of the Open Inventor API favors ease of use over performance.
> The API is a natural match for Python, and in my opinion it is fun to
> program with IVuPy.
>
> The performance penalty of the design choice is small. The first example
> at http://ivupy.sourceforge.net/examples.html demonstrates this: NumPy
> calculates a surface with a million nodes in 1.7 seconds and Coin3D
> redisplays the surface in 0.3 seconds on my Linux system with a 3.6 GHz
> Pentium and a nVidea graphics card (NV41.1).
>
> The Inventor Mentor ( http://www.google.com/search?q=inventor+mentor )
> is essential for learning IVuPy.  The IVuPy documentation supplements
> the Inventor Mentor.  IVuPy includes all C++ examples from the Inventor
> Mentor and their Python translations.  There are also more advanced
> examples to show the integration of IVuPy and PyQt.
>
> IVuPy has been used for almost 6 months on Linux and Windows in the
> development of a preprocessor for a finite element flow solver and has
> been proven to be very stable.
>
> Prerequisites for IVuPy are:
> - Python-2.4.x or -2.3.x
> - at least one of NumPy, numarray, or Numeric
> - Qt-3.3.x, -3.2.x, or -3.1.x
> - SIP-4.3.x or -4.2.1
> - PyQt-3.15.x or -3.14.1
> - Coin-2.4.4 or -2.4.3
> - SoQt-1.3.0 or -1.2.0
>
> IVuPy is licensed under the terms of the GPL.  Contact me, if the GPL is
> an obstacle for you.
>
> http://ivupy.sourceforge.net is the home page of IVuPy.
>
> Have fun -- Gerard Vermeulen
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>




More information about the PyQt mailing list