locateNS() hangs when running stockquotes example in tutorial
Kenneth Martin <martin-TxPoQvD3IN4C6LszWs/[email protected]> Tue, 06 Jan 2015 18:06:16 -0500
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
Disclaimer, I'm brand new to Pyro4 and may be doing something stupid.
Details: running Debian Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11
01:36:09 UTC 2014 armv7l GNU/Linux
on a Beaglebone Black C.
Pyro4: 4.31
I set the environment variable per tutorial:
export PYRO_SERIALIZERS_ACCEPTED=pickle, but I may have done this after
running >pyro4-ns &
When running the stockquote tutorial phase 3, I determined using winpdb
that aggregator.py was hanging on line 34
ns = Pyro4.locateNS()
I then changed serializer to serpent (environment variables and code in
three programs and example worked),
I then changed back to pickle, and now it worked.
I'm guessing that I may have started the nameserver before I set the
environment variable, but if I now unset it,
I get lots of errors when starting the nameserver so I can't replicate it.
When it was hanging, I believe it was hanging while waiting to acquire a
lock starting with __, in a release function, but since I
can't replicate it, I can't be more exact.
Summary, there may be a problem with the tutorial in 4.31 in an out of
the box set-up.
Also, maybe some checks for consistency on serializers might help. Not
sure if this helps, but for new users having the tutorials
work is so critical, I thought it might be worth taking the time, as
Pyro4 looks like a great module; Irmen, much appreciated.
Bit_Pusher
------------------------------------------------------------------------------
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
_______________________________________________
Pyro-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyro-core