-
Notifications
You must be signed in to change notification settings - Fork 70
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
Error when trying to install desktop version #670
Comments
Can you please indicate your Operating System and version, BOPTEST version you used, and command(s) you ran to have the error? |
My operating system is Windows 11 Enterprise, version is 23H2. BOPTEST version is project1-boptest-0.6.0, which is v0.6.0. I just enter the directory where I install the "project1-boptest-0.6.0" file and then I enter ($env:TESTCASE="multizone_office_simple_air") -and (docker-compose up). And the docker runs for 1 second and it says restapi.py file doesn't exist. Then it basically shuts down. |
Thanks. Hm, could there be any issue with Docker accessing files on your hard drive to copy them into the container upon deployment, as defined in the docker-compose.yml here? And/or, does the Docker image build first when you run that command? Is there any output from the docker build process to indicate an issue? But based on your report of reaspi.py not found (as part of this command, right?), I'm leaning towards something going wrong in Docker's ability to copy the right files into the container as I ask about above, rather than an issue with the image build itself. |
Now I even get a new error "- was unexpected at this time." I wonder what happens. Thanks for your help. |
Did you change anything to get that new error? What system or software is reporting that new error and in what context? |
I had success in installing the boptest v0.4.0, but not the newer versions. I will work on the 0.4.0 version then. Thanks for your help. |
Hi, I have a similar issue on a Linux Machine (Ubuntu 20.04.6 LTS): Creating boptest_base_boptest_1 ... done When I checkout version v0.5.0 with commit 12ceafe I get the same error. When I checkout version v0.4.0 with commit 3a8c4db everything works fine. |
I was able to fix the problem by changing the APP_PATH in the .env file to '/home/developer' |
Thanks for reporting @PatrickHenkel1. This is odd. The APP_PATH is used to copy repo contents into the Docker container and you can see the Dockerfile creates the directory
You can see the correct APP_PATH should be If I change APP_PATH to
That is, similar error you get before changing to Now, the Dockerfile we use to create a Docker container used in unit testing and for test case compilation using JModelica, which is different from the runtime container to run a test case, actually does have a directory I'm not exactly sure what's going on in your setup, but shedding some light in the hope we can figure it out. Note that I'm doing this testing on Ubuntu 20.04.6 LTS with Docker version 27.3.1, build ce12230. |
When I was trying to install the BOPTEST desktop version this week, I found that the docker have trouble finding the restapi.py file even though it is already in the directory. Because of this, the docker container can only run for 1 second and then it is shut down. Can anyone explain why?
The text was updated successfully, but these errors were encountered: