All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: Greg KH <greg@kroah.com>
Cc: tools@linux.kernel.org
Subject: Re: b4 crash when trying to apply patches with latest version from git
Date: Wed, 9 Jun 2021 11:43:51 -0400	[thread overview]
Message-ID: <20210609154351.gl66xtd2bcb2prv2@nitro.local> (raw)
In-Reply-To: <YMB3XJ/NgtCO+YCx@kroah.com>

On Wed, Jun 09, 2021 at 10:10:04AM +0200, Greg KH wrote:
> On the latest version of b4 from git, a06304fcd63f ("Perform an encoding
> bug avoidance dance"), I get the following traceback:
> 
> Looking up https://lore.kernel.org/r/20210607170054.220975-1-rui.silva%40linaro.org
> Analyzing 3 messages in the thread
> Checking attestation on all messages, may take a moment...
> ---
>   ✓ [PATCH v3] MAINTAINERS: usb: add entry for isp1760
>     + Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> (✓ DKIM/ideasonboard.com)
>   ---
>   ✓ Signed: DKIM/linaro.org
> Traceback (most recent call last):
>   File "/mnt/fast_disk/linux/tools/b4/b4/command.py", line 259, in <module>
>     cmd()
>   File "/mnt/fast_disk/linux/tools/b4/b4/command.py", line 242, in cmd
>     cmdargs.func(cmdargs)
>   File "/mnt/fast_disk/linux/tools/b4/b4/command.py", line 51, in cmd_am
>     b4.mbox.main(cmdargs)
>   File "/mnt/fast_disk/linux/tools/b4/b4/mbox.py", line 598, in main
>     make_am(msgs, cmdargs, msgid)
>   File "/mnt/fast_disk/linux/tools/b4/b4/mbox.py", line 133, in make_am
>     b4.save_git_am_mbox([x[1] for x in am_msgs], sys.stdout.buffer)
>   File "/mnt/fast_disk/linux/tools/b4/b4/mbox.py", line 133, in <listcomp>
>     b4.save_git_am_mbox([x[1] for x in am_msgs], sys.stdout.buffer)
>   File "/usr/lib/python3.9/email/message.py", line 391, in __getitem__
>     return self.get(name)
>   File "/usr/lib/python3.9/email/message.py", line 468, in get
>     name = name.lower()
> AttributeError: 'int' object has no attribute 'lower'
> 
> 
> Any thoughts?

Thank you, this is fixed in master now.

-K

  parent reply	other threads:[~2021-06-09 15:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-09  8:10 b4 crash when trying to apply patches with latest version from git Greg KH
2021-06-09 12:49 ` Greg KH
2021-06-09 15:44   ` Konstantin Ryabitsev
2021-06-09 15:43 ` Konstantin Ryabitsev [this message]
2021-06-10  6:45   ` Greg KH

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=20210609154351.gl66xtd2bcb2prv2@nitro.local \
    --to=konstantin@linuxfoundation.org \
    --cc=greg@kroah.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.