5 | | {{{ |
6 | | client = script.client("Script.py",) |
7 | | }}} |
8 | | |
9 | | First attempt: |
10 | | {{{ |
11 | | >>> import omero |
12 | | >>> c = omero.client("localhost") |
13 | | >>> s = c.createSession("root", "omero") |
14 | | |
15 | | >>> import omero.gateway |
16 | | >>> from omero import client_wrapper |
17 | | >>> conn = client_wrapper(client_obj=c) |
18 | | Traceback (most recent call last): |
19 | | File "<stdin>", line 1, in <module> |
20 | | File "/Users/will/Desktop/OMERO/dist/lib/python/omero/__init__.py", line 24, in client_wrapper |
21 | | return omero.gateway.BlitzGateway(*args, **kwargs) |
22 | | File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 1156, in __init__ |
23 | | self._resetOmeroClient() |
24 | | File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 1449, in _resetOmeroClient |
25 | | self.c = omero.client(pmap=['--Ice.Config='+','.join(self.ice_config)]) |
26 | | File "/Users/will/Desktop/OMERO/dist/lib/python/omero/__init__.py", line 28, in client |
27 | | return omero.clients.BaseClient(*args, **kwargs) |
28 | | File "/Users/will/Desktop/OMERO/dist/lib/python/omero/clients.py", line 122, in __init__ |
29 | | self._initData(id) |
30 | | File "/Users/will/Desktop/OMERO/dist/lib/python/omero/clients.py", line 224, in _initData |
31 | | self.__ic = Ice.initialize(id) |
32 | | File "/opt/Ice-3.3.1/python/Ice.py", line 340, in initialize |
33 | | communicator = IcePy.Communicator(args, data) |
34 | | Ice.EndpointParseException: exception ::Ice::EndpointParseException |
35 | | { |
36 | | str = ssl -p 4064 -h <"omero.host" not set> |
37 | | } |
38 | | |
39 | | }}} |
| 5 | Once this is done, we can start converting some of the scripts over to blitz gateway. |
| 6 | - Examples (edit description etc) |
| 7 | - Util scripts |
| 8 | - At least some figure-scripts. For ones we don't have time for, maybe add comment to script in case anyone tries to copy! |