# getting fatal error trying to open git gui

8 messages from 2018-03-16 to 2018-03-19. Participants: Briggs, John, Jonathan Nieder, Bryan Turner, Johannes Schindelin.
Thread: https://gitlist.dev/t/48058

## Briggs, John, 2018-03-16 19:03

Subject: getting fatal error trying to open git gui
Message-ID: <CY4PR02MB22621DE7751427686029C1B3FFD70@CY4PR02MB2262.namprd02.prod.outlook.com>
URL: https://gitlist.dev/e/CY4PR02MB22621DE7751427686029C1B3FFD70%40CY4PR02MB2262.namprd02.prod.outlook.com

```
I just installed git for windows 10 and am getting "git-gui: fatal error" "Cannot parse Git version string.

When I execute "git version" in the command prompt I get
Git version 2.16.2.windows.1

Everything else seems to be working. How can I get the gui to work?

John


```

## Jonathan Nieder, 2018-03-16 19:57

Subject: Re: getting fatal error trying to open git gui
Message-ID: <20180316195756.GA151588@aiede.svl.corp.google.com>
URL: https://gitlist.dev/e/20180316195756.GA151588%40aiede.svl.corp.google.com
In-Reply-To: <CY4PR02MB22621DE7751427686029C1B3FFD70@CY4PR02MB2262.namprd02.prod.outlook.com>

```
Hi,

Briggs, John wrote:

> I just installed git for windows 10 and am getting "git-gui: fatal error" "Cannot parse Git version string.
>
> When I execute "git version" in the command prompt I get
> Git version 2.16.2.windows.1
>
> Everything else seems to be working. How can I get the gui to work?

That's strange indeed.  Why is Git capitalized when you run
"git version"?

Thanks,
Jonathan

```

## Briggs, John, 2018-03-16 20:24

Subject: RE: getting fatal error trying to open git gui
Message-ID: <CY4PR02MB2262A567EE2D2A54316BFE3FFFD70@CY4PR02MB2262.namprd02.prod.outlook.com>
URL: https://gitlist.dev/e/CY4PR02MB2262A567EE2D2A54316BFE3FFFD70%40CY4PR02MB2262.namprd02.prod.outlook.com
In-Reply-To: <20180316195756.GA151588@aiede.svl.corp.google.com>

```
Got it figured out. Git gui must be ran as administrator.

John

-----Original Message-----
From: Jonathan Nieder <jrnieder@gmail.com> 
Sent: Friday, March 16, 2018 1:58 PM
To: Briggs, John <JOHN.BRIGGS@aei.com>
Cc: git@vger.kernel.org; git-for-windows@googlegroups.com
Subject: Re: getting fatal error trying to open git gui

Hi,

Briggs, John wrote:

> I just installed git for windows 10 and am getting "git-gui: fatal error" "Cannot parse Git version string.
>
> When I execute "git version" in the command prompt I get Git version 
> 2.16.2.windows.1
>
> Everything else seems to be working. How can I get the gui to work?

That's strange indeed.  Why is Git capitalized when you run "git version"?

Thanks,
Jonathan

```

## Jonathan Nieder, 2018-03-16 20:52

Subject: Re: getting fatal error trying to open git gui
Message-ID: <20180316205243.GB151588@aiede.svl.corp.google.com>
URL: https://gitlist.dev/e/20180316205243.GB151588%40aiede.svl.corp.google.com
In-Reply-To: <CY4PR02MB2262A567EE2D2A54316BFE3FFFD70@CY4PR02MB2262.namprd02.prod.outlook.com>

```
Briggs, John wrote:
> Jonathan Nieder wrote:
>> Briggs, John wrote:

>>> I just installed git for windows 10 and am getting "git-gui: fatal
>>> error" "Cannot parse Git version string.
>>>
>>> When I execute "git version" in the command prompt I get Git version
>>> 2.16.2.windows.1
>>>
>>> Everything else seems to be working. How can I get the gui to work?
>>
>> That's strange indeed.  Why is Git capitalized when you run "git version"?
>
> Got it figured out. Git gui must be ran as administrator.

Hm, that leaves me even more mystified.

Before v1.7.4-rc0~155^2~4 (git-gui: generic version trimming,
2010-10-07), git-gui was not able to handle "git version" output like
"git version 2.16.2.windows.1", but since then, it should have been
able to cope fine with it.

I wonder: do you have multiple versions of git gui installed?

Thanks,
Jonathan

```

## Briggs, John, 2018-03-16 21:01

Subject: RE: getting fatal error trying to open git gui
Message-ID: <CY4PR02MB2262A382E033B50B3800A69CFFD70@CY4PR02MB2262.namprd02.prod.outlook.com>
URL: https://gitlist.dev/e/CY4PR02MB2262A382E033B50B3800A69CFFD70%40CY4PR02MB2262.namprd02.prod.outlook.com
In-Reply-To: <20180316205243.GB151588@aiede.svl.corp.google.com>

