Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Created January 5, 2016 16:18
Show Gist options
  • Save singingwolfboy/618de74de5d223fbf723 to your computer and use it in GitHub Desktop.
Save singingwolfboy/618de74de5d223fbf723 to your computer and use it in GitHub Desktop.
edxapp@precise64:~/edx-platform$ paver devstack lms
---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
bundle install --quiet
---> pavelib.prereqs.install_node_prereqs
test `npm config get registry` = "http://registry.npmjs.org/" || (echo setting registry; npm config set registry http://registry.npmjs.org/)
npm install
npm WARN package.json [email protected] No repository field.
[email protected] node_modules/edx-custom-a11y-rules
---> pavelib.prereqs.uninstall_python_packages
pip freeze
pip uninstall --disable-pip-version-check -y edxval
Uninstalling edxval-0.0.8:
Successfully uninstalled edxval-0.0.8
pip freeze
---> pavelib.prereqs.install_python_prereqs
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/pre.txt
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/github.txt
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/local.txt
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/base.txt
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/post.txt
python manage.py cms --settings=devstack reindex_course --setup
/edx/app/edxapp/edx-platform/lms/djangoapps/instructor_task/models.py:39: RemovedInDjango19Warning: Model class instructor_task.models.InstructorTask doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
class InstructorTask(models.Model):
2016-01-05 11:13:21,439 WARNING 30689 [py.warnings] base.py:116 - /edx/app/edxapp/edx-platform/lms/djangoapps/instructor_task/models.py:39: RemovedInDjango19Warning: Model class instructor_task.models.InstructorTask doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
class InstructorTask(models.Model):
2016-01-05 11:13:25,600 INFO 30689 [urllib3.connectionpool] connectionpool.py:207 - Starting new HTTP connection (1): localhost
2016-01-05 11:13:25,774 WARNING 30689 [elasticsearch] base.py:68 - HEAD /courseware_index [status:404 request:0.174s]
2016-01-05 11:13:25,774 INFO 30689 [elasticsearch] base.py:70 - > None
2016-01-05 11:13:26,721 INFO 30689 [elasticsearch] base.py:49 - PUT http://localhost:9200/courseware_index [status:200 request:0.947s]
No handlers could be found for logger "elasticsearch.trace"
2016-01-05 11:13:26,728 INFO 30689 [elasticsearch] base.py:49 - HEAD http://localhost:9200/courseware_index [status:200 request:0.006s]
2016-01-05 11:13:26,734 WARNING 30689 [elasticsearch] base.py:68 - HEAD /courseware_index/courseware_content [status:404 request:0.005s]
2016-01-05 11:13:26,734 INFO 30689 [elasticsearch] base.py:70 - > None
2016-01-05 11:13:27,011 INFO 30689 [urllib3.connectionpool] connectionpool.py:207 - Starting new HTTP connection (1): localhost
2016-01-05 11:13:27,014 INFO 30689 [elasticsearch] base.py:49 - HEAD http://localhost:9200/courseware_index [status:200 request:0.003s]
2016-01-05 11:13:27,072 INFO 30689 [urllib3.connectionpool] connectionpool.py:207 - Starting new HTTP connection (1): localhost
2016-01-05 11:13:27,075 INFO 30689 [elasticsearch] base.py:49 - HEAD http://localhost:9200/courseware_index [status:200 request:0.003s]
2016-01-05 11:13:27,105 INFO 30689 [elasticsearch] base.py:49 - GET http://localhost:9200/courseware_index/course_info/_mapping [status:200 request:0.005s]
2016-01-05 11:13:27,106 ERROR 30689 [search.elastic] elastic.py:385 - error while indexing - course_info
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/src/edx-search/search/elastic.py", line 363, in index
self._check_mappings(doc_type, source)
File "/edx/app/edxapp/venvs/edxapp/src/edx-search/search/elastic.py", line 338, in _check_mappings
for field, value in body.items()
File "/edx/app/edxapp/venvs/edxapp/src/edx-search/search/elastic.py", line 339, in <dictcomp>
if (field not in exclude_fields) and (field not in self._get_mappings(doc_type).get('properties', {}))
File "/edx/app/edxapp/venvs/edxapp/src/edx-search/search/elastic.py", line 253, in _get_mappings
)[doc_type]
KeyError: 'course_info'
2016-01-05 11:13:27,107 ERROR 30689 [edx.modulestore] courseware_index.py:635 - Course discovery indexing error encountered, course discovery index may be out of date course-v1:edX+DemoX+Demo_Course
Traceback (most recent call last):
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/courseware_index.py", line 631, in index_about_information
searcher.index(cls.DISCOVERY_DOCUMENT_TYPE, [course_info])
File "/edx/app/edxapp/venvs/edxapp/src/edx-search/search/elastic.py", line 386, in index
raise ex
KeyError: 'course_info'
2016-01-05 11:13:27,113 ERROR 30689 [edx.modulestore] courseware_index.py:267 - Indexing error encountered, courseware index may be out of date course-v1:edX+DemoX+Demo_Course - KeyError('course_info',)
Traceback (most recent call last):
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/courseware_index.py", line 255, in index
cls.supplemental_index_information(modulestore, structure)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/courseware_index.py", line 403, in supplemental_index_information
CourseAboutSearchIndexer.index_about_information(modulestore, structure)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/courseware_index.py", line 631, in index_about_information
searcher.index(cls.DISCOVERY_DOCUMENT_TYPE, [course_info])
File "/edx/app/edxapp/venvs/edxapp/src/edx-search/search/elastic.py", line 386, in index
raise ex
KeyError: 'course_info'
Traceback (most recent call last):
File "manage.py", line 116, in <module>
execute_from_command_line([sys.argv[0]] + django_args)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv
self.execute(*args, **cmd_options)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
output = self.handle(*args, **options)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/management/commands/reindex_course.py", line 115, in handle
CoursewareSearchIndexer.do_course_reindex(store, course_key)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/courseware_index.py", line 375, in do_course_reindex
return cls._do_reindex(modulestore, course_key)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/courseware_index.py", line 282, in _do_reindex
indexed_count = cls.index(modulestore, structure_key)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/courseware_index.py", line 272, in index
raise SearchIndexingError('Error(s) present during indexing', error_list)
contentstore.courseware_index.SearchIndexingError: Error(s) present during indexing
Captured Task Output:
---------------------
---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
bundle install --quiet
---> pavelib.prereqs.install_node_prereqs
test `npm config get registry` = "http://registry.npmjs.org/" || (echo setting registry; npm config set registry http://registry.npmjs.org/)
npm install
---> pavelib.prereqs.uninstall_python_packages
pip freeze
pip uninstall --disable-pip-version-check -y edxval
pip freeze
---> pavelib.prereqs.install_python_prereqs
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/pre.txt
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/github.txt
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/local.txt
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/base.txt
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/post.txt
python manage.py cms --settings=devstack reindex_course --setup
Build failed running pavelib.servers.devstack: Subprocess return code: 1
edxapp@precise64:~/edx-platform$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment