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

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

From
Chris Packham <judge.packham@gmail.com>
Date
May 31, 2021, 03:11 UTC
Message-ID
<CAFOYHZAfQivHvs5=hGt-A1CbtwW-iJSwC1iFk7FY3wnNcVNVrQ@mail.gmail.com>
In-Reply-To
<CAFOYHZBAg7pkise8bir7Z3qApw9mJB8Z99p6z71-_T6=7rFV7w@mail.gmail.com>
On Tue, May 4, 2021 at 9:16 AM Chris Packham <judge.packham@gmail.com> wrote:
Show 31 quoted lines
>
> 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.

This seems to have fallen on the floor (so I pick memorial weekend in the US to give it a ping).

I have tried building gitk from source (git://ozlabs.org/~paulus/gitk) and still see the same problem. Still haven't reproduced it on anything other than my one repository.

Previous: Chris PackhamNext: Bagas Sanjaya
Message 2 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.