```
No, it was a fresh install.  Plus file search reveals only one copy of the file.

I also noticed that I cannot use the file properties to run as administrator. I must right-click on Git GUI and select "More >> Run as administrator" in the start menu. Even though I have "run as administrator" checked on both shortcut and the program (or any combo of).

John

-----Original Message-----
From: Jonathan Nieder <jrnieder@gmail.com> 
Sent: Friday, March 16, 2018 2:53 PM
To: Briggs, John <JOHN.BRIGGS@aei.com>
Cc: git@vger.kernel.org; git-for-windows@googlegroups.com
Subject: Re: getting fatal error trying to open git gui

Briggs, John wrote:
> Jonathan Nieder wrote:
>> Briggs, John wrote:

>>> I just installed git for windows 10 and am getting "git-gui: fatal 
>>> error" "Cannot parse Git version string.
>>>
>>> When I execute "git version" in the command prompt I get Git version
>>> 2.16.2.windows.1
>>>
>>> Everything else seems to be working. How can I get the gui to work?
>>
>> That's strange indeed.  Why is Git capitalized when you run "git version"?
>
> Got it figured out. Git gui must be ran as administrator.

Hm, that leaves me even more mystified.

Before v1.7.4-rc0~155^2~4 (git-gui: generic version trimming, 2010-10-07), git-gui was not able to handle "git version" output like "git version 2.16.2.windows.1", but since then, it should have been able to cope fine with it.

I wonder: do you have multiple versions of git gui installed?

Thanks,
Jonathan

```

## Bryan Turner, 2018-03-16 21:21

Subject: Re: getting fatal error trying to open git gui
Message-ID: <CAGyf7-HmO_URV3kuB2t=PJ7Wf=t9UjAOYbpCLkUNiDPGQ7ca-g@mail.gmail.com>
URL: https://gitlist.dev/e/CAGyf7-HmO_URV3kuB2t%3DPJ7Wf%3Dt9UjAOYbpCLkUNiDPGQ7ca-g%40mail.gmail.com
In-Reply-To: <CY4PR02MB2262A382E033B50B3800A69CFFD70@CY4PR02MB2262.namprd02.prod.outlook.com>

```
On Fri, Mar 16, 2018 at 2:01 PM, Briggs, John <JOHN.BRIGGS@aei.com> wrote:
> No, it was a fresh install.  Plus file search reveals only one copy of the file.
>
> I also noticed that I cannot use the file properties to run as administrator. I must right-click on Git GUI and select "More >> Run as administrator" in the start menu. Even though I have "run as administrator" checked on both shortcut and the program (or any combo of).

You definitely shouldn't need to run it as an administrator at all. I
have the same version installed:

$ git version
git version 2.16.2.windows.1

Running Git GUI from the Start menu, it starts without a UAC prompt
(which means it's not running as Administrator) and runs without
issue. Starting it from a non-escalated command prompt via "git gui"
also does not have a UAC prompt and runs without issue.

Seems like there must be something more going on. What options did you
select during installation? What installer did you use?

Bryan

```

## Briggs, John, 2018-03-19 12:56

Subject: RE: getting fatal error trying to open git gui
Message-ID: <CY4PR02MB22621A5F713D150BCF4BDE71FFD40@CY4PR02MB2262.namprd02.prod.outlook.com>
URL: https://gitlist.dev/e/CY4PR02MB22621A5F713D150BCF4BDE71FFD40%40CY4PR02MB2262.namprd02.prod.outlook.com
In-Reply-To: <CAGyf7-HmO_URV3kuB2t=PJ7Wf=t9UjAOYbpCLkUNiDPGQ7ca-g@mail.gmail.com>

```
I used Git-2.16.2-64-bit.exe to install. I used all defaults except for editor, where I chose Notpad++.

John

-----Original Message-----
From: Bryan Turner <bturner@atlassian.com> 
Sent: Friday, March 16, 2018 3:22 PM
To: Briggs, John <JOHN.BRIGGS@aei.com>
Cc: Jonathan Nieder <jrnieder@gmail.com>; git@vger.kernel.org; git-for-windows@googlegroups.com
Subject: Re: getting fatal error trying to open git gui

On Fri, Mar 16, 2018 at 2:01 PM, Briggs, John <JOHN.BRIGGS@aei.com> wrote:
> No, it was a fresh install.  Plus file search reveals only one copy of the file.
>
> I also noticed that I cannot use the file properties to run as administrator. I must right-click on Git GUI and select "More >> Run as administrator" in the start menu. Even though I have "run as administrator" checked on both shortcut and the program (or any combo of).

You definitely shouldn't need to run it as an administrator at all. I have the same version installed:

$ git version
git version 2.16.2.windows.1

Running Git GUI from the Start menu, it starts without a UAC prompt (which means it's not running as Administrator) and runs without issue. Starting it from a non-escalated command prompt via "git gui"
also does not have a UAC prompt and runs without issue.

Seems like there must be something more going on. What options did you select during installation? What installer did you use?

Bryan

```

## Johannes Schindelin, 2018-03-19 14:13

Subject: RE: getting fatal error trying to open git gui
Message-ID: <nycvar.QRO.7.76.6.1803191512120.55@ZVAVAG-6OXH6DA.rhebcr.pbec.zvpebfbsg.pbz>
URL: https://gitlist.dev/e/nycvar.QRO.7.76.6.1803191512120.55%40ZVAVAG-6OXH6DA.rhebcr.pbec.zvpebfbsg.pbz
In-Reply-To: <CY4PR02MB22621A5F713D150BCF4BDE71FFD40@CY4PR02MB2262.namprd02.prod.outlook.com>

```
Hi John,

On Mon, 19 Mar 2018, Briggs, John wrote:

> I used Git-2.16.2-64-bit.exe to install. I used all defaults except for
> editor, where I chose Notpad++.

If your Git GUI mentions something funny about the version string when run
as normal user, but not when run as administrator, I do suspect some sort
of PATH problem.

Would you mind filling out a full bug report at
https://github.com/git-for-windows/git/issues/new?

Ciao,
Johannes

```
