> Hello, > > I get the following error when trying to start git gui: > > Error in startup script: wrong # args: should be "ttk::style theme use > theme" > while executing > "ttk::style theme use" > (procedure "ttext" line 4) > invoked from within > "ttext $ui_workdir -background white -foreground black \ > -borderwidth 0 \ > -width 20 -height 10 \ > -wrap none \ > -takefocus 1 -highlightthickness 1\ > ..." > (file > "/home/dshrader/opt/toss2/common/git/2.12.2/libexec/git-core/git-gui" > line 3190) > > I get this error with the latest released version 2.12.2. Two older git > versions are also available on this system, and neither has this issue. > Those older versions are 1.7.1 and 2.3.3. I don't see a call to ttext in > those corresponding git-gui executables, so that is probably why they > work. > > Here are the steps to reproduce: > > 1) cd to existing git repository > 2) run 'git gui' (no gui comes up, and the error is printed in the > terminal) > > I'm running on a RHEL6 based system. Do I have an insufficient version > of whatever git gui uses for graphics in the later versions of git? When > I try 2.12.2 on my personal workstation running Fedora 25, I don't see > the same issue. > > Thank you very much for your time, > David Hi David, I also got this problem when I wanted to build and run git 2.10.x. I have added the following change to git-gui/git-gui.sh diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh index 5bc21b878..5ce59ef94 100755 --- a/git-gui/git-gui.sh +++ b/git-gui/git-gui.sh @@ -894,7 +894,7 @@ set default_config(gui.fontui) [font configure font_ui] set default_config(gui.fontdiff) [font configure font_diff] # TODO: this option should be added to the git-config documentation set default_config(gui.maxfilesdisplayed) 5000 -set default_config(gui.usettk) 1 +set default_config(gui.usettk) 0 set default_config(gui.warndetachedcommit) 1 set default_config(gui.tabsize) 8 set font_descs { If you guys want I can submit it as a patch. But i assume that 'fixing' this by disabling the feature is not really what we want. ----------------- Jessie Hernandez > -- > David Shrader > HPC-ENV High Performance Computer Systems > Los Alamos National Lab > Email: dshrader <at> lanl.gov > >