Skip to contentSkip to conversation

"b4 ty -d all" crash

DISCUSSION Bjorn Helgaas 2 participants 3 messages Oct 17, 2022

lore
Share & tools
lore
#0 lore raw

I've used "b4 am" for a long time, but I'm a first-time and naive "b4 ty" user:

12:17:52 ~/linux (for-linus)$ b4 ty -d all
Discarding 707 messages
Discarded: [PATCH 0/5] Handled return value of platform_get_irq correctly
Traceback (most recent call last):

    File "/home/bjorn/.local/bin/b4", line 8, in <module>
      sys.exit(cmd())
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/command.py", line 341, in cmd
      cmdargs.func(cmdargs)
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/command.py", line 106, in cmd_ty
      b4.ty.main(cmdargs)
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/ty.py", line 678, in main
      discard_selected(cmdargs)
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/ty.py", line 578, in discard_selected
      msgids.append(pdata[2])

IndexError: list index out of range

  12:18:06 ~/linux (for-linus)$ b4 --version
  0.10.1

12:18:29 ~/linux (for-linus)$ b4 ty -l
Currently tracking:
1: [PATCH RFC 0/2] pci: Make return value of pcie_capability_*() consistent
From: [email protected] <[email protected]>
Date: Mon, 4 May 2020 07:18:10 +0200

2: [PATCH v7 0/2] Adding support for Versal CPM as Root Port driver
From: Bharat Kumar Gogada <[email protected]>
Date: Thu, 7 May 2020 17:28:34 +0530

...
706: [PATCH] Revert "PCI: tegra: Use PCI_CONF1_EXT_ADDRESS() macro"

	 From: Jon Hunter <[email protected]>
	 Date: Mon, 17 Oct 2022 09:40:06 +0100
	 Link: https://lore.kernel.org/r/[email protected]
  ---
  You can send them using number ranges, e.g:
    b4 ty -t 1-3,5,7-
#1 lore raw
Quoted 5 lines · Bjorn Helgaas

I've used "b4 am" for a long time, but I'm a first-time and naive "b4 ty" user:

12:17:52 ~/linux (for-linus)$ b4 ty -d all
Discarding 707 messages

Oh my.

Quoted 12 lines

Discarded: [PATCH 0/5] Handled return value of platform_get_irq correctly
Traceback (most recent call last):

    File "/home/bjorn/.local/bin/b4", line 8, in <module>
      sys.exit(cmd())
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/command.py", line 341, in cmd
      cmdargs.func(cmdargs)
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/command.py", line 106, in cmd_ty
      b4.ty.main(cmdargs)
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/ty.py", line 678, in main
      discard_selected(cmdargs)
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/ty.py", line 578, in discard_selected
      msgids.append(pdata[2])
Quoted 1 line

IndexError: list index out of range

I think it's most likely due to tracking file format changes between when this feature was first introduced and subsequent changes, especially considering that your first tracked series are from:

Quoted 1 line
	 Date: Mon, 4 May 2020 07:18:10 +0200

I suggest you just delete them manually by going into ~/.local/share/b4 and deleting all *.am files.

-K

#2 lore raw
Quoted 23 lines · Konstantin Ryabitsev
Quoted 5 lines · Bjorn Helgaas

I've used "b4 am" for a long time, but I'm a first-time and naive "b4 ty" user:

12:17:52 ~/linux (for-linus)$ b4 ty -d all
Discarding 707 messages

Oh my.

Quoted 12 lines

Discarded: [PATCH 0/5] Handled return value of platform_get_irq correctly
Traceback (most recent call last):

    File "/home/bjorn/.local/bin/b4", line 8, in <module>
      sys.exit(cmd())
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/command.py", line 341, in cmd
      cmdargs.func(cmdargs)
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/command.py", line 106, in cmd_ty
      b4.ty.main(cmdargs)
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/ty.py", line 678, in main
      discard_selected(cmdargs)
    File "/home/bjorn/.local/lib/python3.8/site-packages/b4/ty.py", line 578, in discard_selected
      msgids.append(pdata[2])
Quoted 1 line

IndexError: list index out of range

Quoted 8 lines

I think it's most likely due to tracking file format changes between when this feature was first introduced and subsequent changes, especially considering that your first tracked series are from:

Quoted 1 line
	 Date: Mon, 4 May 2020 07:18:10 +0200

I suggest you just delete them manually by going into ~/.local/share/b4 and deleting all *.am files.

Solved, thanks! :)

Bjorn