Changes between Initial Version and Version 3 of Ticket #4237


Ignore:
Timestamp:
02/16/11 14:38:23 (9 years ago)
Author:
wmoore
Comment:

Tried creating a blitz client from client. See #4376

>>> import omero
>>> c = omero.client("localhost")
>>> s = c.createSession("root", "omero")

>>> import omero.gateway
>>> from omero import client_wrapper
>>> conn = client_wrapper(client_obj=c)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/__init__.py", line 24, in client_wrapper
    return omero.gateway.BlitzGateway(*args, **kwargs)
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 1156, in __init__
    self._resetOmeroClient()
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 1449, in _resetOmeroClient
    self.c = omero.client(pmap=['--Ice.Config='+','.join(self.ice_config)])
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/__init__.py", line 28, in client
    return omero.clients.BaseClient(*args, **kwargs)
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/clients.py", line 122, in __init__
    self._initData(id)
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/clients.py", line 224, in _initData
    self.__ic = Ice.initialize(id)
  File "/opt/Ice-3.3.1/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>
}

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4237

    • Property Sprint changed from 2011-02-10 (5) to 2011-02-24 (6)
    • Property Summary changed from Clarify use of client_obj arg to client_wrapper to Create client_wrapper from client

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.30867 sec.)

We're Hiring!