I'm a developer with the CellProfiler project looking to add an OMERO interface to CellProfiler 2.0. Someone at OME was kind enough to set me up with an account on the demo server, but I sense that I will need to be running a server of my own in order to really play with the OMERO Python API. Unfortunately, I'm having an extremely difficult time trying to setup OMERO server on my machine. Here goes:
Platform:
Mac OS X 10.5, 32bit Intel
Currently installed:
OMERO clients Beta 4.2.2
Ice-3.3.1 (via binary)
Ice Python extension (built from source)
PostgreSQL 8.3.10 server (via macports)
Java 1.6.0_03-p3
Python 2.5.4
Following the instructions on http://www.openmicroscopy.org/site/supp ... stallation get me to the point where I can start the server, and yet I am unable to actually connect to it via OMERO.insight or by using the Python API:
- Code: Select all
>>> import omero
>>> c = omero.client()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/afraser/Desktop/omero/lib/python/omero/__init__.py", line 23, in client
return omero.clients.BaseClient(*args, **kwargs)
File "/Users/afraser/Desktop/omero/lib/python/omero/clients.py", line 122, in __init__
self._initData(id)
File "/Users/afraser/Desktop/omero/lib/python/omero/clients.py", line 224, in _initData
self.__ic = Ice.initialize(id)
File "/opt/Ice-3.3/python/Ice.py", line 340, in initialize
communicator = IcePy.Communicator(args, data)
Ice.EndpointParseException: exception ::Ice::EndpointParseException
{
str = ssl -p 4064 -h <"omero.host" not set>
}
>>>
Where can I set omero.host?
Also in omero.properties, I have:
- Code: Select all
omero.db.host=localhost
omero.db.port=5432
omero.db.name=omero
omero.db.user=omero
omero.db.pass=omero
Isn't this the information that I should set in Insight when logging in? When I try to use these settings I get "Failed to log onto OMERO. Please check the port or try again later."... I also tried port 4064 and 4080 Previously I was getting password errors, so it seems that I've taken a step backward somehow.
Any help would be much appreciated.
-Adam