ezyang/git-ftp — Issue #54: Error on Windows
Author: bluebird11
Created: 2012-01-07 12:30:03+00:00
State: open

I am getting the following error(s) when trying to upload git repository using 'python.exe git-ftp.py test' under Windows 7:

INFO: Using .git/ftpdata
Traceback (most recent call last):
File "git-ftp.py", line 357, in
main()
File "git-ftp.py", line 64, in main
if repo.is_dirty() and not options.commit:
File "C:\portable\python2.7\App\lib\site-packages\gitpython-0.3.2.rc1-py2.7.eg
g\git\repo\base.py", line 502, in is_dirty
len(self.git.diff('HEAD', '--cached', *default_args)):
File "C:\portable\python2.7\App\lib\site-packages\gitpython-0.3.2.rc1-py2.7.eg
g\git\cmd.py", line 227, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File "C:\portable\python2.7\App\lib\site-packages\gitpython-0.3.2.rc1-py2.7.eg
g\git\cmd.py", line 456, in _call_process
return self.execute(call, **_kwargs)
File "C:\portable\python2.7\App\lib\site-packages\gitpython-0.3.2.rc1-py2.7.eg
g\git\cmd.py", line 335, in execute
**subprocess_kwargs
File "C:\portable\python2.7\App\lib\subprocess.py", line 679, in __init__
errread, errwrite)
File "C:\portable\python2.7\App\lib\subprocess.py", line 893, in _execute_chil
d
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

As it seems it can successfully find gitpython and ftpdata, but something goes wrong later in execution...