[ome-users] python 2.5 segmentation fault

Björn Quast bquast at evolution.uni-bonn.de
Fri Jun 5 21:50:59 BST 2009


Hello,
I just have installed omero with the Ice rpms for SuSE on an SuSE 10.1. 
Although this distribution comes with python 2.5 the rpm installs the Ice-
python modules to  /usr/lib64/python2.4/site-packages. Thus I got the message:

Traceback (most recent call last):
  File "./omero", line 67, in <module>
    import omero.cli
  File "/var/omero/dist/omero_dist/lib/python/omero/__init__.py", line 14, in 
<module>
    import Ice, Glacier2
ImportError: No module named Ice


When I point PYTHONPATH to this directory or copy it to the right directory, I 
get a segmentation fault:

Traceback (most recent call last):
  File "./omero", line 67, in <module>
    import omero.cli
  File "/var/omero/dist/omero_dist/lib/python/omero/__init__.py", line 14, in 
<module>
    import Ice, Glacier2
  File "/usr/lib64/python2.4/site-packages/Ice/Ice.py", line 197, in <module>
    import Ice_Locator_ice
  File "/usr/lib64/python2.4/site-packages/Ice/Ice_Locator_ice.py", line 160, 
in <module>
    class LocatorPrx(Ice.ObjectPrx):
TypeError: Error when calling the metaclass bases
    type 'IcePy.ObjectPrx' is not an acceptable base type
segmentation fault


Is Ice only working with Python 2.4? Should I try to compile Ice or is it 
better to install an older Python?


  
Thanks in advance 
Bjoern


-- 
Dr. Björn Quast
Universität Bonn
Institut für Evolutionsbiologie und Ökologie  
53121 Bonn
Tel.: 0228/735758   email: bquast at evolution.uni-bonn.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20090605/91b12c0e/attachment.html>


More information about the ome-users mailing list