public inbox for tools@linux.kernel.org
 help / color / mirror / Atom feed
* korgalore bug: Feed state not found for lch@ list
@ 2026-02-07 20:52 Krzysztof Kozlowski
  2026-02-09 20:17 ` Konstantin Ryabitsev
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2026-02-07 20:52 UTC (permalink / raw)
  To: Kernel.org Tools; +Cc: Andi Shyti

Hey,

pipx korgalore on Ubuntu 25.10:
  package korgalore 0.5.1, installed using Python 3.13.7


I see JMAP korgalore errors on kgl pull:

  File
"/home/krzk/.local/share/pipx/venvs/korgalore/lib/python3.13/site-packages/korgalore/pi_feed.py",
line 227, in find_epochs
    raise PublicInboxError(f"No existing epochs found in {epochs_dir}.")
korgalore.PublicInboxError: No existing epochs found in
/home/krzk/.local/share/korgalore/lch/git.

Full trace:
https://pastebin.com/aUAz1jjf


Config file:
-------------------------
[targets.personal]
type = 'jmap'
server = 'https://api.fastmail.com'
username = 'me....'
token_file = '~/.config/korgalore/fastmail-token.txt'

### Deliveries ###

[deliveries.ksummit]
feed = 'https://lore.kernel.org/ksummit'
target = 'personal'
labels = ['LKML/ksummit']

[deliveries.lch]
feed = 'https://lore.kernel.org/lch'
target = 'personal'
labels = ['LKML/lch']

[deliveries.linux-samsung-soc]
feed = 'https://lore.kernel.org/linux-samsung-soc'
target = 'personal'
labels = ['LKML/linux-samsung-soc']

[deliveries.tools]
feed = 'https://lore.kernel.org/tools'
target = 'personal'
labels = ['LKML/tools']

[deliveries.workflows]
feed = 'https://lore.kernel.org/workflows'
target = 'personal'
labels = ['LKML/workflows']
-------------------------

If lch entry is commented out, everything works fine and it pulls 4
deliveries. It fails only if there is lch, which is different server:
https://subspace.kernel.org/lists.linux.dev.html

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: korgalore bug: Feed state not found for lch@ list
  2026-02-07 20:52 korgalore bug: Feed state not found for lch@ list Krzysztof Kozlowski
@ 2026-02-09 20:17 ` Konstantin Ryabitsev
  2026-02-10 16:30   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Ryabitsev @ 2026-02-09 20:17 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Kernel.org Tools, Andi Shyti

On Sat, Feb 07, 2026 at 09:52:05PM +0100, Krzysztof Kozlowski wrote:
>   File
> "/home/krzk/.local/share/pipx/venvs/korgalore/lib/python3.13/site-packages/korgalore/pi_feed.py",
> line 227, in find_epochs
>     raise PublicInboxError(f"No existing epochs found in {epochs_dir}.")
> korgalore.PublicInboxError: No existing epochs found in
> /home/krzk/.local/share/korgalore/lch/git.

I *think* this is from the code that wrongly assumes this is a migration from
the previous data structure during korgalore-0.1 days and then falls on its
face.

I added a fix in master and stable-0.5.y -- would you be able to clone that
and try?

    git clone https://git.kernel.org/pub/scm/utils/korgalore/korgalore.git
    cd korgalore
    git checkout stable-0.5.y (or use master)
    pipx install --force .

