* b4 diff -m: max() arg is an empty sequence
@ 2020-09-20 16:31 Krzysztof Kozlowski
2020-10-02 12:35 ` [tools] " Konstantin Ryabitsev
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-20 16:31 UTC (permalink / raw)
To: tools
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [tools] b4 diff -m: max() arg is an empty sequence
2020-09-20 16:31 b4 diff -m: max() arg is an empty sequence Krzysztof Kozlowski
@ 2020-10-02 12:35 ` Konstantin Ryabitsev
0 siblings, 0 replies; 2+ messages in thread
From: Konstantin Ryabitsev @ 2020-10-02 12:35 UTC (permalink / raw)
To: tools, krzk
On Sun, Sep 20, 2020 at 06:31:17PM +0200, Krzysztof Kozlowski wrote:
> 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
Thanks, this crasher is now fixed in master and stable-0.5.y:
$ 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
No valid patches found in 1599553645-26928-1-git-send-email-yilun.xu@intel.com.mbx
-K
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-02 12:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-20 16:31 b4 diff -m: max() arg is an empty sequence Krzysztof Kozlowski
2020-10-02 12:35 ` [tools] " Konstantin Ryabitsev
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).