git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* getting fatal error trying to open git gui
@ 2018-03-16 19:03 Briggs, John
  2018-03-16 19:57 ` Jonathan Nieder
  0 siblings, 1 reply; 8+ messages in thread
From: Briggs, John @ 2018-03-16 19:03 UTC (permalink / raw)
  To: git@vger.kernel.org

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: getting fatal error trying to open git gui
  2018-03-16 19:03 getting fatal error trying to open git gui Briggs, John
@ 2018-03-16 19:57 ` Jonathan Nieder
  2018-03-16 20:24   ` Briggs, John
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Nieder @ 2018-03-16 19:57 UTC (permalink / raw)
  To: Briggs, John; +Cc: git@vger.kernel.org, git-for-windows

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: getting fatal error trying to open git gui
  2018-03-16 19:57 ` Jonathan Nieder
@ 2018-03-16 20:24   ` Briggs, John
  2018-03-16 20:52     ` Jonathan Nieder
  0 siblings, 1 reply; 8+ messages in thread
From: Briggs, John @ 2018-03-16 20:24 UTC (permalink / raw)
  To: Jonathan Nieder; +Cc: git@vger.kernel.org, git-for-windows@googlegroups.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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: getting fatal error trying to open git gui
  2018-03-16 20:24   ` Briggs, John
@ 2018-03-16 20:52     ` Jonathan Nieder
  2018-03-16 21:01       ` Briggs, John
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Nieder @ 2018-03-16 20:52 UTC (permalink / raw)
  To: Briggs, John; +Cc: git@vger.kernel.org, git-for-windows@googlegroups.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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: getting fatal error trying to open git gui
  2018-03-16 20:52     ` Jonathan Nieder
@ 2018-03-16 21:01       ` Briggs, John
  2018-03-16 21:21         ` Bryan Turner
  0 siblings, 1 reply; 8+ messages in thread
From: Briggs, John @ 2018-03-16 21:01 UTC (permalink / raw)
  To: Jonathan Nieder; +Cc: git@vger.kernel.org, git-for-windows@googlegroups.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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: getting fatal error trying to open git gui
  2018-03-16 21:01       ` Briggs, John
@ 2018-03-16 21:21         ` Bryan Turner
  2018-03-19 12:56           ` Briggs, John
  0 siblings, 1 reply; 8+ messages in thread
From: Bryan Turner @ 2018-03-16 21:21 UTC (permalink / raw)
  To: Briggs, John
  Cc: Jonathan Nieder, git@vger.kernel.org,
	git-for-windows@googlegroups.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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: getting fatal error trying to open git gui
  2018-03-16 21:21         ` Bryan Turner
@ 2018-03-19 12:56           ` Briggs, John
  2018-03-19 14:13             ` Johannes Schindelin
  0 siblings, 1 reply; 8+ messages in thread
From: Briggs, John @ 2018-03-19 12:56 UTC (permalink / raw)
  To: Bryan Turner
  Cc: Jonathan Nieder, git@vger.kernel.org,
	git-for-windows@googlegroups.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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: getting fatal error trying to open git gui
  2018-03-19 12:56           ` Briggs, John
@ 2018-03-19 14:13             ` Johannes Schindelin
  0 siblings, 0 replies; 8+ messages in thread
From: Johannes Schindelin @ 2018-03-19 14:13 UTC (permalink / raw)
  To: Briggs, John
  Cc: Bryan Turner, Jonathan Nieder, git@vger.kernel.org,
	git-for-windows@googlegroups.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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-03-19 14:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-16 19:03 getting fatal error trying to open git gui Briggs, John
2018-03-16 19:57 ` Jonathan Nieder
2018-03-16 20:24   ` Briggs, John
2018-03-16 20:52     ` Jonathan Nieder
2018-03-16 21:01       ` Briggs, John
2018-03-16 21:21         ` Bryan Turner
2018-03-19 12:56           ` Briggs, John
2018-03-19 14:13             ` Johannes Schindelin

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).