-K

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: korgalore bug: Feed state not found for lch@ list
  2026-02-09 20:17 ` Konstantin Ryabitsev
@ 2026-02-10 16:30   ` Krzysztof Kozlowski
  2026-02-11 15:14     ` Konstantin Ryabitsev
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2026-02-10 16:30 UTC (permalink / raw)
  To: Konstantin Ryabitsev; +Cc: Kernel.org Tools, Andi Shyti

On 09/02/2026 21:17, Konstantin Ryabitsev wrote:
> On Sat, Feb 07, 2026 at 09:52:05PM +0100, Krzysztof Kozlowski wrote:
>>   File
>> "/home/krzk/.local/share/pipx/venvs/korgalore/lib/python3.13/site-packages/korgalore/pi_feed.py",
>> line 227, in find_epochs
>>     raise PublicInboxError(f"No existing epochs found in {epochs_dir}.")
>> korgalore.PublicInboxError: No existing epochs found in
>> /home/krzk/.local/share/korgalore/lch/git.
> 
> I *think* this is from the code that wrongly assumes this is a migration from
> the previous data structure during korgalore-0.1 days and then falls on its
> face.
> 
> I added a fix in master and stable-0.5.y -- would you be able to clone that
> and try?
> 
>     git clone https://git.kernel.org/pub/scm/utils/korgalore/korgalore.git
>     cd korgalore
>     git checkout stable-0.5.y (or use master)
>     pipx install --force .

Unfortunately not much better:


pipx uninstall korgalore
pipx install .
  installed package korgalore 0.6.dev0, installed using Python 3.13.7

kgl pull

korgalore.StateError: Feed state not found:
/home/krzk/.local/share/korgalore/lch/korgalore.feed

  File
"/home/krzk/.local/share/pipx/venvs/korgalore/lib/python3.13/site-packages/korgalore/lore_feed.py",
line 77, in clone_epoch
    raise RemoteError(f"Git clone failed: {output.decode()}")
korgalore.RemoteError: Git clone failed:


Full log:
https://pastebin.com/pPNmhjBt

Same with stable branch:
  installed package korgalore 0.5.2.dev0, installed using Python 3.13.7


I just added lch entry to edit config and removed any leftovers (rm -fr
/home/krzk/.local/share/korgalore/lch/).

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: korgalore bug: Feed state not found for lch@ list
  2026-02-10 16:30   ` Krzysztof Kozlowski
@ 2026-02-11 15:14     ` Konstantin Ryabitsev
  2026-02-11 15:20       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Ryabitsev @ 2026-02-11 15:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Kernel.org Tools, Andi Shyti

On Tue, Feb 10, 2026 at 05:30:31PM +0100, Krzysztof Kozlowski wrote:
> "/home/krzk/.local/share/pipx/venvs/korgalore/lib/python3.13/site-packages/korgalore/lore_feed.py",
> line 77, in clone_epoch
>     raise RemoteError(f"Git clone failed: {output.decode()}")
> korgalore.RemoteError: Git clone failed:

Ah, so in this particular case I wasn't testing with the actual --shallow
parameter, which is why I couldn't reproduce the failure. The problem here
is that the lch list doesn't have any messages since November 2025, so when we
try to clone it with --shallow-since=1.week.ago, we get a clone failure.

There is a workaround for this situation in both master and stable-0.5.y, and
I can confirm that setting up the lch list works without a crash now.

If you can confirm, I will tag 0.5.2 for the release.

-K

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: korgalore bug: Feed state not found for lch@ list
  2026-02-11 15:14     ` Konstantin Ryabitsev
@ 2026-02-11 15:20       ` Krzysztof Kozlowski
  0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2026-02-11 15:20 UTC (permalink / raw)
  To: Konstantin Ryabitsev; +Cc: Kernel.org Tools, Andi Shyti

On 11/02/2026 16:14, Konstantin Ryabitsev wrote:
> On Tue, Feb 10, 2026 at 05:30:31PM +0100, Krzysztof Kozlowski wrote:
>> "/home/krzk/.local/share/pipx/venvs/korgalore/lib/python3.13/site-packages/korgalore/lore_feed.py",
>> line 77, in clone_epoch
>>     raise RemoteError(f"Git clone failed: {output.decode()}")
>> korgalore.RemoteError: Git clone failed:
> 
> Ah, so in this particular case I wasn't testing with the actual --shallow
> parameter, which is why I couldn't reproduce the failure. The problem here
> is that the lch list doesn't have any messages since November 2025, so when we
> try to clone it with --shallow-since=1.week.ago, we get a clone failure.
> 
> There is a workaround for this situation in both master and stable-0.5.y, and
> I can confirm that setting up the lch list works without a crash now.
> 
> If you can confirm, I will tag 0.5.2 for the release.

I tried master branch and works, thanks!

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-02-11 15:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-07 20:52 korgalore bug: Feed state not found for lch@ list Krzysztof Kozlowski
2026-02-09 20:17 ` Konstantin Ryabitsev
2026-02-10 16:30   ` Krzysztof Kozlowski
2026-02-11 15:14     ` Konstantin Ryabitsev
2026-02-11 15:20       ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox