Re: Finally getting where I can replicate problems with stockquotes phase3 tutorial

Irmen de Jong <[email protected]> Wed, 07 Jan 2015 23:52:22 +0100
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 7-1-2015 21:03, Kenneth Martin wrote:

> 1) Tutorial works fine with serpent serializer.


Well, I'll be damned :-)

It appears that in the current Pyro version not only the warehouse tutorial but ALSO the
stockmarket tutorial code indeed does work fine with serpent. No pickle config at all
necessary.

This makes things a lot easier (for the tutorial) and I will remove it from the tutorial
code and from the docs!


In the meantime you can make things work at your end, without fiddling with serializer
settings, by doing this:
- ignore the comments about setting the PYRO_SERIALIZERS_ACCEPTED environment var
- remove the two lines of code that set the pickle serializer from all three source
files from the stockmarket tutorial.


Apologies for the confusion this caused on your end. However, the tutorial does actually
also work fine as written currently (with pickle serialization configured).


Irmen


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net