public inbox for ravanan@systemreboot.net
 help / color / mirror / Atom feed
From: Nicolas Graves <ngraves@ngraves.fr>
To: ravanan@systemreboot.net
Cc: Arun Isaac <arunisaac@systemreboot.net>
Subject: Re: Some ravanan feedback
Date: Thu, 13 Mar 2025 16:02:48 +0100	[thread overview]
Message-ID: <874izxug6f.fsf@ngraves.fr> (raw)
In-Reply-To: <87cyenph7i.fsf@systemreboot.net>


I still experience quite some errors, for instance with a random
repository online :

https://github.com/nfdi4plants/cwl-examples

and the following changes : 

modified   run-python-script/test.cwl
@@ -3,8 +3,9 @@
 cwlVersion: v1.2
 class: CommandLineTool
 hints:
-  DockerRequirement:
-    dockerPull: python:latest
+  SoftwareRequirement:
+    packages:
+      python
 baseCommand: python
 stdout: output.txt
 inputs:
modified   run-python-script/testRun.yml
@@ -1,5 +1,5 @@
 src:
   class: File
-  path: test.py
+  location: test.py
 firstArg: memem
 secondArg: soos


I happen to have such a backtrace :


Backtrace:
In ice-9/eval.scm:
    619:8 19 (_ #(#(#(#(#(#(#(#(#(#(#(…) …) …) …) …) …) …) …) …) …) …))
   293:34 18 (_ #(#(#(#(#(#(#(#(#(#(#(…) …) …) …) …) …) …) …) …) …) …))
In ice-9/boot-9.scm:
    724:2 17 (call-with-prompt ("prompt") #<procedure 7f2b83800180 …> …)
  1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
    152:2 15 (with-fluid* _ _ _)
In ice-9/exceptions.scm:
   406:15 14 (run-workflow _ _ _ _ _ _ _ _ #:guix-daemon-socket _)
In ice-9/boot-9.scm:
  1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
In ravanan/workflow.scm:
   592:26 12 (_)
   293:29 11 (schedule _ _ _)
In ravanan/command-line-tool.scm:
   361:10 10 (run-command-line-tool "test" #f #f (("baseCom…" . #) …) …)
   828:13  9 (build-command-line-tool-script "test" _ #f _ ((# …) …) …)
   831:21  8 (_ _)
In ravanan/work/vectors.scm:
     62:3  7 (vector-map->list _ _ . _)
In srfi/srfi-43.scm:
    376:5  6 (vector-fold #<procedure 7f2b838258a0 at ravanan/work/…> …)
In ice-9/boot-9.scm:
  1685:16  5 (raise-exception _ #:continuable? _)
  1683:16  4 (raise-exception _ #:continuable? _)
In ice-9/eval.scm:
   293:34  3 (_ #(#(#<directory (guile-user) 7f2ba26d8c80> ("p…")) #))
   182:19  2 (proc #(#(#<directory (guile-user) 7f2ba26d8c80> (#)) #))
   142:16  1 (compile-top-call #<directory (guile-user) 7f2ba26d8c80> …)
In unknown file:
           0 (%resolve-variable (7 . manifest-file-error?) #<directo…>)




https://www.commonwl.org/implementations/

I don't know if there's a database to test against, here they have the
notion of "self-reported compliance" but it seems unclear / case-by-case
to see where those compliance tests are implemented and if you can use
them as a base to test against.

I think those are pretty good examples of poor backtraces too.

Cheers,
Nicolas



On 2025-03-11 18:14, Arun Isaac wrote:

> Hi Nicolas,
>
> Thanks for trying out ravanan!
>
>> For some reason (script-module evaluates to #f), using ravanan, the
>> manifest needs to have a proper define-module (as opposed to the more
>> classic use-modules). As it's non-standard, it probably should be
>> documented.
>
> I do use manifest files with use-modules, that is, no define-module.
>
>> I manage to run a step but it blocks at that point :
>>
>> Running /gnu/store/wvi50qxx03ibvx39zam8704agw2z3y8a-download_and_extract_data
>> /gnu/store/wvi50qxx03ibvx39zam8704agw2z3y8a-download_and_extract_data failed; logs at /home/graves/proj
>> ects/src/competences_vertes_rncp/store/logs/wvi50qxx03ibvx39zam8704agw2z3y8a-download_and_extract_data.
>> stdout and /home/graves/projects/src/competences_vertes_rncp/store/logs/wvi50qxx03ibvx39zam8704agw2z3y8
>> a-download_and_extract_data.stderr
>>
>> Backtrace:
>> In ice-9/boot-9.scm:
>>   1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
>> In unknown file:
>>           12 (apply-smob/0 #<thunk 7fc0c8f132a0>)
>> In ice-9/boot-9.scm:
>>     724:2 11 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
>> In ice-9/eval.scm:
>>     619:8 10 (_ #(#(#<directory (guile-user) 7fc0c8f19c80>)))
>>     619:8  9 (_ #(#(#(#(#(#(#(#(#(#(#(…) …) …) …) …) …) …) …) …) …) …))
>>    293:34  8 (_ #(#(#(#(#(#(#(#(#(#(#(…) …) …) …) …) …) …) …) …) …) …))
>> In ice-9/boot-9.scm:
>>     724:2  7 (call-with-prompt _ _ #<procedure 7fc0a9fcbc80 at ice-9…>)
>>   1752:10  6 (with-exception-handler _ _ #:unwind? _ # _)
>>     152:2  5 (with-fluid* _ _ _)
>>   1685:16  4 (raise-exception _ #:continuable? _)
>> In ice-9/eval.scm:
>>    293:34  3 (_ #(#(#<directory (guile-user) 7fc0c8f19c80> ("p…")) #))
>>    182:19  2 (proc #(#(#<directory (guile-user) 7fc0c8f19c80> (#)) #))
>>    142:16  1 (compile-top-call #<directory (guile-user) 7fc0c8f19c80> …)
>> In unknown file:
>>            0 (%resolve-variable (7 . manifest-file-error?) #<directo…>)
>>
>> ERROR: In procedure %resolve-variable:
>> error: manifest-file-error?: unbound variable
>> zsh: exit 1     ravanan workflow.cwl inputs.yaml --store=store
>> --guix-manifest=manifest.scm
>
> Could you share the ravanan command that resulted in this error? I'd
> also be interested in seeing the workflow.cwl, inputs.yaml and
> manifest.scm files, or some minimal version of them.
>
> And, btw, there is also a ravanan public-inbox you can write to at
> ravanan@systemreboot.net. https://lists.systemreboot.net/ravanan/
>
> Cheers!
> Arun

-- 
Best regards,
Nicolas Graves

       reply	other threads:[~2025-03-13 15:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <871pv4kz0h.fsf@ngraves.fr>
     [not found] ` <87cyenph7i.fsf@systemreboot.net>
2025-03-13 15:02   ` Nicolas Graves [this message]
2025-03-18 18:21     ` Arun Isaac

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=874izxug6f.fsf@ngraves.fr \
    --to=ngraves@ngraves.fr \
    --cc=arunisaac@systemreboot.net \
    --cc=ravanan@systemreboot.net \
    /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