[cgkit-user] cgkit on Ubuntu 8.10
Brought to you by:
mbaas
|
From: Tauscher <tau...@ab...> - 2009-02-10 22:48:32
|
Hi all,
I have built cgkit on Ubuntu 8.10 Intrepid Ibex without any serious errors. I tested some scripts which I made some years ago under Windows, but unfortunately they are not working the way I remember they did. At least camera movement seems missing. When running the provided unittests I get segmentation faults for most tests, see appendix. Also, if I try to import from cgkit.all at the python shell, there's a segmentation fault and the python interpreter quits.
Are their any known issues with Debian Linux, Ubuntu or this Ubuntu version? Or am I missing something else?
Thanks for any hint!
Regards,
Helga
$ python
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from cgkit.all import *
Segmentation fault
$
$ for i in test_*; do echo; echo _____________ $i ____________; python $i; done
_____________ test_arrayslots.py ____________
test_arrayslots.py:11: Warning: 'as' will become a reserved keyword in Python 2.6
...
test_arrayslots.py:233: Warning: 'as' will become a reserved keyword in Python 2.6
Segmentation fault
_____________ test_beziercurvegeom.py ____________
......
----------------------------------------------------------------------
Ran 6 tests in 0.017s
OK
_____________ test_boundingbox.py ____________
.
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK
_____________ test_boxgeom.py ____________
Segmentation fault
_____________ test_ccylindergeom.py ____________
Segmentation fault
_____________ test_component.py ____________
Segmentation fault
_____________ test_euleradapter.py ____________
Segmentation fault
_____________ test_geomobject.py ____________
Segmentation fault
_____________ test_maimport.py ____________
Segmentation fault
_____________ test_mat3_light.py ____________
...................................
----------------------------------------------------------------------
Ran 35 tests in 0.011s
OK
_____________ test_mat3.py ____________
..Segmentation fault
_____________ test_mat4_light.py ____________
........................................
----------------------------------------------------------------------
Ran 40 tests in 0.027s
OK
_____________ test_mat4.py ____________
........Segmentation fault
_____________ test_mayaascii.py ____________
E...
======================================================================
ERROR: testDefaultMAReader (__main__.TestMayaAscii)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_mayaascii.py", line 16, in testDefaultMAReader
rd.read("data/objects.ma")
File "/usr/lib/python2.5/site-packages/cgkit/mayaascii.py", line 1163, in read
cpp(f)
File "/usr/lib/python2.5/site-packages/cgkit/simplecpp.py", line 128, in __call__
fhandle = file(source, "rt")
IOError: [Errno 2] No such file or directory: 'data/objects.ma'
----------------------------------------------------------------------
Ran 4 tests in 0.002s
FAILED (errors=1)
_____________ test_mayabinary.py ____________
E
======================================================================
ERROR: testMBReader (__main__.TestMayaBinary)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_mayabinary.py", line 311, in testMBReader
rd.read("data/polycubescene.mb")
File "/usr/lib/python2.5/site-packages/cgkit/mayabinary.py", line 197, in read
file = open(file, "rb")
IOError: [Errno 2] No such file or directory: 'data/polycubescene.mb'
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (errors=1)
_____________ test_planegeom.py ____________
Segmentation fault
_____________ test_planegeom.pyc ____________
Segmentation fault
_____________ test_polyhedron.py ____________
Segmentation fault
_____________ test_quat_light.py ____________
.......................
----------------------------------------------------------------------
Ran 23 tests in 0.008s
OK
_____________ test_quat.py ____________
.....Segmentation fault
_____________ test_ri.py ____________
Warning: numpy module not found. Skipping numpy test in ritest.py.
.Segmentation fault
_____________ test_slots.py ____________
test_slots.py:12: Warning: 'as' will become a reserved keyword in Python 2.6
...
test_slots.py:64: Warning: 'as' will become a reserved keyword in Python 2.6
Segmentation fault
_____________ test_slparams.py ____________
E
======================================================================
ERROR: Test the slparams.slparams() function.
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_slparams.py", line 11, in testSlparams
res = slparams.slparams("data/testshader.sl")
File "/usr/lib/python2.5/site-packages/cgkit/slparams.py", line 269, in slparams
slsrc = preprocess(cpp, slfile, cpperrstream=cpperrstream, defines=defines, includedirs=includedirs)
File "/usr/lib/python2.5/site-packages/cgkit/slparams.py", line 338, in preprocess
return cpp(file, cpperrstream)
File "/usr/lib/python2.5/site-packages/cgkit/simplecpp.py", line 128, in __call__
fhandle = file(source, "rt")
IOError: [Errno 2] No such file or directory: 'data/testshader.sl'
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (errors=1)
_____________ test_spheregeom.py ____________
Segmentation fault
_____________ test_torusgeom.py ____________
Segmentation fault
_____________ test_transformslot.py ____________
Segmentation fault
_____________ test_trimesh.py ____________
Segmentation fault
_____________ test_vec3_light.py ____________
.............................
----------------------------------------------------------------------
Ran 29 tests in 0.009s
OK
_____________ test_vec3.py ____________
..Segmentation fault
_____________ test_vec4_light.py ____________
........................
----------------------------------------------------------------------
Ran 24 tests in 0.007s
OK
_____________ test_vec4.py ____________
...Segmentation fault
_____________ test_worldobject.py ____________
Segmentation fault
|