Linux maintainer tooling and workflows
 help / color / Atom feed
* Exception with b4 am -3
@ 2020-11-17 12:14 Mark Brown
  2020-11-17 21:08 ` Konstantin Ryabitsev
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2020-11-17 12:14 UTC (permalink / raw)
  To: tools, konstantin


[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]

When running

   b4 am -t -g -3 20201116040721.8001-1-rdunlap@infradead.org

I get:

Looking up https://lore.kernel.org/r/20201116040721.8001-1-rdunlap%40infradead.org
Grabbing thread from lore.kernel.org/linux-spi
Analyzing 2 messages in the thread
---
Writing /home/broonie/queue/spi/next/20201115_rdunlap_spi_dw_fix_build_error_by_selecting_multiplexer.mbx
  [PATCH] spi: dw: fix build error by selecting MULTIPLEXER
    + Acked-by: Serge Semin <fancer.lancer@gmail.com>
---
Total patches: 1
Preparing fake-am for v1: spi: dw: fix build error by selecting MULTIPLEXER
Traceback (most recent call last):
  File "/home/broonie/git/b4/b4/command.py", line 238, in <module>
    cmd()
  File "/home/broonie/git/b4/b4/command.py", line 221, in cmd
    cmdargs.func(cmdargs)
  File "/home/broonie/git/b4/b4/command.py", line 40, in cmd_am
    b4.mbox.main(cmdargs)
  File "/home/broonie/git/b4/b4/mbox.py", line 511, in main
    mbox_to_am(threadmbox, cmdargs)
  File "/home/broonie/git/b4/b4/mbox.py", line 155, in mbox_to_am
    rstart, rend = lser.make_fake_am_range(gitdir=None)
  File "/home/broonie/git/b4/b4/__init__.py", line 681, in make_fake_am_range
    if not len(lmsg.blob_indexes):
TypeError: object of type 'NoneType' has no len()

Omitting the -3 causes things to run successfully.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 499 bytes --]

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

* Re: Exception with b4 am -3
  2020-11-17 12:14 Exception with b4 am -3 Mark Brown
@ 2020-11-17 21:08 ` Konstantin Ryabitsev
  0 siblings, 0 replies; 2+ messages in thread
From: Konstantin Ryabitsev @ 2020-11-17 21:08 UTC (permalink / raw)
  To: Mark Brown; +Cc: tools

On Tue, Nov 17, 2020 at 12:14:47PM +0000, Mark Brown wrote:
> When running
> 
>    b4 am -t -g -3 20201116040721.8001-1-rdunlap@infradead.org
> 
> I get:
> 
> Looking up https://lore.kernel.org/r/20201116040721.8001-1-rdunlap%40infradead.org
> Grabbing thread from lore.kernel.org/linux-spi
> Analyzing 2 messages in the thread
> ---
> Writing /home/broonie/queue/spi/next/20201115_rdunlap_spi_dw_fix_build_error_by_selecting_multiplexer.mbx
>   [PATCH] spi: dw: fix build error by selecting MULTIPLEXER
>     + Acked-by: Serge Semin <fancer.lancer@gmail.com>
> ---
> Total patches: 1
> Preparing fake-am for v1: spi: dw: fix build error by selecting MULTIPLEXER
> Traceback (most recent call last):
>   File "/home/broonie/git/b4/b4/command.py", line 238, in <module>
>     cmd()
>   File "/home/broonie/git/b4/b4/command.py", line 221, in cmd
>     cmdargs.func(cmdargs)
>   File "/home/broonie/git/b4/b4/command.py", line 40, in cmd_am
>     b4.mbox.main(cmdargs)
>   File "/home/broonie/git/b4/b4/mbox.py", line 511, in main
>     mbox_to_am(threadmbox, cmdargs)
>   File "/home/broonie/git/b4/b4/mbox.py", line 155, in mbox_to_am
>     rstart, rend = lser.make_fake_am_range(gitdir=None)
>   File "/home/broonie/git/b4/b4/__init__.py", line 681, in make_fake_am_range
>     if not len(lmsg.blob_indexes):
> TypeError: object of type 'NoneType' has no len()

Fixed in master and stable-0.5.y, thanks!

-K

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17 12:14 Exception with b4 am -3 Mark Brown
2020-11-17 21:08 ` Konstantin Ryabitsev

Linux maintainer tooling and workflows

Archives are clonable:
	git clone --mirror https://lore.kernel.org/tools/0 tools/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 tools tools/ https://lore.kernel.org/tools \
		tools@linux.kernel.org
	public-inbox-index tools

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.linux.tools


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git