You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
While loading the metacademy.org data through python server/manage.py loaddata dev_utils/graph_data.json,
I get a message saying "Attempt to write a read-only database".
If I execute the same command using sudopython server/manage.py loaddata dev_utils/graph_data.json, I get a message saying, "ImportError: No module named config"
In fact, while trying to execute the application without loading the data, I get a similar error too.
The text was updated successfully, but these errors were encountered:
Not sure if you ever got around to finding a solution to this, but for other people who come across this, the solution here is to change the permissions of the local_db/django_db/ folder (which is created in the root directory of your project, in the same directory as metacademy-application and meta_env
sudo chmod -R 777 local_dbs/django_db/
It probably doesn't need all of 777 permissions, but I'm not particularly worried about security at this point.
While loading the metacademy.org data through
python server/manage.py loaddata dev_utils/graph_data.json
,I get a message saying "Attempt to write a read-only database".
If I execute the same command using sudo
python server/manage.py loaddata dev_utils/graph_data.json
, I get a message saying, "ImportError: No module named config"In fact, while trying to execute the application without loading the data, I get a similar error too.
The text was updated successfully, but these errors were encountered: