{"thread":{"id":"40450","subject":"Gitk cannot start in the latest version when using --all","startedAt":"2015-09-29T13:40:55Z","lastAt":"2015-09-30T14:06:04Z","messageCount":5,"participants":["Christophe COEVOET","Konstantin Khomoutov","Alexander Rettig"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"270907","messageId":"560A94E7.9090506@notk.org","threadId":"40450","inReplyTo":null,"subject":"Gitk cannot start in the latest version when using --all","fromName":"Christophe COEVOET","fromEmail":"stof@notk.org","sentAt":"2015-09-29T13:40:55Z","receivedAt":"2015-09-29T13:40:55Z","isPatch":false,"sender":{"key":"stof@notk.org","avatar":"https://gravatar.com/avatar/75c5d927b0434111db9720dd78af8c83385cf28bb9aeafd031ba8cb0c4ffc558?d=mp&s=160"},"body":"Hi,\n\nI'm installing git and gitk from the Ubuntu PPA maintained by the Git \nteam. I received the Git 2.6 update today.\nSince this update, I'm unable to launch gitk with --all. I'm receiving \nthe following error message:\n\nError in startup script: bad menu entry index \"Éditer la vue...\"\n     while executing\n\".bar.view entryconf [mca \"Edit view...\"] -state normal\"\n     invoked from within\n\"if {$cmdline_files ne {} || $revtreeargs ne {} || $revtreeargscmd ne {}} {\n     # create a view for the files/dirs specified on the command line\n     se...\"\n     (file \"/usr/bin/gitk\" line 12442)\n\nLaunching gitk without the --all option works fine.\nLaunching gitk with the --branches option or the --tags option is also \nbroken\n\n-- \nChristophe Coevoet\n"},{"id":"270908","messageId":"20150929164951.cd5dea4ab0e866e4a0b74d6f@domain007.com","threadId":"40450","inReplyTo":"560A94E7.9090506@notk.org","subject":"Re: Gitk cannot start in the latest version when using --all","fromName":"Konstantin Khomoutov","fromEmail":"kostix+git@007spb.ru","sentAt":"2015-09-29T13:49:51Z","receivedAt":"2015-09-29T13:49:51Z","isPatch":false,"sender":{"key":"kostix+git@007spb.ru","avatar":null},"body":"On Tue, 29 Sep 2015 15:40:55 +0200\nChristophe COEVOET <stof@notk.org> wrote:\n\n> I'm installing git and gitk from the Ubuntu PPA maintained by the Git \n> team. I received the Git 2.6 update today.\n> Since this update, I'm unable to launch gitk with --all. I'm\n> receiving the following error message:\n> \n> Error in startup script: bad menu entry index \"Éditer la vue...\"\n>      while executing\n> \".bar.view entryconf [mca \"Edit view...\"] -state normal\"\n>      invoked from within\n> \"if {$cmdline_files ne {} || $revtreeargs ne {} || $revtreeargscmd ne\n> {}} {\n>      # create a view for the files/dirs specified on the command line\n>      se...\"\n>      (file \"/usr/bin/gitk\" line 12442)\n> \n> Launching gitk without the --all option works fine.\n> Launching gitk with the --branches option or the --tags option is\n> also broken\n\nDoes it start if you run it via\n\n$ LANG=C gitk --all\n\nor\n\n$ LANG=en_US.UTF-8 gitk --all\n\n?\n"},{"id":"270909","messageId":"560A9772.80503@notk.org","threadId":"40450","inReplyTo":"20150929164951.cd5dea4ab0e866e4a0b74d6f@domain007.com","subject":"Re: Gitk cannot start in the latest version when using --all","fromName":"Christophe COEVOET","fromEmail":"stof@notk.org","sentAt":"2015-09-29T13:51:46Z","receivedAt":"2015-09-29T13:51:46Z","isPatch":false,"sender":{"key":"stof@notk.org","avatar":"https://gravatar.com/avatar/75c5d927b0434111db9720dd78af8c83385cf28bb9aeafd031ba8cb0c4ffc558?d=mp&s=160"},"body":"Le 29/09/2015 15:49, Konstantin Khomoutov a écrit :\n> On Tue, 29 Sep 2015 15:40:55 +0200\n> Christophe COEVOET <stof@notk.org> wrote:\n>\n>> I'm installing git and gitk from the Ubuntu PPA maintained by the Git\n>> team. I received the Git 2.6 update today.\n>> Since this update, I'm unable to launch gitk with --all. I'm\n>> receiving the following error message:\n>>\n>> Error in startup script: bad menu entry index \"Éditer la vue...\"\n>>       while executing\n>> \".bar.view entryconf [mca \"Edit view...\"] -state normal\"\n>>       invoked from within\n>> \"if {$cmdline_files ne {} || $revtreeargs ne {} || $revtreeargscmd ne\n>> {}} {\n>>       # create a view for the files/dirs specified on the command line\n>>       se...\"\n>>       (file \"/usr/bin/gitk\" line 12442)\n>>\n>> Launching gitk without the --all option works fine.\n>> Launching gitk with the --branches option or the --tags option is\n>> also broken\n> Does it start if you run it via\n>\n> $ LANG=C gitk --all\n>\n> or\n>\n> $ LANG=en_US.UTF-8 gitk --all\n>\n> ?\nYeah, both of these commands are working fine.\n\n-- \nChristophe | Stof\n"},{"id":"270910","messageId":"20150929165903.893d668b86583dcf2085884b@domain007.com","threadId":"40450","inReplyTo":"560A9772.80503@notk.org","subject":"Re: Gitk cannot start in the latest version when using --all","fromName":"Konstantin Khomoutov","fromEmail":"kostix+git@007spb.ru","sentAt":"2015-09-29T13:59:03Z","receivedAt":"2015-09-29T13:59:03Z","isPatch":false,"sender":{"key":"kostix+git@007spb.ru","avatar":null},"body":"On Tue, 29 Sep 2015 15:51:46 +0200\nChristophe COEVOET <stof@notk.org> wrote:\n\n> >> I'm installing git and gitk from the Ubuntu PPA maintained by the\n> >> Git team. I received the Git 2.6 update today.\n> >> Since this update, I'm unable to launch gitk with --all. I'm\n> >> receiving the following error message:\n> >>\n> >> Error in startup script: bad menu entry index \"Éditer la vue...\"\n> >>       while executing\n> >> \".bar.view entryconf [mca \"Edit view...\"] -state normal\"\n> >>       invoked from within\n> >> \"if {$cmdline_files ne {} || $revtreeargs ne {} || $revtreeargscmd\n> >> ne {}} {\n> >>       # create a view for the files/dirs specified on the command\n> >>       # line\n> >>       se...\"\n> >>       (file \"/usr/bin/gitk\" line 12442)\n[...]\n> > Does it start if you run it via\n> >\n> > $ LANG=C gitk --all\n> >\n> > or\n> >\n> > $ LANG=en_US.UTF-8 gitk --all\n> >\n> > ?\n> Yeah, both of these commands are working fine.\n\nOK, so the problem is that some menu entry has the title \"Edit view...\"\nwhich is for some reason not translated for your current locale,\nand then some code tries to locate it using the original title\ntranslated to French -- I fathom the command [mca] being called here\nstands for \"Message Catalog A-something\" ;-)\n"},{"id":"270933","messageId":"loom.20150930T155320-343@post.gmane.org","threadId":"40450","inReplyTo":"20150929165903.893d668b86583dcf2085884b@domain007.com","subject":"Re: Gitk cannot start in the latest version when using --all","fromName":"Alexander Rettig","fromEmail":"alexander.rettig@askvisual.de","sentAt":"2015-09-30T14:06:04Z","receivedAt":"2015-09-30T14:06:04Z","isPatch":false,"sender":{"key":"alexander.rettig@askvisual.de","avatar":null},"body":"Konstantin Khomoutov <kostix+git <at> 007spb.ru> writes:\n\n> \n> On Tue, 29 Sep 2015 15:51:46 +0200\n> Christophe COEVOET <stof <at> notk.org> wrote:\n> \n> > >> I'm installing git and gitk from the Ubuntu PPA maintained by the\n> > >> Git team. I received the Git 2.6 update today.\n> > >> Since this update, I'm unable to launch gitk with --all. I'm\n> > >> receiving the following error message:\n> > >>\n> > >> Error in startup script: bad menu entry index \"Éditer la vue...\"\n> > >>       while executing\n> > >> \".bar.view entryconf [mca \"Edit view...\"] -state normal\"\n> > >>       invoked from within\n> > >> \"if {$cmdline_files ne {} || $revtreeargs ne {} || $revtreeargscmd\n> > >> ne {}} {\n> > >>       # create a view for the files/dirs specified on the command\n> > >>       # line\n> > >>       se...\"\n> > >>       (file \"/usr/bin/gitk\" line 12442)\n> [...]\n> > > Does it start if you run it via\n> > >\n> > > $ LANG=C gitk --all\n> > >\n> > > or\n> > >\n> > > $ LANG=en_US.UTF-8 gitk --all\n> > >\n> > > ?\n> > Yeah, both of these commands are working fine.\n> \n> OK, so the problem is that some menu entry has the title \"Edit view...\"\n> which is for some reason not translated for your current locale,\n> and then some code tries to locate it using the original title\n> translated to French -- I fathom the command [mca] being called here\n> stands for \"Message Catalog A-something\" \n>\n\nHello, I notice the same problem (updated to gitk 2.6.0 on openSUSE)\n\nIt is not only a problem with the German translation but also with others, I\nadditionally tried French and Japanese.\n\nBut even stranger, gitk starts correctly, when no command line arguments are\ngiven in these locales (and the German locale), but with any command line\nargument I tried (e.g. only 'gitk .') it crashes with the error message\nmentioned above (they differ in the text 'bad menu entry index \"Éditer la\nvue...\"', there the translated text of the locale is shown)\n\nFurthermore I checked the translation files, there seems to be an\nappropriate entry for \"Edit view...\" for all languages.\n"}]}