[ome-devel] omero 4.0.3: omeroPy problem
b.gerritsen at nki.nl
b.gerritsen at nki.nl
Wed Jun 23 10:23:33 BST 2010
Dear all,
When building omero 4.0.3 on Ubuntu 10.04 I get a supposedly successful build, but no python (".py") files in the "dist/lib/python/" folder. Included in the attachment is the build log.
I have naively tried to copy the python files from "components/tools/OmeroPy/target/" to the "dist/lib/python/" folder. This partially solves the problem, but I cannot create a gateway as shown below:
PYTHONPATH=. python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import omero
>>> c = omero.client('wooki')
>>> s = c.createSession('root', 'ome')
>>> g = s.createGateway()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "omero_API_ice.py", line 4387, in createGateway
return _M_omero.api.ServiceFactory._op_createGateway.invoke(self, ((), _ctx))
RuntimeError: class ::omero::api::GatewayPrx is declared but not defined
>>>
The above problem remains, even when setting the pythonpath to the "dist/lib/python/" of a copy of omero 4.0.3 from another computer where the build DID produce python files in "dist/lib/python/". Could someone tell me what might be the problem?
Kind Regards,
Bram
PS:
As opposed to omero 4.0.3, the following python code does work for an omero 4.2 build on the very same system:
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import omero
>>> c = omero.client('localhost')
>>> s = c.createSession('root', 'ome')
>>> g = s.createGateway()
>>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: text/x-log
Size: 248823 bytes
Desc: build.log
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20100623/f42e129e/attachment-0001.bin>
More information about the ome-devel
mailing list