From: Ricardo Wurmus <rekado@elephly.net>
To: Olivier Dion <olivier.dion@polymtl.ca>
Cc: gwl-devel@gnu.org
Subject: Re: Running hello tutorial in container
Date: Fri, 22 Apr 2022 20:16:27 +0200 [thread overview]
Message-ID: <87fsm5q8xy.fsf@elephly.net> (raw)
In-Reply-To: <87h76o9376.fsf@laura>
Hi Olivier,
> I'm trying to run the following workflow in a container:
> ------------------------------------------------------------
> process greet
> packages "hello"
> # { hello }
>
> process sleep
> packages "coreutils"
> # {
> echo "Sleeping..."
> sleep 10
> }
>
> process eat (with something)
> name
> string-append "eat-" something
> # {
> echo "Eating {{something}}"
> }
>
> process bye
> # { echo "Farewell, world!" }
>
> workflow simple-wisp
> processes
> define eat-fruit
> eat "fruit"
> define eat-veges
> eat "vegetables"
> graph
> eat-fruit -> greet
> eat-veges -> greet
> sleep -> eat-fruit eat-veges
> bye -> sleep
> ------------------------------------------------------------
>
> but I get many errors like this:
> ------------------------------------------------------------
> run: 1.49 Executing: /bin/sh -c /gnu/store/z0kvv54isp0nb8ywrsjnwyp0im8hfp2g-gwl-greet-container.scm '((inputs) (outputs) (values) (name . "greet"))'
> Backtrace:
> 1 (primitive-load "/gnu/store/ggza923skigkq628gm9zpxbi4h9?")
> In ice-9/eval.scm:
> 619:8 0 (_ #(#(#<directory (guile-user) 7f7dfdad5c80> ("/gn?"))))
>
> ice-9/eval.scm:619:8: Throw to key `match-error' with args `("match" "no matching pattern" ("/gnu/store/ggza923skigkq628gm9zpxbi4h9kmp73-gwl-greet.scm"))'.
Thanks for reporting this!
I haven’t investigated yet, but I’m pretty sure that’s due to the
container wrapper not passing its arguments to the script it wraps.
Should be easy to fix.
--
Ricardo
next prev parent reply other threads:[~2022-04-22 18:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-19 21:24 Running hello tutorial in container Olivier Dion via
2022-04-22 18:16 ` Ricardo Wurmus [this message]
2022-04-22 18:24 ` Ricardo Wurmus
2022-04-22 18:42 ` Olivier Dion via
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
List information: https://www.guixwl.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fsm5q8xy.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=gwl-devel@gnu.org \
--cc=olivier.dion@polymtl.ca \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).