tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug? in b4 shazam when reading from local mailbox
@ 2024-11-05 22:14 Ricardo Ribalda
  2024-11-05 23:25 ` Konstantin Ryabitsev
  2024-11-05 23:30 ` Bugspray Bot
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Ribalda @ 2024-11-05 22:14 UTC (permalink / raw)
  To: tools

Hi Konstantin

I think our CI bot has found another issue.

I get this error when I try to do shazam from a mbox that I have
previously downloaded.
It does not happen for every series.

ribalda@denia:~/work/linux$ ../b4/b4.sh mbox
20241105-uvc-crashrmmod-v3-1-c0959c8906d3@chromium.org -n test.mbx ;
../b4/b4.sh shazam -m test.mbx
Grabbing thread from
lore.kernel.org/all/20241105-uvc-crashrmmod-v3-1-c0959c8906d3%40chromium.org/t.mbox.gz
1 messages in the thread
Saved ./test.mbx
Checking for newer revisions
Grabbing search results from lore.kernel.org
Traceback (most recent call last):
  File "/usr/local/google/home/ribalda/work/b4/b4/command.py", line
373, in <module>
    cmd()
  File "/usr/local/google/home/ribalda/work/b4/b4/command.py", line 356, in cmd
    cmdargs.func(cmdargs)
  File "/usr/local/google/home/ribalda/work/b4/b4/command.py", line
96, in cmd_shazam
    b4.mbox.main(cmdargs)
  File "/usr/local/google/home/ribalda/work/b4/b4/mbox.py", line 670, in main
    msgs = get_extra_series(msgs, direction=1, nocache=cmdargs.nocache)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/google/home/ribalda/work/b4/b4/mbox.py", line 632,
in get_extra_series
    msgs.append(q_msg)
    ^^^^^^^^^^^
AttributeError: 'mbox' object has no attribute 'append'

If I add the command --offline-mode to shazam, it works as expected

Regards!

-- 
Ricardo Ribalda
Software Engineer
ribalda@google.com

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

end of thread, other threads:[~2024-11-05 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-05 22:14 Bug? in b4 shazam when reading from local mailbox Ricardo Ribalda
2024-11-05 23:25 ` Konstantin Ryabitsev
2024-11-05 23:30 ` Bugspray Bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).