[execnet-dev] Problem with execnet use
holger krekel
holger at merlinux.eu
Mon Jun 14 14:22:33 CEST 2010
Hi Pedro,
On Sun, Jun 13, 2010 at 13:15 -0700, Pedro Marcal wrote:
> Dear Holger,
> You were kind enough to get me started. I tried to run the demo by Stuart
> Perkins on NLTK.
> I ran into the following problem. He suggested I contact the list. I did not
> see a way to log in.
You need to subscribe via http://codespeak.net/mailman/listinfo/execnet-dev
after which you can post mails to execnet-dev at codespeak.net
> Windows7 on ic5.
"ic5"? i haven't used windows7 myself yet.
> opening 4 gateways at localhost
>
>
> Traceback (most recent call last):
> File "C:/CD_data/run_tag_files.py", line 20, in <module>
> gw = execnet.makegateway('ssh=%s//nice=%d' % (host, NICE))
> File
> "C:\Python26\lib\site-packages\execnet-1.0.6-py2.6.egg\execnet\multi.py",
> line 80, in makegateway
> ssh_config=spec.ssh_config, id=id)
> File
> "C:\Python26\lib\site-packages\execnet-1.0.6-py2.6.egg\execnet\gateway.py",
> line 200, in __init__
> super(SshGateway, self).__init__(args, id=id)
> File
> "C:\Python26\lib\site-packages\execnet-1.0.6-py2.6.egg\execnet\gateway.py",
> line 139, in __init__
> self._popen = p = Popen(args, stdin=PIPE, stdout=PIPE)
> File "C:\Python26\lib\subprocess.py", line 633, in __init__
> errread, errwrite)
> File "C:\Python26\lib\subprocess.py", line 842, in _execute_child
> startupinfo)
> WindowsError: [Error 2] The system cannot find the file specified
> [DEBUG ON]
Do you have ssh installed as a command line tool in your windows environment?
I think people did so and had success using ssh-gateways on windows.
If you really just want some "localhost" processes you could just
use "popen//nice=..." which creates sub processes and works without
external dependencies.
cheers,
holger
More information about the execnet-dev
mailing list