Continuing GitHub issues in EAP

So I reinstalled git for windows.

Issue still persists.

WS11 no problem, WS12EAP fails .

 

So here is what happens when I just do a pull

WS11

12:39:23.840: cd C:\workamajig\web
12:39:23.915: git -c core.quotepath=false fetch origin --progress --prune

WS12

12:35:14.764: [..\..\web] git -c core.quotepath=false fetch origin --progress --prune
'C:\Users\Robert' is not recognized as an internal or external command,
operable program or batch file.
error: unable to read askpass response from 'C:\Users\Robert Edgar\.WebStorm2016.1\system\tmp\git-askpass-.bat'
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': No error

 

Note that WS11 starts with a cd into the project folder, WS12 doesnt.

The config is the same in WS11 and WS12, testing GIT and GitHub from WS settings returns 'sucess'

The problem probably stems from my windows username has a space in the middle and when written to some config file it wasn't quoted 

I have uninstalled EAP12 about 5 times today, I have reinstalled GIT twice.

 

Any idea how I might fix this.

Just for clarity I point out that WS11 still works 100% correctly at the same time as WS12 doesn't work at all

Thanks

Rob

4 comments

Hi there,

That is indeed because you have a space in your user name --> "C:\Users\Robert Edgar"

Similar issues (same "space" problem):

0

So no work around?

Just have to wait until some day it gets fixed?

or change my windows user name and then reinstall all of my software on my PC?

 

though this was and still is working in WS11

0

That's a obvious regression which must have been introduced by some recent refactoring of VCS/git related code.

Changing Windows user name most likely will not help -- AFAIK it changes the visible name only -- the actual folder name remains unchanged (I could be wrong, but that's what I remember from doing similar change in Windows 7).

I suggest to ping those tickets (leave comments asking about workarounds/ETA for fix) .. maybe even create your own ticket (although based on comment devs are aware of such scenario already).

Base on the error text you have provided (the "'C:\Users\Robert Edgar\.WebStorm2016.1\system\tmp\git-askpass-.bat" part in particular), the possible workaround would be to edit "idea.properties" file (may be called "webstorm.properties" in your case, not sure) and point "system" folder (where IDE stored indexes/caches/etc) to another location with no space in a path. See this link: https://intellij-support.jetbrains.com/hc/en-us/articles/207240985-Changing-IDE-default-directories-used-for-config-plugins-and-caches-storage

0

That worked!!!

 

Thanks a lot for that.

Rob

 

0

Please sign in to leave a comment.