#unmarshal error
1 messages ยท Page 1 of 1 (latest)
Could you share the module's source code? And/or execution logs (ideally a dagger cloud run url)
I don't have Dagger Cloud set up (soon!). The module source -> https://github.com/Mjb141/daggerverse/tree/main/echo
Dagger modules. Contribute to Mjb141/daggerverse development by creating an account on GitHub.
Unrelated to the error, I've just updated this to 0.9.10 and I noticed two things immediately - the --help output now lists all of the SDK functionality (which doesn't feel necessary?), and the module returns Container evaluated. Use "dagger call echo --help" to see available sub-commands. without adding stdout to the call method
@prisma elbow can you verify if locally is also working correctly with your custom engine image
?
you can do this by setting the _EXPERIMENTAL_DAGGER_RUNNER_HOST variable to docker-image://$image
I tried that earlier, it doesn't run - can't create directory '/sys/fs/cgroup/init': Read-only file system
strange.. can you jump into #911305510882513037 again really quick?
it'll be faster than troubleshooting here
@prisma elbow I was able to load your module cleanly:
$ dagger -m github.com/Mjb141/daggerverse/echo call echo --word 'bonjour monde!' stdout
Here's a word... bonjour monde!
@versed marsh we managed to find the issue around the module loading problem. Different CLI and engine versions. Now @prisma elbow is having a different issue which seems to be related to connecting to the engine via the TCP transport unstead of unix sockets
I'll try to make a repro now
yep, I was able to repro. cc @prisma elbow
posting a message in the #maintainers channel now
@prisma elbow as @granite moon mentioned here: #maintainers message
the solution is to add another --addr flag to your command definition with unix:///run/buildkit/buildkitd.sock
Will give that a go now
so basically: command: ["--addr", "tcp:....", "--addr","unix:///run/buildkit/buildkitd.sock"]
Putting runner back up, should have a test in a minute or two
๐ค