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'
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?