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

[BUG] gitk error - can't read "arcnos()": no such element in array

From
Chris Packham <judge.packham@gmail.com>
Date
May 3, 2021, 21:16 UTC
Message-ID
<CAFOYHZBAg7pkise8bir7Z3qApw9mJB8Z99p6z71-_T6=7rFV7w@mail.gmail.com>
Hi,

I'm hitting an error with gitk (gitk 1:2.31.1-0ppa1~ubuntu18.04.1) on a specific git repository.

The repository is slightly odd in that it has some replace refs configured and multiple root commits. Although another similarly configured repo doesn't hit the error.

The text from the application error pop-up is:
can't read "arcnos()": no such element in array
can't read "arcnos()": no such element in array
    while executing
"lsearch -exact $arcnos($l) $a"
    (procedure "splitarc" line 21)
    invoked from within
"splitarc $olds"
    (procedure "getallclines" line 33)
     invoked from within
"getallclines file11"
     ("eval" body line 1)
     invoked from within
"eval $script"
    (procedure "dorunq" line 11)
    invoked from within
"dorunq"
    ("after" script)
I've not been able to narrow down a specific reproduction method yet.

Thanks, Chris

Next: Chris Packham
Message 1 of 5 in “[BUG] gitk error - can't read "arcnos()": no such element in array”
  1. Chris PackhamMay 3, 2021
  2. Chris PackhamMay 31, 2021
  3. Bagas SanjayaMay 31, 2021
  4. Bagas SanjayaMay 31, 2021
  5. Chris PackhamJun 1, 2021

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.