Linux maintainer tooling and workflows
 help / color / mirror / Atom feed
* "b4 ty -d all" crash
@ 2022-10-17 17:23 Bjorn Helgaas
  2022-10-17 20:22 ` Konstantin Ryabitsev
  0 siblings, 1 reply; 3+ messages in thread
From: Bjorn Helgaas @ 2022-10-17 17:23 UTC (permalink / raw)
  To: tools

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: refactormyself@gmail.com <refactormyself@gmail.com>
	 Date: Mon, 4 May 2020 07:18:10 +0200
	 Link: https://lore.kernel.org/r/20200504051812.22662-1-refactormyself@gmail.com
    2: [PATCH v7 0/2] Adding support for Versal CPM as Root Port driver
	 From: Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com>
	 Date: Thu, 7 May 2020 17:28:34 +0530
	 Link: https://lore.kernel.org/r/1588852716-23132-1-git-send-email-bharat.kumar.gogada@xilinx.com
  ...
  706: [PATCH] Revert "PCI: tegra: Use PCI_CONF1_EXT_ADDRESS() macro"
	 From: Jon Hunter <jonathanh@nvidia.com>
	 Date: Mon, 17 Oct 2022 09:40:06 +0100
	 Link: https://lore.kernel.org/r/20221017084006.11770-1-jonathanh@nvidia.com
  ---
  You can send them using number ranges, e.g:
    b4 ty -t 1-3,5,7-


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

* Re: "b4 ty -d all" crash
  2022-10-17 17:23 "b4 ty -d all" crash Bjorn Helgaas
@ 2022-10-17 20:22 ` Konstantin Ryabitsev
  2022-10-17 21:22   ` Bjorn Helgaas
  0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Ryabitsev @ 2022-10-17 20:22 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: tools

On Mon, Oct 17, 2022 at 12:23:23PM -0500, Bjorn Helgaas wrote:
> 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.

>     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

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:

> 	 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

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

* Re: "b4 ty -d all" crash
  2022-10-17 20:22 ` Konstantin Ryabitsev
@ 2022-10-17 21:22   ` Bjorn Helgaas
  0 siblings, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2022-10-17 21:22 UTC (permalink / raw)
  To: Konstantin Ryabitsev; +Cc: tools

On Mon, Oct 17, 2022 at 04:22:14PM -0400, Konstantin Ryabitsev wrote:
> On Mon, Oct 17, 2022 at 12:23:23PM -0500, Bjorn Helgaas wrote:
> > 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.
> 
> >     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
> 
> 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:
> 
> > 	 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

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

end of thread, other threads:[~2022-10-17 21:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-17 17:23 "b4 ty -d all" crash Bjorn Helgaas
2022-10-17 20:22 ` Konstantin Ryabitsev
2022-10-17 21:22   ` Bjorn Helgaas

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