tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Konstantin Ryabitsev" <konstantin@linuxfoundation.org>
To: Mark Brown <broonie@kernel.org>
Cc: tools@linux.kernel.org
Subject: Re: Exception with b4 am -3
Date: Tue, 17 Nov 2020 16:08:35 -0500	[thread overview]
Message-ID: <20201117210835.kfobfhbrpemy3yju@chatter.i7.local> (raw)
In-Reply-To: <20201117121447.GA5142@sirena.org.uk>

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

      reply	other threads:[~2020-11-17 21:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-17 12:14 Exception with b4 am -3 Mark Brown
2020-11-17 21:08 ` Konstantin Ryabitsev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201117210835.kfobfhbrpemy3yju@chatter.i7.local \
    --to=konstantin@linuxfoundation.org \
    --cc=broonie@kernel.org \
    --cc=tools@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).