git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: ttk error when starting git gui

From
JHJessie Hernandez <git@jessiehernandez.com>
Date
Mar 31, 2017, 11:29 UTC
Message-ID
<2db3bf6de4e169f0c116ba77b74998b4.squirrel@mail.jessiehernandez.com>
In-Reply-To
<20170331105803.814cef2ce06b9171901206f4@domain007.com>
Show 26 quoted lines
> On Fri, 31 Mar 2017 09:53:38 +0200
> "Jessie Hernandez" <git@jessiehernandez.com> wrote:
>
> [...]
>> >> It's possible to have ttk with 8.5 as well (say, here on Debian 8.5
>> >> ships with ttk enabled).
>> >>
>> >> A proper patch would be
>> >>
>> >> -set default_config(gui.usettk) 1
>> >> +set default_config(gui.usettk) [namespace exists ::ttk]
>> >>
>> >> Could you please test it on your system?
>> >>
>> >
>> > Yeah that seems to work.
>> > Thanks for this.
>> >
>> > I have tried it with git 2.12.2
> [...]
>> I spoke to soon. :(
>> It does not work. I forgot to do a install when testing.
>> Sorry for the confusion.
>
> Care to elaborate on the exact error, please?
>
The error I get is the following
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 "/usr/libexec/git-core/git-gui" line 3190)
Previous: Konstantin KhomoutovNext: Konstantin Khomoutov
Message 10 of 12 in “ttk error when starting git gui”
  1. David ShraderMar 30, 2017
  2. Peter van der DoesMar 30, 2017
  3. Dennis KaarsemakerMar 30, 2017
  4. David ShraderMar 30, 2017
  5. Jessie HernandezMar 31, 2017
  6. Konstantin KhomoutovMar 31, 2017
  7. Jessie HernandezMar 31, 2017
  8. Jessie HernandezMar 31, 2017
  9. Konstantin KhomoutovMar 31, 2017
  10. Jessie HernandezMar 31, 2017
  11. Konstantin KhomoutovMar 31, 2017
  12. Konstantin KhomoutovMar 31, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.