Re: Can't get serializers other than serpent to work

Irmen de Jong <[email protected]>
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 12-7-2013 23:13, Ismail wrote:
> I am trying to use pickle as a serializer (mostly because I do not want to 
> be limited to sending and receiving strings) with Pyro4. 
> 
> My setup is as follows:
> Server running on Windows 7 64bit, Python 2.7.5 32bit, with Pyro4 4.20
> Client and NameServer running on Debian Wheezy 64bit, Python 2.7.3 64bit, 
> with Pyro4 4.20
> 
> Pickle works well - independently of Pyro4 - between the two machines.

[...]

> cPickle.UnpicklingError: invalid load key, '#'.

Seems as if you're using serpent on one node and pickle on another.
Make sure the name server also uses pickle.

If you enable Pyro's logging, you can even enable LOGWIRE to see exactly what Pyro sends
over the wire. That should help track down your configuration issue.


Irmen


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
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.