From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1764468782; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eUb20bkPwTYUo/Q4KN7L3Zd7icXDPYWj9m4UkzGH13E=; b=M1nySCGgM/cArgekTdpQtsaZISHa4BUlnCVPUHMDarXOpb2wYPqcSceO7ks3hQIIowIEgy ouICSQbJ+lqgjDGl7kL6oeS3DrNZu1ZTkzPEntBfeK0G+mtIQ++5ZN2E+HbI96taVcvTz5 iUWBGQ5xGHldU/rSGDf1wmug189wakmD5wJ2SbzE8adejh7ROcOkrmussnN9t8MB2dxfd8 Z2YfXd5h3Hk7MNQmcbS8kq3lR4FIkdQRN9hZvaypnN0gpft5skI5DQFfimtNJQ6xmfo1O6 zTA6hM6rBDgutWHo4erQqUWmz/n2xTWz9WpuvY63BW7HJRd3HnDLHYr2cjfgJw== Received: from localhost ( [192.168.2.1]) by mugam.systemreboot.net (OpenSMTPD) with ESMTPSA id 8f556c71 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 30 Nov 2025 02:13:02 +0000 (UTC) From: Arun Isaac To: Simon Tournier , ravanan@systemreboot.net Subject: Re: Backtrace on hello world In-Reply-To: <87fra0y4th.fsf@gmail.com> References: <87fra0y4th.fsf@gmail.com> Date: Sun, 30 Nov 2025 02:13:00 +0000 Message-ID: <87qztg46ab.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Hi Simon, Thanks for trying out ravanan! > First, I notice that the project on Github [1] has the =E2=80=9CPull Requ= est=E2=80=9D > available but the README mentions: =C2=AB We do not accept issues or pull > requests on GitHub. =C2=BB > > Moreover, I have not found the Issue tracker; hence the report here. > :-) You found the right place! :-) The working plan for the moment is to do both issues and patches over email the old fashioned way. > First thing, the option =E2=80=99--store=E2=80=99 seems mandatory when = =E2=80=99--help=E2=80=99 does not > mention it, if I read correctly. It is documented. See below: --8<---------------cut here---------------start------------->8--- $ ravanan --help 2>&1 | grep store Usage: /gnu/store/gddra8pjszmw0bfyhmgipsg12r88195v-ravanan-0.2.0/bin/.ravan= an-real [OPTIONS] CWL-WORKFLOW INPUTS --store=3DSTORE path to shared store to write results in= to --8<---------------cut here---------------end--------------->8--- > Second, maybe I=E2=80=99m missing something: > > --8<---------------cut here---------------start------------->8--- > $ ravanan doc/hello-world.cwl doc/hello-world-inputs.json --store=3D/tmp/= foo > Backtrace: > In ice-9/boot-9.scm: > 1752:10 17 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) > In unknown file: > 16 (apply-smob/0 #) > In ice-9/boot-9.scm: > 724:2 15 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 14 (_ #(#(#))) > In ice-9/boot-9.scm: > 152:2 13 (with-fluid* _ _ _) > 152:2 12 (with-fluid* _ _ _) > In ice-9/eval.scm: > 619:8 11 (_ #(#(#(#(#(#(#(#(# ((= store . "/tmp/f=E2=80=A6") =E2=80=A6) =E2=80=A6)) =E2=80=A6) =E2=80=A6) =E2= =80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)) > 293:34 10 (_ #(#(#(# "doc/hello-w= orld.cwl" ((store . "/tmp/foo") =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)) > In ice-9/boot-9.scm: > 724:2 9 (call-with-prompt ("prompt") # #) > 1752:10 8 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) > In ravanan/workflow.scm: > 635:25 7 (run-workflow "hello-world" #f #f (("baseCommand" . #("echo"= "Hello")) ("outputs" . #(((# . #) =E2=80=A6))) =E2=80=A6) =E2=80=A6) > In ice-9/boot-9.scm: > 1752:10 6 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) > In guix/store.scm: > 690:37 5 (thunk) > In ravanan/workflow.scm: > 204:25 4 (workflow->scheduler-proc "hello-world" (("baseCommand" . #(= "echo" "Hello")) ("outputs" . #((# =E2=80=A6))) =E2=80=A6) =E2=80=A6) > In ravanan/command-line-tool.scm: > 618:49 3 (build-command-line-tool-script "hello-world" #f #f (("baseC= ommand" . #("echo" "Hello")) ("o=E2=80=A6" . #) =E2=80=A6) =E2=80=A6) > In rnrs/base.scm: > 253:18 2 (vector-map # #f) > In ice-9/boot-9.scm: > 1685:16 1 (raise-exception _ #:continuable? _) > 1685:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure vector-length: Wrong type argument in position 1 (expecting = vector): #f > --8<---------------cut here---------------end--------------->8--- Oops, this is very embarrassing! I've fixed it now and added tests to prevent regression. https://klaus.systemreboot.net/ravanan/commit/c5bccca30b03f6dfef5d6efaaafc2= 0fa9b25f164/ https://klaus.systemreboot.net/ravanan/commit/426201609e13d47960a922456cbbd= df61cde3330/ Now, on the latest ravanan (a0b7e7ab6de830182ab30a0e417eefb56a07fd2f), you can run it like so: $ ravanan --store=3Dstore --guix-manifest=3Ddoc/hello-world-manifest.scm doc/hello-world.cwl doc/hello-world-inputs.yaml Regards, Arun