-
Notifications
You must be signed in to change notification settings - Fork 27
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
Backend API instance exiting with 1 #434
Comments
I seem to be having a similar issue. When running Docker Compose on the Docker File using the latest main branch I also have the backend_api instance exit with a code 1. However, my error is different in the sense that it says: ModuleNotFoundError: No module named 'causica'. Full error is below:
|
A bit of an update to this issue. It appears that I also get the same error if I try to build from the v2.0.0 tag. My gut feel is that this isn't something to do with changes to the project itself, but rather some external repos/dependencies have changed and no longer exist at the locations expected by the showwhy scripts. I unfortunately do not have a solution, but if anyone does (or I work one out) hopefully it winds up here! |
I get the same issue as @shahidpacmahn, and I have one of my colleagues try to run it as well and he gets the same as @MikeScavell. If anyone manages to get any solution to it, even if just to hack to make it work for the time being, it would be great. |
Hi everyone, it's really a problem with the dependencies... |
I don't have a subscription and I would like to change some things in the program itself. Can you provide a stable version? A docker image which I can pull will be great. |
Your comment here @UbaidG reminded me of this issue, and I do have some information that you may find useful. I have managed to get ShowWhy running locally by using the prebuilt Docker images from here: https://github.com/orgs/microsoft/packages?repo_name=showwhy I have also been able to build the latest version of the frontend (from the source code) and then have it work with the backend from the prebuilt Docker image. This approach bypasses the current issue with building the backend from source and the dependencies of Causica. Hopefully that helps guide you, but if you need a more detailed explanation of how to get it working just let me know and I can post more detailed instructions. |
Thanks a lot @MikeScavell, are you using the latest one in this or any specific version.
UPDATE UPDATE |
You may not need the full detailed explanation since I think you are 99% of the way to where I am. I think I can point out a couple more things that might help! I originally got things working by using the dev-27 image for the backend and dev-19 for the frontend. This approach seemed to have no issues at all. Then I proceeded to try what I believe you did, which was building the frontend, and then using the latest docker image for the backend. Which does work, but gives you the red screen with the "Error: Snapshot has already been released." message. However, I only got this error when trying to access through Firefox, and the error was not present when accessing through Chrome. I have no idea why this works, but I decided not to dig in to the details or argue too much with my web browser. I hope that helps! |
It worked, thanks a bunch @MikeScavell. |
I just tried to run the docker file , all the instances are up and running except for the backend_api instance which exits with code 1. the error shown is the module not found error with tensorflow as the missing module.
The text was updated successfully, but these errors were encountered: