Skip to content
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

Validation Error #649

Open
refkyf12 opened this issue Oct 10, 2024 · 0 comments
Open

Validation Error #649

refkyf12 opened this issue Oct 10, 2024 · 0 comments

Comments

@refkyf12
Copy link

I got this error when i connecting to ML Backend using Grounding Dino

Validation error
Successfully connected to http://0.0.0.0:9090/ but it doesn't look like a valid ML backend. Reason: 500 Server Error: INTERNAL SERVER ERROR for url: http://0.0.0.0:9090/setup.
Check the ML backend server console logs to check the status.There might be something wrong with your model or it might be incompatible with the current labeling configuration.

On Docker logs, i got this :

[2024-10-10 08:26:00,467] [DEBUG] [label_studio_ml.api::log_response_info::193] Response body: b'{"detail":"OperationalError: attempt to write a readonly database","request":{},"result":{"traceback":"Traceback (most recent call last):\n File "/opt/conda/lib/python3.10/site-packages/label_studio_ml/exceptions.py", line 39, in exception_f\n return f(*args, **kwargs)\n File "/opt/conda/lib/python3.10/site-packages/label_studio_ml/api.py", line 99, in _setup\n model = MODEL_CLASS(project_id=project_id,\n File "/opt/conda/lib/python3.10/site-packages/label_studio_ml/model.py", line 82, in init\n self.use_label_config(label_config)\n File "/opt/conda/lib/python3.10/site-packages/label_studio_ml/model.py", line 118, in use_label_config\n self.set('label_config', label_config)\n File "/opt/conda/lib/python3.10/site-packages/label_studio_ml/model.py", line 152, in set\n CACHE[self.project_id, key] = value\n File "/opt/conda/lib/python3.10/site-packages/label_studio_ml/cache.py", line 85, in setitem\n cursor.execute('REPLACE INTO cache (project_id, key, value) VALUES (?, ?, ?);',\nsqlite3.OperationalError: attempt to write a readonly database\n"},"status":500}\n'

how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant