Re: PyRO Flame and Windows
Assaf <[email protected]>
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <CAASm4ed=O3+5UhO5F2sutnyNWuZOu-CHD6hX1V_uiKkyDaFvTA@mail.gmail.com> |
Hi,
Something is still wrong... with the simplest example
I start a server with:
.\python.exe -m Pyro4.utils.flameserver --port XXXXX --host XXXXXX
Next I just want to run the example from the flame tutorial, I copy the
script to a linux server and execute it, it executes fine.
Now, if I just wait for a minute or two and try to execute it again - the
script just waits forever on:
python /tmp/test_flame.py
/var/tmp/python/lib/python2.7/site-packages/Pyro4-4.16-py2.7.egg/Pyro4/core.py:155:
UserWarning: HMAC_KEY not set, protocol data may not be secure
warnings.warn("HMAC_KEY not set, protocol data may not be secure")
And nothing gets back.
What files / traces would you like me to supply?
Thanks
On Mon, Nov 26, 2012 at 4:54 PM, Assaf <[email protected]> wrote:
> Hi All,
>
> 2 issues we have with the great FLAME feature.
>
> 1. We run a flame server on a Windows host (2008 R2) and execute python
> code on a linux.
> from time to time the client just hangs, after several CTRL-C, re-runs it
> succeeds.
> Windows firewall was disabled.
> it seems like hanging in the line:
> data=sock.recv(size, socket.MSG_WAITALL)
>
> 2. How do I use the builtin 'open' with flame?
> For example, when using:
> fh = flame.builtin("open")(r'C:\\test.txt', 'r')
>
> then, trying to readlines - it complains the file is closed
>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Pyro-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyro-core