Re: pyrolite - java error if remote object includes further libs in called method

Irmen de Jong <[email protected]>
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 14-6-2013 17:24, Handzsuj, Thomas wrote:
> Hi,
> 
> I am very happy about Pyro4 and pyrolite but I have an issue in using pyrolite with Java.

Hi Thomas!
Thanks for your interest in Pyro and for your extensive and exemplary problem report :)

[...]
> ... but if I change get_data to:
> 
>     def get_data(self):
>         return list(self.x)
> 
> ... an Java exception occurs:
> 
> Exception in thread "main" net.razorvine.pickle.PickleException: expected zero arguments for construction of ClassDict

Strange, will look into this soon.
I don't have experience with numpy though. Is list(some-numpy-type) doing something odd?
What are the elements of the resulting list?


> I tried Pyro4 4.20 but I get a incompatibility with the protocol even if I set
> Pyro4.config.SERIALIZER = 'pickle'

Yeah, I haven't put any effort in Pyrolite yet to bring it up-to-date with the new
serialization protocols. It's on my list though.

Cheers
Irmen



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.