-
Notifications
You must be signed in to change notification settings - Fork 8
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
Initial Issues Encountered While Setting Up miqa #111
Comments
I remember that some component didn't work with Python newer than 3.7 (I originally tried it with 3.8). If you are interested in doing development on Windows, I could update the readme with my Windows-specific notes soon (rather than later). |
[re windows steps: If the notes are for using Windows and WSL2, seeing them would be great! I'm trying to avoid installing directly onto my Windows OS.] I started fresh with a copy of Python 3.6 and ran into the same problem. The issue was that the user VSC automatically creates for use with the machine is not root and does not have permissions to create/edit files in After that It then runs
I tried running
I've verified the file does not exist at the given path but am not sure yet why it isn't being created... |
In this application, girder is running only as a backend server and is not hosting the web page. Please try http://127.0.0.1:8080/girder to see if you see Girder's internal UI. The MIQA GUI is run separately using npm or yarn serving from the mica/client directory. Depending on your browser CORS settings you might have issues connecting between client and server since the ports are different. Please cd into the 'client' directory and do something similar to 'yarn install' and 'yarn serve'. |
Also, girder uses mongoDB for internal local storage. You will need a mongoDB server running for 'girder serve' to be successful. In my experience, girder will usually stop within a few seconds if it cannot find a mongoDB instance to use for internal state management. This is probably not in the documentation. |
Updated instructions (part of #54 and #52) are here: |
Thanks @curtislisle, once I went to /girder it worked. girder does stop running after a few seconds if mongoDB is not available, not sure about the docs. Thanks @dzenanz, I'll take a look at these too |
TLDR; With a few tweaks I'm up and running. I have not attempted enabling the active learning components at this juncture.
I've written this all out in this issue in case there is an opportunity for me (or someone) to smooth over a few of the bumps I encountered. |
@davidshq , glad to hear you have the system built and running. The issues you encountered largely reflect on our incomplete developer documentation. Thanks for the comments and testing. |
Just wanted to share the issues I ran into as I began setting up miqa:
code .
). This launches VS Code from within WSL.devcontainer.json
andDockerfile
.pip install -e miqa/server
and receive the following warning/error:python -m pip install --upgrade pip
.pip install -e miqa/server
returns the same error without warnings:pip install -e server
and this works. I assume if I had navigated outside of the repo folder and runpip install -e miqa/server
it would have worked...and strictly speaking the instructions indevelopment.md
don't say to enter the repo, may be worth adding verbiage noting that if one does enter the repo one needs to removemiqa/
from the pip command.girder build
, the first steps - installing npm packages run fine. As does@girder/meta-build@ build /home/vscode/.local/lib/python3.9/site-packages/girder/web_client
.girder build
next attempts to rungrunt "--girder-version=3.1.4" "--static-path=/usr/local/share/girder/static" --"static-public-path=/static" "--no-progress=false" "--env=prod"
and while running the"webpack:core_lib" (webpack) task
throws an error at 94% asset optimization:This is where I am at the moment. I'll update if I make further progress.
Contents of devcontainer.json:
Contents of Dockerfile
The text was updated successfully, but these errors were encountered: