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

gitk fails to start after upgrading to 2.6.3 (cannot load translation)

From
Peter Krefting <peter@softwolves.pp.se>
Date
Nov 10, 2015, 09:48 UTC
Message-ID
<alpine.DEB.2.00.1511101040180.27599@ds9.cixit.se>
Hi!

After upgrading Git to 2.6.3 (from 2.5.0), gitk refuses to start when trying to load the Swedish translation if I pass it a commit range:

   $ gitk v2.5.0..v2.6.3
   Error in startup script: bad menu entry index "Ändra vy..."
       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/local/bin/gitk" line 12442)

If I start it without any parameters, it does start up, but the main menu is untranslated.

The translation for this entry is defined in gitk-git/po/sv.po line 135 and hasn't changed since 2008, even if the sv.po file does have a few updates since the previous version in some other places.

-- 
\\// Peter - http://www.softwolves.pp.se/
Next: Dennis Kaarsemaker
Message 1 of 3 in “gitk fails to start after upgrading to 2.6.3 (cannot load translation)”
  1. Peter KreftingNov 10, 2015
  2. Dennis KaarsemakerNov 10, 2015
  3. Beat BolliNov 10, 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.