openworm/OpenWorm

The first time running version 0.9.3 of this project failed.

Opened this issue · 5 comments

Thank you very much for taking the time to answer my question.

Expected behavior

When I run 'run. sh', a worm motion video should appear.

Actual behavior

The error is reported as follows, and the rseult folder is empty.

image

Steps to reproduce the behavior

Completely follow the beginner tutorial in Readme for configuration, and I am sure my Docker is fine.
I am using the latest version, which is 0.9.3. When you see this issue, I should already be trying version 0.9.2.

Hi @Ym-Shan,
Can you clarify what OS you are on, ubuntu?
Make sure you pull the latest changes from the Github master branch.
Also did you build the docker image before running it? I assume not..? Can you try running ./stop.sh and ./rebuild.sh and see if run.sh works then.
Make sure you pull the latest changes from the Github master branch.

I'm very sorry, I didn't elaborate enough on the issue.
I am using the Ubuntu18.04 operating system and did not run build.sh. Instead, I ran run.sh(As you mentioned in readme, this will automatically build the latest Docker image) and reported the above error.
When I run build.sh, I report the following error:
2023-11-16 16-11-01 的屏幕截图
When I tried running stop.sh and rebuild.sh as you mentioned, the error reported was also the same as the above figure.
I have tried to turn on/off or replace the agent, but this has not had any effect.
May I ask if there are any requirements for the Ubuntu version due to build.sh?

The docker file should work fine on Ubuntu.
I've tested again the run.sh and it worked on ubuntu as well as Mac, pulling the correct image from docker hub: https://hub.docker.com/r/openworm/openworm/tags

Regarding your error above, it looks like there is a problem downloading a file from https://github.com/openworm/OpenWorm/raw/dev_inte/SRB5.0_linux64.zip. Can you download it outside of docker?

See here for the output of a GitHub actions test which runs all the required steps to build and run the image on ubuntu: https://github.com/openworm/OpenWorm/actions/runs/6815297453/job/18534081738

Also, now this automated test tries to pull the image from dockerhub and runs without building: https://github.com/openworm/OpenWorm/actions/runs/6890496658/job/18743654844

Got this exact same issue in 0.9.4 right at the end of my 24hr run, I didn't pause it or anything and left my PC running the whole way.

Ryzen 5800X3D with expanded memory and core allowance to the Docker container. I had Hyper-V but was using WSL2 with recommended settings.