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

Jura <[email protected]>
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
Ismail <ismailnegm@...> writes:

> 
> 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. 
> 
> ...
>   File "C:\Python27\lib\site-packages\Pyro4\util.py", line 334, in loads
>     return pickle.loads(data)
> cPickle.UnpicklingError: invalid load key, '#'.
> 


Hi Ismail,


you need to set the pickle also for your nameserver before starting it.
Optinally you can setup following env. variable:

set PYRO_SERIALIZER=pickle


Cheers, Jura


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&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.