Re: Gitk cannot start in the latest version when using --all
- From
- Konstantin 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" ;-)