fails to handle space in path "bad interpreter: No such file or directory"
Bug #1220836 reported by
charlestu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gerrit |
New
|
Undecided
|
Unassigned | ||
git-review |
New
|
Undecided
|
Unassigned |
Bug Description
Git-review seems to stumble if there is a space in the path to python:
User@BLACKBOX ~/Cite4wiki (master)
$ git-review -s
sh.exe": /c/Program Files/Python27/
"C:\Program Files\Python27\
@python C:\Progra~
Using windows vista sp2; git 1.8.3-preview20
"git-review" is in "C:\Program Files\Python27\
".gitreview" configuration file is in repository directory.
To post a comment you must log in.
Found a workaround here:
https:/ /www.mediawiki. org/wiki/ Talk:Gerrit/ git-review# C:.5CProgram: _bad_interprete r_24676
Tgr suggests that the first line of the "git-review" script file be changed, substituting "Progra~1" for "Program files".
This worked for me.