Error running -m scripts.populate_sample_contributor_data #19299
-
I'm now unable to run the script "scripts.populate_sample_contributor_data ". The error I am getting is /oppia/core/platform/datastore/cloud_datastore_services.py", line 26, in It has worked fine in the past, in October so maybe something has changed? I made sure it ran with the correct pyenv, while the server was running properly. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hey @rassa32, Sorry for the late reply, |
Beta Was this translation helpful? Give feedback.
-
When doing it manually i get this error from the Admin panel in the activities tab. So i appear to be stuck from doing it manually also. Any ideas? "Load dummy new structures data (only admins)", gives error "Server error: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host='localhost', port=9200): Read timed out. (read timeout=30))" |
Beta Was this translation helpful? Give feedback.
@rassa328 This is an odd error. Can you try again -- does this happen each time? It seems to be related to elasticsearch on your machine (which is what serves at port 9200) -- does the search functionality in /library work fine on your machine? If not then there might be some issue with how elasticsearch is being set up locally.
Also, despite the error, does the data actually load?
Finally, in terms of doing it manually, you can also try creating the data directly from the topic editor, skill editor, etc. See the instructions here for more details.
If you need further help, please post with more information about what you tried and what failed. Thanks!