Zero-deploy on windows machines - unable to open copied deployed-rpyc.py

96 views
Skip to first unread message

Ashley Straw

unread,
Jan 14, 2014, 2:06:26 PM1/14/14
to rp...@googlegroups.com
ProcessExecutionError: Command line: ['/usr/bin/sshpass', '-p', '****', 'ssh', 'Administrator@****82', 'cd', '/home/Administrator', '&&', '/cygdrive/c/Python27/python', '/tmp/tmp.TObKM2jCzD/deployed-rpyc.py']
Exit code: 2
Stderr:  | C:\Python27\python.exe: can't open file '/tmp/tmp.TObKM2jCzD/deployed-rpyc.py': [Errno 2] No such file or directory
> /usr/local/lib/python2.7/site-packages/rpyc-3.3.0-py2.7.egg/rpyc/utils/zerodeploy.py(113)__init__()
    112             stdout, stderr = self.proc.communicate()
--> 113             raise ProcessExecutionError(self.proc.argv, self.proc.returncode, line + stdout, stderr)
    114
Exit code: 2
Stderr:  | C:\Python27\python.exe: can't open file '/tmp/tmp.2X3UgDSivg/deployed-rpyc.py': [Errno 2] No such file or directory


(Certain code parts munged). I can manually go in via SSH or RDP and see the files are there after I get the error. Any ideas? 

Tomer Filiba

unread,
Jan 14, 2014, 3:15:55 PM1/14/14
to rpyc
probably a cygwin issue... it seems you're running the windows-built python (c:\python27\python.exe) instead of the cygwin-compiled version.
i guess that if you managed to run /usr/bin/python instead that would work.


-tomer

-----------------------------------------------------------------
    
Tomer Filiba 
tomerfiliba.com        


--
 
---
You received this message because you are subscribed to the Google Groups "rpyc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rpyc+uns...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages