Hi Sol,
could you maybe edit
py/execnet/gateway.py
in line 29, enabling the writing to the debug file?
and try the example and send the content
of the created debug file(s) here?
Could you also see what ">>> gw" gives before
channel.receive() is called?
best,
holger
On Fri, Jan 11, 2008 at 14:13 -0500, Sol Simpson wrote:
> Hi holger,
>
> Thanks for the reply.
>
> Print gw:
>
> <PopenGateway receiving/sending (0 active channels)>
>
> Print: gw.remote_exec("channel.send(42)").receive()
>
> Hangs like before.
>
> I am running 0.9.0, compiled using setup.py
>
> I have tried with stackless python 2.5.1 and standard python 2.5.1.
>
> Please let me know fi there is something else I can try.
>
> Thanks again,
>
> Sol Simpson
> SR Research Ltd.
>
> -----Original Message-----
> From: holger krekel [mailto:[EMAIL PROTECTED]
> Sent: January 11, 2008 12:00 PM
> To: Sol Simpson
> Cc: [email protected]
> Subject: Re: [py-dev] issues running py.execnet
>
> Hi Sol,
>
> i tried the example with the 0.9.0 py release on my Windows XP box
> with Python 2.5.1 - works for me.
>
> are you also using 0.9.0?
>
> Could you give me the output of
>
> >>> gw
>
> and
>
> >>> gw.remote_exec("channel.send(42)").receive()
>
> ?
>
> best,
>
> holger
>
> On Thu, Jan 10, 2008 at 16:53 -0500, Sol Simpson wrote:
> > I'm trying to test out py.execnet running one of the examples:
> >
> >
> >
> > import py
> >
> > gw = py.execnet.PopenGateway()
> >
> > channel = gw.remote_exec("""
> >
> > import os
> >
> > channel.send(os.getpid())
> >
> > """)
> >
> > remote_pid = channel.receive()
> >
> > print remote_pid != py.std.os.getpid()
> >
> >
> >
> > The issue is that the program hangs on the channel.receive() call. In task
> > manager I can see that a second python.exe has been launched, but that is
> > it. The only way to exit the app is to kill one of the python.exe in the
> > task manager.
> >
> >
> >
> > Any insight would be very helpful.
> >
> >
> >
> > I'm running python 2.5.1 on Windows XP SP2.
> >
> >
> >
> > Thank you,
> >
> >
> >
> > Sol
> >
> >
> >
>
> > _______________________________________________
> > py-dev mailing list
> > [email protected]
> > http://codespeak.net/mailman/listinfo/py-dev
>
>
> --
> merlinux GmbH
> http://merlinux.de
>
--
merlinux GmbH
http://merlinux.de
_______________________________________________
py-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/py-dev