We're Hiring!

OMERO_HOME=None

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

OMERO_HOME=None

Postby Tomas » Wed Dec 08, 2010 2:15 pm

Hey, not sure where I am going wrong in this install. I am installing as per the Mac OS X 10.5 instructions: http://www.openmicroscopy.org/site/support/omero4/server/install-omero-4.2-on-mac-os-x-10.5

When I get to the point of setting the password, I get this error message. Does this mean it cannot find the Omero home directory?

I'm sorry if this is a really thick question, I'm a very "learn as I go along" guy when it comes to command line stuff.

bio1466:omero tomc$ bin/omero config set omero.db.pass omero
********************************************************************************

ERROR: Could not import omero.cli! (No module named Ice)

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=/Users/tomc/Desktop/omero
VERSION=2.5.1 (r251:54863, Sep 1 2010, 22:03:14) [GCC 4.0.1 (Apple Inc. build 5465)]
OMERO_HOME=None
PYTHONPATH=['/Users/tomc/Desktop/omero/lib/python', '/Users/tomc/Desktop/omero/var/lib', '/Users/tomc/Desktop/omero/bin', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload', '/Library/Python/2.5/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC', '/Users/tomc/Desktop/omero/lib/fallback']
Tomas
 
Posts: 1
Joined: Wed Dec 08, 2010 2:11 pm

Re: OMERO_HOME=None

Postby jmoore » Wed Dec 08, 2010 3:37 pm

Hi Tomas,

the bit about OMERO_HOME=None is not a problem. It just means that you have not manually set OMERO_HOME in your environment (which is usually a good thing, unless you have particular, advanced needs).

The more critical issue is:
Code: Select all
ERROR: Could not import omero.cli! (No module named Ice)


How did you install Ice? This is under the "Prerequisites" section of http://www.openmicroscopy.org/site/support/omero4/server/installation#section-1.

If you did successfully install Ice, the most likely problem is that you did not add the ICE_HOME directories to your environment (.bashrc, etc.), which is the next section "Environment variables" under the instructions.

Under Mac OSX 10.6, I set my variables in .bashrc like this:
Code: Select all
    export ICE_HOME=/opt/Ice-3.3.1-64
    export PATH=$ICE_HOME/bin:$PATH
    export DYLD_LIBRARY_PATH=$ICE_HOME/lib:$ICE_HOME/python:$DYLD_LIBRARY_PATH
    export PYTHONPATH=$ICE_HOME/python:$PYTHONPATH


Hope that helps.
~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
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 1 guest