[ome-devel] using blitz
Bernhard Voigt
bernhard.voigt at gmail.com
Tue Nov 18 11:53:22 GMT 2008
Dear all,
I've started working with the ice-python interface of omero blitz.
Unfortunately, I came across some problems. Using the binary
distribution of Beta3.1.1 does not work right away since there is a
problem with the generated python code. There are several method calls
in many files of the form:
return _M_omero.model.IObject._op_unload.invoke(self, ((), _ctx))
The call on the python ice object yields an error that the method
needs 3 rather than 2 arguments. Removing the tuple parantheses around
((), _ctx) solves the problem. I had to do this change in many files,
tough. Is this a problem with my Python-Ice version, which is 3.2.1?
Another problem I see is that not all classes are present, e.g. I
can't follow the examples on
http://trac.openmicroscopy.org.uk/omero/wiki/OmeroClients#TreeList
since there is no omero.util.ParametersI python class available.
I then tried to compile blitz and ice-python myself to see whether
this is just a problem of the binary package. I'm using the sources
from http://cvs.openmicroscopy.org.uk/svn/omero/tags/Beta3.1.1 and
ran $java omero setup before compilation.
I tried several build targets build-default, build-blitz, build-py but
none of them created dist/bin/omero or bin/omero to start the blitz
server, neither the python bindings were generated in dist/lib/
Would be great if someone can give me advice how to setup the build
and/or help to fix the problems with the binary distribution.
Thanks! Bernhard
More information about the ome-devel
mailing list