Git GUI does not start

4 messages, 4 authors, 2021-08-14 · open the first message on its own page

Git GUI does not start

From: Gerhard Buch <hidden>
Date: 2021-08-11 13:47:26

Hi,

Git GUI does not start any more and I'd like to share the bugreport below. Any idea how I can get diagnostic information to find die problem?

best regards

Gerhard


--------------------------------------------
What did you do before the bug happened? (Steps to reproduce your issue)
Open Git GUI -> choose open existing projekt
It worked with the previsous version 2.28 before. Before posting the bugreport I updated to the most recent version to be at the latest version.

What did you expect to happen? (Expected behavior)
That Git GUI opens...

What happened instead? (Actual behavior)
Git GUI icon appears in task bar, but not the usual Git GUI window.
On left click on the task bar icon, the top entry says Wish Application. On choosing this entry two Windows appear.
One is empty. The second is titled "Konsole" and has (System32) 1% in the field below the menu bar.
What's different between what you expected and what actually happened?
Git Gui does not start and there is no indication on possible reasons for this.

Anything else you want to add:
I've checked the project directory with git cmd:
git status:
On branch <branch name>
nothing to commit, working tree clean


[System Info]
git version:
git version 2.32.0.windows.2
cpu: x86_64
built from commit: 3d45ac813c4adf97fe3733c1f763ab6617d5add5
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
uname: Windows 10.0 17763
compiler info: gnuc: 10.3
libc info: no libc information available
$SHELL (typically, interactive shell): <unset>
[Enabled Hooks]

Re: Git GUI does not start

From: Emily Shaffer <hidden>
Date: 2021-08-11 22:03:40

On Wed, Aug 11, 2021 at 03:47:23PM +0200, Gerhard Buch wrote:
Hi,

Git GUI does not start any more and I'd like to share the bugreport below. Any idea how I can get diagnostic information to find die problem?

best regards

Gerhard
FWIW, we also received a user report that this is happening on MacOS,
looks like also related to something wrong with this Wish dependency:

"""
Getting the following error when running git gui command on terminal.

$ git gui

/usr/local/git/git-388133509.245/libexec/git-core/git-gui: line 8:
/usr/local/git/git-388133509.245/share/git-gui/lib/Git Gui.app/Contents/MacOS/Wish: No such file or directory
/usr/local/git/git-388133509.245/libexec/git-core/git-gui: line 8: exec:
/usr/local/git/git-388133509.245/share/git-gui/lib/Git Gui.app/Contents/MacOS/Wish: cannot execute: No such file or directory
"""

Seems like we had this problem with our MacOS release some years ago
too, but I don't see much useful info on that years-old report about how
we fixed it last time...

--------------------------------------------
What did you do before the bug happened? (Steps to reproduce your issue)
Open Git GUI -> choose open existing projekt
It worked with the previsous version 2.28 before. Before posting the bugreport I updated to the most recent version to be at the latest version.

What did you expect to happen? (Expected behavior)
That Git GUI opens...

What happened instead? (Actual behavior)
Git GUI icon appears in task bar, but not the usual Git GUI window.
On left click on the task bar icon, the top entry says Wish Application. On choosing this entry two Windows appear.
One is empty. The second is titled "Konsole" and has (System32) 1% in the field below the menu bar.
What's different between what you expected and what actually happened?
Git Gui does not start and there is no indication on possible reasons for this.

Anything else you want to add:
I've checked the project directory with git cmd:
git status:
On branch <branch name>
nothing to commit, working tree clean


[System Info]
git version:
git version 2.32.0.windows.2
cpu: x86_64
built from commit: 3d45ac813c4adf97fe3733c1f763ab6617d5add5
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
uname: Windows 10.0 17763
compiler info: gnuc: 10.3
libc info: no libc information available
$SHELL (typically, interactive shell): <unset>
[Enabled Hooks]
As for the 'git-bugreport' contents here, I wonder if we should be
including diagnostic infos about git-gui. I'm not very familiar with
git-gui so I'm not sure what would be useful, though...

 - Emily

Re: Git GUI does not start

From: Carlo Arenas <hidden>
Date: 2021-08-12 04:58:54

On Wed, Aug 11, 2021 at 3:05 PM Emily Shaffer [off-list ref] wrote:
/usr/local/git/git-388133509.245/share/git-gui/lib/Git Gui.app/Contents/MacOS/Wish: cannot execute: No such file or directory
This looks like a broken deployment for whatever that
git-388133509.245 version might be coming from; `git gui` works for me
in macOS and the application builds/install fine when doing `make
install`.

that "missing" file should point to the system wish binary
(alternatively accessed through /usr/bin/wish) in:

  /System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish

Carlo

Re: Git GUI does not start

From: Johannes Schindelin <hidden>
Date: 2021-08-14 22:11:35

Hi Gerhard,

On Wed, 11 Aug 2021, Gerhard Buch wrote:
Git GUI does not start any more and I'd like to share the bugreport
below.
Since bug reports easily get lost on the mailing list, I have a preference
for Git for Windows reports to be opened at
https://github.com/git-for-windows/git/issues/new. That method also
provides a more helpful bug report template.

I have to admit that I am somewhat surprised by your bug report because I
specifically verify that Git GUI starts whenever releasing a new Git for
Windows version.
Any idea how I can get diagnostic information to find die
problem?
Since you reported this for your Windows setup, it would be good to know
what your Windows version is.

Having said that, the most obvious difference between v2.28.0 and
v2.32.0(2) with regards to Git GUI is that Tcl/Tk was upgraded from
v8.6.10 to v8.6.11.

If you could test with v2.30.0 (which still has the old Tcl/Tk) and with
v2.30.1 (which has the new one), that could help pinpoint the issue.

Ciao,
Johannes
best regards

Gerhard


--------------------------------------------
What did you do before the bug happened? (Steps to reproduce your issue)
Open Git GUI -> choose open existing projekt
It worked with the previsous version 2.28 before. Before posting the bugreport I updated to the most recent version to be at the latest version.

What did you expect to happen? (Expected behavior)
That Git GUI opens...

What happened instead? (Actual behavior)
Git GUI icon appears in task bar, but not the usual Git GUI window.
On left click on the task bar icon, the top entry says Wish Application. On choosing this entry two Windows appear.
One is empty. The second is titled "Konsole" and has (System32) 1% in the field below the menu bar.
What's different between what you expected and what actually happened?
Git Gui does not start and there is no indication on possible reasons for this.

Anything else you want to add:
I've checked the project directory with git cmd:
git status:
On branch <branch name>
nothing to commit, working tree clean


[System Info]
git version:
git version 2.32.0.windows.2
cpu: x86_64
built from commit: 3d45ac813c4adf97fe3733c1f763ab6617d5add5
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
uname: Windows 10.0 17763
compiler info: gnuc: 10.3
libc info: no libc information available
$SHELL (typically, interactive shell): <unset>
[Enabled Hooks]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help