-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong docker image name and ADA.ASSERTIONS.ASSERTION_ERROR in Example Project #2
Comments
Thank you for taking a look at the project and for finding these errors. We are transferring the docker image management from dockerhub to github, so the correct image is now I cannot reproduce the assertion, but I am looking into possible causes now. |
I added a better error message to the socket package throwing that exception, see: lasp/adamant#3. Try pulling from main in the adamant repository and running again. |
Thanks for the quick reply, I imported a new docker container and tried the same commands as last time. I am currently seeing this error message: redo ../../../../../adamant/src/types/packet/build/obj/Linux/packet_id-representation.o ... 0000010094.605184010 - Counter_Instance.Sending_Value (0x00000091) : (Value = 481) I have little programming experience (but I am very interested in Ada and the professional Adamant framework), so I can't help with solutions, but at least I can report bugs. |
Thank you for your interest and for reporting issues that you find. What you report is the expected behavior. The example is running correctly until you run CTRL+C. However, this is a bit unexpected:
The example assembly tries to connect to a socket at address You won't run into trouble unless you try to send commands or capture telemetry through that socket. You could try changing the address to |
Thanks for the heads up, the ideal solution for linux at the moment is to use docker-host: https://github.com/qoomon/docker-host Now the example is fully functional. |
Curious. I am wondering if you can add the following This is suggested in the accepted answer here: https://stackoverflow.com/questions/48546124/what-is-linux-equivalent-of-host-docker-internal If that works, it might be a good idea to add that run flag to |
Relating to comments in issue #2, added case for `linux-gnu` OSTYPE to implement the internal host when creating the docker container on this platform.
Relating to comments in issue lasp#2, added case for `linux-gnu` OSTYPE to implement the internal host when creating the docker container on this platform.
Thank you very much for publishing the Adamant framework. I tried to run the example and so far I found two errors:
DOCKER_IMAGE_NAME in docker_config.sh should be "dinkelk/adamant:example-latest"
In the Running the Example Project section, I am doing the following:
$ ./login_container.sh
user@1234$ cd ~/example/src/assembly/linux/main
user@1234$ redo run
but I get an error message before running:
redo ../../../../adamant/src/types/command/build/obj/Linux/command_header-representation.o
redo ../../../../adamant/src/types/packet/build/obj/Linux/packet_id-representation.o
Unhandled exception occurred in main: raised ADA.ASSERTIONS.ASSERTION_ERROR : Unhandled exception occurred while connecting to socket in main_task_0000000000E45ED0
Can you please check this Docker image (I use Arch linux with last Docker docker 1:24.0.7-1 package)?
The text was updated successfully, but these errors were encountered: