From: "Krzysztof Kozlowski" <krzk@kernel.org>
To: tools@linux.kernel.org
Subject: b4 diff -m: max() arg is an empty sequence
Date: Sun, 20 Sep 2020 18:31:17 +0200 [thread overview]
Message-ID: <20200920163117.GA15084@kozik-lap> (raw)
Hi,
$ b4 mbox '1600234622-8815-2-git-send-email-yilun.xu@intel.com'
$ b4 mbox '1599553645-26928-1-git-send-email-yilun.xu@intel.com'
(the second mbox is actually a cover letter as b4 could not download the
actual patch directly via its Message-Id)
$ b4 diff -m 1599553645-26928-1-git-send-email-yilun.xu@intel.com.mbx 1600234622-8815-2-git-send-email-yilun.xu@intel.com.mbx
Loading 8 messages from 1599553645-26928-1-git-send-email-yilun.xu@intel.com.mbx
Traceback (most recent call last):
File "/home/kozik/.local/bin/b4", line 11, in <module>
sys.exit(cmd())
File "/home/kozik/.local/lib/python3.6/site-packages/b4/command.py", line 222, in cmd
cmdargs.func(cmdargs)
File "/home/kozik/.local/lib/python3.6/site-packages/b4/command.py", line 65, in cmd_diff
b4.diff.main(cmdargs)
File "/home/kozik/.local/lib/python3.6/site-packages/b4/diff.py", line 115, in main
lser, user = diff_mboxes(cmdargs)
File "/home/kozik/.local/lib/python3.6/site-packages/b4/diff.py", line 108, in diff_mboxes
chunks.append(lmbx.series[max(lmbx.series.keys())])
ValueError: max() arg is an empty sequence
Ubuntu 18.04.5
Python 3.6.9
b4 0.5.2
Best regards,
Krzysztof
next reply other threads:[~2020-09-20 16:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-20 16:31 Krzysztof Kozlowski [this message]
2020-10-02 12:35 ` [tools] b4 diff -m: max() arg is an empty sequence Konstantin Ryabitsev
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=20200920163117.GA15084@kozik-lap \
--to=krzk@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).