Patrick and Hartmut, Just finished a fresh install of ubuntu Intrepid Ibex 8.10 on my home machine. With this setup, I was able to replicate these errors. Hope to try a manual build of osg 2.4 soon, did you try that? regards, Gerwin
ps. follow this issue here: http://code.google.com/p/osgswig/issues/detail?id=17 On Sun, Nov 16, 2008 at 10:36 PM, Hartmut Seichter <[EMAIL PROTECTED]> wrote: > I haven't updated to intrepid and actually I am not sure if osgSWIG should > compile against OSG 2.4.0 you can check with gdb where exactly it crashes. A > wild guess of mine is that like so often the actual OSG libraries are not in > your LD_LIBRARY_PATH or the sys.path of your Python interpreter. > > H > > > Patrick Bouffard wrote: >> >> Curiosity got the better of me and I went ahead and upgraded to >> Intrepid, which allowed me to get OSG 2.4.0 out of the standard >> repositories. I was then able to build osgswig successfully, but I >> can't get any of the examples to work, they all segfault: >> >> [EMAIL PROTECTED]:~/dev/osgswig-read-only/examples/python$ ./simpleosg.py >> Segmentation fault >> >> [EMAIL PROTECTED]:~/dev/osgswig-read-only/examples/python$ python -v >> pyramid.py >> # installing zipimport hook >> import zipimport # builtin >> # installed zipimport hook >> # /usr/lib/python2.5/site.pyc matches /usr/lib/python2.5/site.py >> import site # precompiled from /usr/lib/python2.5/site.pyc >> # /usr/lib/python2.5/os.pyc matches /usr/lib/python2.5/os.py >> import os # precompiled from /usr/lib/python2.5/os.pyc >> import errno # builtin >> import posix # builtin >> # /usr/lib/python2.5/posixpath.pyc matches /usr/lib/python2.5/posixpath.py >> import posixpath # precompiled from /usr/lib/python2.5/posixpath.pyc >> # /usr/lib/python2.5/stat.pyc matches /usr/lib/python2.5/stat.py >> import stat # precompiled from /usr/lib/python2.5/stat.pyc >> # /usr/lib/python2.5/UserDict.pyc matches /usr/lib/python2.5/UserDict.py >> import UserDict # precompiled from /usr/lib/python2.5/UserDict.pyc >> # /usr/lib/python2.5/copy_reg.pyc matches /usr/lib/python2.5/copy_reg.py >> import copy_reg # precompiled from /usr/lib/python2.5/copy_reg.pyc >> # /usr/lib/python2.5/types.pyc matches /usr/lib/python2.5/types.py >> import types # precompiled from /usr/lib/python2.5/types.pyc >> import _types # builtin >> # /usr/lib/python2.5/new.pyc matches /usr/lib/python2.5/new.py >> import new # precompiled from /usr/lib/python2.5/new.pyc >> # zipimport: found 9 names in >> /usr/lib/python2.5/site-packages/configobj-4.4.0-py2.5.egg >> # /usr/lib/python2.5/sitecustomize.pyc matches >> /usr/lib/python2.5/sitecustomize.py >> import sitecustomize # precompiled from >> /usr/lib/python2.5/sitecustomize.pyc >> # /usr/lib/python2.5/site-packages/apport_python_hook.pyc matches >> /usr/lib/python2.5/site-packages/apport_python_hook.py >> import apport_python_hook # precompiled from >> /usr/lib/python2.5/site-packages/apport_python_hook.pyc >> # /usr/lib/python2.5/warnings.pyc matches /usr/lib/python2.5/warnings.py >> import warnings # precompiled from /usr/lib/python2.5/warnings.pyc >> # /usr/lib/python2.5/linecache.pyc matches /usr/lib/python2.5/linecache.py >> import linecache # precompiled from /usr/lib/python2.5/linecache.pyc >> import encodings # directory /usr/lib/python2.5/encodings >> # /usr/lib/python2.5/encodings/__init__.pyc matches >> /usr/lib/python2.5/encodings/__init__.py >> import encodings # precompiled from >> /usr/lib/python2.5/encodings/__init__.pyc >> # /usr/lib/python2.5/codecs.pyc matches /usr/lib/python2.5/codecs.py >> import codecs # precompiled from /usr/lib/python2.5/codecs.pyc >> import _codecs # builtin >> # /usr/lib/python2.5/encodings/aliases.pyc matches >> /usr/lib/python2.5/encodings/aliases.py >> import encodings.aliases # precompiled from >> /usr/lib/python2.5/encodings/aliases.pyc >> # /usr/lib/python2.5/encodings/utf_8.pyc matches >> /usr/lib/python2.5/encodings/utf_8.py >> import encodings.utf_8 # precompiled from >> /usr/lib/python2.5/encodings/utf_8.pyc >> 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. >> # /home/patrick/dev/osgswig-read-only/build/lib/python/osg.pyc matches >> /home/patrick/dev/osgswig-read-only/build/lib/python/osg.py >> import osg # precompiled from >> /home/patrick/dev/osgswig-read-only/build/lib/python/osg.pyc >> dlopen("/home/patrick/dev/osgswig-read-only/build/lib/python/_osg.so", 2); >> import _osg # dynamically loaded from >> /home/patrick/dev/osgswig-read-only/build/lib/python/_osg.so >> # /usr/lib/python2.5/weakref.pyc matches /usr/lib/python2.5/weakref.py >> import weakref # precompiled from /usr/lib/python2.5/weakref.pyc >> dlopen("/usr/lib/python2.5/lib-dynload/_weakref.so", 2); >> import _weakref # dynamically loaded from >> /usr/lib/python2.5/lib-dynload/_weakref.so >> # /home/patrick/dev/osgswig-read-only/build/lib/python/osgDB.pyc >> matches /home/patrick/dev/osgswig-read-only/build/lib/python/osgDB.py >> import osgDB # precompiled from >> /home/patrick/dev/osgswig-read-only/build/lib/python/osgDB.pyc >> dlopen("/home/patrick/dev/osgswig-read-only/build/lib/python/_osgDB.so", >> 2); >> import _osgDB # dynamically loaded from >> /home/patrick/dev/osgswig-read-only/build/lib/python/_osgDB.so >> # /home/patrick/dev/osgswig-read-only/build/lib/python/osgGA.pyc >> matches /home/patrick/dev/osgswig-read-only/build/lib/python/osgGA.py >> import osgGA # precompiled from >> /home/patrick/dev/osgswig-read-only/build/lib/python/osgGA.pyc >> dlopen("/home/patrick/dev/osgswig-read-only/build/lib/python/_osgGA.so", >> 2); >> import _osgGA # dynamically loaded from >> /home/patrick/dev/osgswig-read-only/build/lib/python/_osgGA.so >> # /home/patrick/dev/osgswig-read-only/build/lib/python/osgViewer.pyc >> matches /home/patrick/dev/osgswig-read-only/build/lib/python/osgViewer.py >> import osgViewer # precompiled from >> /home/patrick/dev/osgswig-read-only/build/lib/python/osgViewer.pyc >> >> dlopen("/home/patrick/dev/osgswig-read-only/build/lib/python/_osgViewer.so", >> 2); >> Segmentation fault >> >> .. any ideas? >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > > > -- > Hartmut Seichter, PhD (HKU), Dipl-Ing.(BUW), Postdoctoral Fellow, HITLabNZ > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

