Could not import omero.cli!

Having a problem deploying OMERO? Here's a great place to start.

Could not import omero.cli!

Postby djackson » Tue Feb 28, 2012 7:49 pm

Hello OME developers,

First of all a big thanks to all of you for developing what looks to be a great resource for managing scientific images!

I'm having some trouble getting the final install steps working for the omero.server on an iMac running Lion 10.7.3

When I try to configure omero using bin/omero/config as described in the documentation I get the following error:


********************************************************************************

ERROR: Could not import omero.cli! (dlopen(/opt/Ice-3.3.1/python/IcePy.so, 2): no suitable image found. Did find:
/opt/Ice-3.3.1/python/IcePy.so: mach-o, but wrong architecture)

This means that your installation is incomplete. Contact
the OME mailing lists for more information:

https://www.openmicroscopy.org/site/community

If you are building from source, please supply the build log
as well as which version you are building from. If you
downloaded a distribution, please provide which link you
used.

********************************************************************************

Debugging Info:
--------------
CWD=/Applications/OMERO
VERSION=2.7.1 (r271:86832, Jul 31 2011, 19:30:53) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
OMERO_HOME=/Applications/OMERO
PYTHONPATH=['/Applications/OMERO/lib/python', '/Applications/OMERO/var/lib', '/Applications/OMERO/bin', '/opt/Ice-3.3.1/python', '/Applications/OMERO', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages', '/Applications/OMERO/lib/fallback']


Any advice/help you could give to a non-seasoned IT type would be very much appreciated!
djackson
 
Posts: 3
Joined: Tue Feb 28, 2012 7:33 pm

Re: Could not import omero.cli!

Postby jmoore » Tue Feb 28, 2012 8:38 pm

djackson wrote:First of all a big thanks to all of you for developing what looks to be a great resource for managing scientific images!


Gladly!

I'm having some trouble getting the final install steps working for the omero.server on an iMac running Lion 10.7.3


We ran into the same issue internally while trying to get developers moved to 10.7. We'll try to bundle up what we compiled, and make it downloadable somewhere as quickly as possible. If you'd rather try compiling it yourself, we can send instructions.

Sorry for the inconvenience! Version maintenance is always a bear.
~Josh.
User avatar
jmoore
Team Member
 
Posts: 1058
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Could not import omero.cli!

Postby djackson » Tue Feb 28, 2012 9:43 pm

Thanks for the super fast reply Josh,

OK, compiling myself could be a challenge but if the update will take a while I'm game to give it a shot (especially if the documentation is as good as what I've seen so far)...
djackson
 
Posts: 3
Joined: Tue Feb 28, 2012 7:33 pm

Re: Could not import omero.cli!

Postby jmoore » Thu Mar 01, 2012 9:52 am

djackson wrote:OK, compiling myself could be a challenge but if the update will take a while I'm game to give it a shot (especially if the documentation is as good as what I've seen so far)...


Heh. Thanks for the compliment. In this case, it will be a bit more difficult. The work we've done so far to get Ice working on 10.7 (see http://www.zeroc.com/forums/patches/5647-patch-compiling-ice-clang-gcc4-7-a.html) is for Ice 3.4, which won't work with OMERO4.3.

Instead, I'm going to need to apply the same patch to Ice 3.3, at which point compiling should be fairly straight-forward.

I'll keep you posted. Sorry for the troubles!
~Josh
User avatar
jmoore
Team Member
 
Posts: 1058
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Could not import omero.cli!

Postby djackson » Thu Mar 01, 2012 10:36 am

Thanks Josh - I'll stay tuned!
djackson
 
Posts: 3
Joined: Tue Feb 28, 2012 7:33 pm

Re: Could not import omero.cli!

Postby jmoore » Thu Mar 22, 2012 10:27 am

Ice binaries are ready for 10.7. Read more.

~Josh
User avatar
jmoore
Team Member
 
Posts: 1058
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 0 guests