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

Re: Gitk cannot start in the latest version when using --all

From
KKKonstantin Khomoutov <kostix+git@007spb.ru>
Date
Sep 29, 2015, 13:59 UTC
Message-ID
<20150929165903.893d668b86583dcf2085884b@domain007.com>
In-Reply-To
<560A9772.80503@notk.org>

On Tue, 29 Sep 2015 15:51:46 +0200 Christophe COEVOET <stof@notk.org> wrote:

Show 15 quoted lines
> >> I'm installing git and gitk from the Ubuntu PPA maintained by the
> >> Git team. I received the Git 2.6 update today.
> >> Since this update, I'm unable to launch gitk with --all. I'm
> >> receiving the following error message:
> >>
> >> Error in startup script: bad menu entry index "Éditer la vue..."
> >>       while executing
> >> ".bar.view entryconf [mca "Edit view..."] -state normal"
> >>       invoked from within
> >> "if {$cmdline_files ne {} || $revtreeargs ne {} || $revtreeargscmd
> >> ne {}} {
> >>       # create a view for the files/dirs specified on the command
> >>       # line
> >>       se..."
> >>       (file "/usr/bin/gitk" line 12442)
[...]
Show 10 quoted lines
> > Does it start if you run it via
> >
> > $ LANG=C gitk --all
> >
> > or
> >
> > $ LANG=en_US.UTF-8 gitk --all
> >
> > ?
> Yeah, both of these commands are working fine.

OK, so the problem is that some menu entry has the title "Edit view..." which is for some reason not translated for your current locale, and then some code tries to locate it using the original title translated to French -- I fathom the command [mca] being called here stands for "Message Catalog A-something" ;-)

Previous: Christophe COEVOETNext: Alexander Rettig
Message 4 of 5 in “Gitk cannot start in the latest version when using --all”
  1. Christophe COEVOETSep 29, 2015
  2. Konstantin KhomoutovSep 29, 2015
  3. Christophe COEVOETSep 29, 2015
  4. Konstantin KhomoutovSep 29, 2015
  5. Alexander RettigSep 30, 2015

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.