Skip to contentSkip to conversation

b4: AttributeError: 'LoreAttestation' object has no attribute 'attid'

BUG Konstantin Ryabitsev 1 participant 1 message Oct 26, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Arnaldo Carvalho de Melo

[acme@five perf]$ b4 am -tcsl [email protected] Looking up https://lore.kernel.org/r/20201024025918.453431-1-namhyung%40kernel.org

Note -- that thread is kinda broken because there is a [PATCH 1/2] with no [PATCH 2/2], and we don't count [PATCH v2 2/2], as it's a different series.

Quoted 8 lines

Grabbing thread from lore.kernel.org/lkml
Checking for newer revisions on https://lore.kernel.org/lkml/
Analyzing 8 messages in the thread
---
Thread incomplete, attempting to backfill
Traceback (most recent call last):
File "/home/acme/git/b4/b4/command.py", line 238, in <module>

    cmd()
Quoted 11 lines

File "/home/acme/git/b4/b4/command.py", line 221, in cmd
cmdargs.func(cmdargs)
File "/home/acme/git/b4/b4/command.py", line 40, in cmd_am
b4.mbox.main(cmdargs)
File "/home/acme/git/b4/b4/mbox.py", line 509, in main
mbox_to_am(threadmbox, cmdargs)
File "/home/acme/git/b4/b4/mbox.py", line 49, in mbox_to_am
lser = lmbx.get_series(revision=wantver, sloppytrailers=cmdargs.sloppytrailers)
File "/home/acme/git/b4/b4/__init__.py", line 307, in get_series
attid = pmsg.attestation.attid
AttributeError: 'LoreAttestation' object has no attribute 'attid'

There is a fix for this in the current master, though new attestation code is a bit mid-flight and may cause occasional further problems until I complete it.

Thanks for the report!

-K