Repository navigation
|
I am updating code that was previously Linux-only to support Windows, and my tests are failing on Windows with muthaf*ckin' errors like I can successfully execute the same command that is shown for "cmdline:" manually at the Windows command prompt. The f*ckin' connection uses ssh keys, so no password is used/needed. Any ideas? |
Replies: 2 comments
|
Listen up: It looks like SSH is refusing to work in the motherf*ckin' environment that the tests are executed in, hence it can't authenticate and the clone fails. |
|
I finally figured out the problem, goddammit. I was running this through WinPython, and its muthaf*ckin' batch files that set the environment prior to running python.exe assign a f*ckin' value to HOME (that is not the muthaf*ckin' current user's home directory). Apparently, that confuses ssh because when I tweaked my muthaf*ckin' process for starting python.exe in WinPython to clear the HOME variable, that fixed the damn problem. …so the goddamn problem has nothing to do with GitPython, but others attempting to use GitPython under WinPython will likely encounter the same problem. My specific fix was to stop using WinPython's scripts/python.bat to run Python and to instead call its scripts/env.bat to set up the environment, then |
I finally figured out the problem, goddammit. I was running this through WinPython, and its muthaf*ckin' batch files that set the environment prior to running python.exe assign a f*ckin' value to HOME (that is not the muthaf*ckin' current user's home directory). Apparently, that confuses ssh because when I tweaked my muthaf*ckin' process for starting python.exe in WinPython to clear the HOME variable, that fixed the damn problem.
…so the goddamn problem has nothing to do with GitPython, but others attempting to use GitPython under WinPython will likely encounter the same problem.
My specific fix was to stop using WinPython's scripts/python.bat to run Python and to instead call its scripts/env.bat to set up the environment, then
SET HOME=, then executeif not…