Closed KirigiriSuzumiya closed 2 days ago
HI @KirigiriSuzumiya. This is an issue with the server startup process which we are looking into. Defining the db settings as an environment variable before running your script should avoid the problem.
export FIFTYONE_DATABASE_URI=mongodb://root:passwd@localhost:27017
export FIFTYONE_DATABASE_VALIDATION=false
thk, it works!
Describe the problem
the app page shows network error code 500. I got traceback like this in the graphql request
But refer to the code I provided,
fo.list_datasets()
works well, which did get data from my mongodb, can anyone help?Code to reproduce issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem. Please avoid sharing code that relies on your local data or datasets. Include a short video or screenshot if the bug is in the App.
my web page shows this:
System information
python --version
):3.12.4fiftyone --version
):FiftyOne v0.25.1, Voxel51, Inc.Other info/logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Please do not use screenshots for sharing text. Code snippets should be used instead when providing tracebacks, logs, etc.
Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the FiftyOne codebase?