* "b4 send" crash
@ 2022-10-19 19:39 Bjorn Helgaas
2022-10-19 20:29 ` Konstantin Ryabitsev
0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2022-10-19 19:39 UTC (permalink / raw)
To: tools
I think this is because I ran "b4 send" on a branch without having run
"b4 prep" first. "b4 send" works as expected after I run "b4 prep".
02:36:40 ~/linux (wip/bjorn-22-10-irq-of)$ b4 --version
0.10.1
02:36:46 ~/linux (wip/bjorn-22-10-irq-of)$ b4 send --hide-cover-to-cc --dry-run
Traceback (most recent call last):
File "/home/bjorn/.local/bin/b4", line 8, in <module>
sys.exit(cmd())
File "/home/bjorn/.local/lib/python3.8/site-packages/b4/command.py", line 341, in cmd
cmdargs.func(cmdargs)
File "/home/bjorn/.local/lib/python3.8/site-packages/b4/command.py", line 86, in cmd_send
b4.ez.cmd_send(cmdargs)
File "/home/bjorn/.local/lib/python3.8/site-packages/b4/ez.py", line 1150, in cmd_send
todests, ccdests, patches = get_prep_branch_as_patches(prefixes=prefixes,
File "/home/bjorn/.local/lib/python3.8/site-packages/b4/ez.py", line 1016, in get_prep_branch_as_patches
csubject, cbody = cover.split('\n', maxsplit=1)
ValueError: not enough values to unpack (expected 2, got 1)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "b4 send" crash
2022-10-19 19:39 "b4 send" crash Bjorn Helgaas
@ 2022-10-19 20:29 ` Konstantin Ryabitsev
0 siblings, 0 replies; 2+ messages in thread
From: Konstantin Ryabitsev @ 2022-10-19 20:29 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: tools
On Wed, Oct 19, 2022 at 02:39:59PM -0500, Bjorn Helgaas wrote:
> I think this is because I ran "b4 send" on a branch without having run
> "b4 prep" first. "b4 send" works as expected after I run "b4 prep".
Thank you, there's a fix in master and stable-0.10.y.
-K
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-19 20:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19 19:39 "b4 send" crash Bjorn Helgaas
2022-10-19 20:29 ` 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).