[ome-devel] Python bindings when creating new service

Donald MacDonald donald.macdonald at ed.ac.uk
Fri May 11 12:23:02 BST 2012


Hi,

I have created a new service in OMERO. I originally had the service as a pure blitz service, 
but I have had to push it down into the lower EJB services as I need the PixelService to have 
access to it.

I can access the service from Java, but when I try and call the service from Python I get the 
following error:

>>> import omero.clients
>>> a = omero.client('localhost')
>>> b = a.createSession('root','ome')
>>> c = b.createHPCService()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/donald/openmicroscopy/dist/lib/python/omero_API_ice.py", line 283, in createHPCService
    return _M_omero.api.ServiceFactory._op_createHPCService.invoke(self, ((), _ctx))
RuntimeError: class ::omero::api::IHPCServicePrx is declared but not defined
>>> 


Any ideas as to what I have missed?

Regards

D.



-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the ome-devel mailing list