id summary reporter owner description type status priority milestone component version resolution keywords cc drp_resources i_links o_links remaining_time sprint 4376 Scripting service to use blitz gateway wmoore wmoore "If we can use the blitz gateway in the scripting service, then all Python API users can start in the same place - docs, API learning etc and this functionality is available to Script writers. Need to be able to create a blitz wrapper from the 'client' object provided by the scripting service. {{{ client = script.client(""Script.py"",) }}} First attempt: {{{ >>> 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 """", line 1, in 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> } }}}" task new major OMERO-Beta4.3 OmeroPy cneves 1 2011-02-24 (6)