threads / discuss / 40332

error opening "git gui"

Subject: error opening "git gui"

## tl;dr

5 messages between Sep 11, 2015 and Sep 12, 2015.

replies: 4people: 5as markdown or json

Renato Akaboci· Sep 11, 2015, 16:48 UTC · lore
Hi,

I´m in trouble just after installation of my Git for Windows. I get a box with error saying:

couldn´t read file "C:\Program Files\Git\cmd\mingw64\libexec\git-core\git-gui": no such file or directory

I´ve just installed git as normal. Git Bash works perfectly, and if I
call "git gui" on bash or cmd, it open. I guess that is something
missing on my machine, but I don´t know what.
- My Operational System is Windows 10 x64

Any advice will be appreciated. Thanks in advance

Long· Sep 11, 2015, 18:45 UTC · re: Renato Akaboci · lore

Re: error opening

I'm having the same problem.  In fact, my post was right in front of yours.
 Another thing I notice is that Git commands are not listed in Windows Explorer.
Adrian Ang· Sep 11, 2015, 21:33 UTC · re: Renato Akaboci · lore

Re: error opening

Renato Akaboci <renato.akaboci <at> gmail.com> writes:
Show 18 quoted lines
> 
> Hi,
> 
> I´m in trouble just after installation of my Git for Windows.
> I get a box with error saying:
> 
> couldn´t read file "C:\Program
> Files\Git\cmd\mingw64\libexec\git-core\git-gui": no such file or
> directory
> 
> I´ve just installed git as normal. Git Bash works perfectly, and if I
> call "git gui" on bash or cmd, it open. I guess that is something
> missing on my machine, but I don´t know what.
> - My Operational System is Windows 10 x64
> 
> Any advice will be appreciated.
> Thanks in advance
> 
I'm having the exact same problem. 

Installation proceeds normally, but trying to open Git GUI will always fail with the same error message you have.

I tried searching the Registry to see if this is a misconfiguration somewhere, but no such setting exists in my registry. I don't know if this configuration is baked into the Windows x64 Git GUI executable or set in an ini or config file somewhere.

I'm trying to document the install process for my team's implementation of git. If this issue can't be resolved, or if previous Windows installer versions aren't available, my team's git implementation is blocked.

We could try to simply copy the "missing" subdirectory (which actually does exist somewhere else) into the "cmd" subdirectory, but that would seem really clumsy and it will affect the team members' first impressions of git. We're trying to move from SVN to git, and most of my team members have not used git before.

Any assistance or reply from the devs would be appreciated.  Thank you.
Johannes Schindelin· Sep 12, 2015, 09:56 UTC · re: Adrian Ang · lore

Re: error opening

Hi Adrian,
please note that Renato never got your mail (you should always use reply-to-all). I re-Cc:ed him, please do not forget to reply-to-all next time.
On 2015-09-11 23:33, Adrian Ang wrote:
Show 10 quoted lines
> Renato Akaboci <renato.akaboci <at> gmail.com> writes:
>>
>> I´m in trouble just after installation of my Git for Windows.
>> I get a box with error saying:
>>
>> couldn´t read file "C:\Program
>> Files\Git\cmd\mingw64\libexec\git-core\git-gui": no such file or
>> directory
> 
> I'm having the exact same problem. 
Please see the corresponding ticket: https://github.com/git-for-windows/git/issues/376
In short: I will release an updated installer soon, with other fixes. In the meantime, as a work-around you could right-click on the Git GUI shortcut (you can right-click the icon in the Windows menu and open the file location to get there), select Properties... and change the Target: from
"C:\Program Files\Git\cmd\git-gui.exe"
to
"C:\Program Files\Git\cmd\git.exe" gui
It will open an ugly, unnecessary console until the next Git for Windows version is available, but at least it will work until then.
Out of curiosity: how did you go about finding the best place to report this bug?

Ciao, Johannes

← back to recent threads