Closed munishchouhan closed 1 month ago
this also needs change in libseqera
wave-cli % ./app/build/native/nativeCompile/wave --wave-endpoint http://localhost:9090 --platform linux/arm64 --conda-package salmon
java.lang.AssertionError: Missing field in io.seqera.wave.api.PackagesSpec$Type
at com.squareup.moshi.StandardJsonAdapters$EnumJsonAdapter.<init>(StandardJsonAdapters.java:282)
at com.squareup.moshi.StandardJsonAdapters$1.create(StandardJsonAdapters.java:68)
at com.squareup.moshi.Moshi.adapter(Moshi.java:146)
at com.squareup.moshi.ClassJsonAdapter$1.createFieldBindings(ClassJsonAdapter.java:145)
at com.squareup.moshi.ClassJsonAdapter$1.create(ClassJsonAdapter.java:107)
at com.squareup.moshi.Moshi.adapter(Moshi.java:146)
at com.squareup.moshi.ClassJsonAdapter$1.createFieldBindings(ClassJsonAdapter.java:145)
at com.squareup.moshi.ClassJsonAdapter$1.create(ClassJsonAdapter.java:107)
at com.squareup.moshi.Moshi.adapter(Moshi.java:146)
at com.squareup.moshi.Moshi.adapter(Moshi.java:106)
at com.squareup.moshi.Moshi.adapter(Moshi.java:80)
at io.seqera.wave.cli.json.JsonHelper.toJson(JsonHelper.java:45)
at io.seqera.wave.cli.Client.submit(Client.java:117)
at io.seqera.wave.cli.App.run(App.java:405)
at io.seqera.wave.cli.App.main(App.java:233)
at java.base@21.0.2/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)
Caused by: java.lang.NoSuchFieldException: SPACK
at java.base@21.0.2/java.lang.Class.checkField(DynamicHub.java:1041)
at java.base@21.0.2/java.lang.Class.getField(DynamicHub.java:1026)
at com.squareup.moshi.StandardJsonAdapters$EnumJsonAdapter.<init>(StandardJsonAdapters.java:278)
... 15 more
tested with the new libseqera PR
wave-cli % ./app/build/native/nativeCompile/wave --wave-endpoint http://localhost:9090 --platform linux/arm64 --conda-package salmon
wave.eu.ngrok.io/wt/5031358f057b/hrma017/dev:salmon--ab743bde24ef0467
This spark will remove spack support from wave cli