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

KeyError: 'course_info' #39

Open
mandichen opened this issue Jan 4, 2016 · 4 comments
Open

KeyError: 'course_info' #39

mandichen opened this issue Jan 4, 2016 · 4 comments

Comments

@mandichen
Copy link

I was trying to reindex a course while encountered with a warning saying
"There were errors reindexing course."

I checked the log of cms, this is what I got:

Jan 4 08:16:01 vultr [service_variant=cms][edx.modulestore][env:sandbox] ERROR [vultr 25818] [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 632, 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'

@jzoldak
Copy link

jzoldak commented Feb 4, 2016

@Lamicc what hash of edx-platform are you using?
And what version of edx-search is installed? You can get this with pip freeze | grep edx-search

@raulperula
Copy link

I have the same problem with the same error message.

I am using a fullstack open edx version and the last version of edx-search.

I have followed the second installation step from the doc: http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/edx_search.html

I appreciate any help.

@Fatma-Sarhan
Copy link

i have the same error
solution please ?

@changeforan
Copy link

Help , I got the same error.
Can anybody help me?

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

5 participants