Skip to content

Instantly share code, notes, and snippets.

@antoviaque
Created January 6, 2014 15:48
Show Gist options
  • Select an option

  • Save antoviaque/8284744 to your computer and use it in GitHub Desktop.

Select an option

Save antoviaque/8284744 to your computer and use it in GitHub Desktop.
2014-01-06 15:38:40,289 ERROR 2001 [django.request] base.py:215 - Internal Server Error: /courses/Harvard/HC/January/courseware/69eaa100718542faab5ea1d56ac86ce8/8b3507f44ddd4d968a7c1bf5a3e41e6c/
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 75, in _cache_controlled
response = viewfunc(request, *args, **kw)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/views.py", line 311, in index
course_id, user, section_descriptor, depth=None)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/model_data.py", line 110, in cache_for_descriptor_descendents
return FieldDataCache(descriptors, course_id, user, select_for_update)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/model_data.py", line 67, in __init__
for field_object in self._retrieve_fields(scope, fields):
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/model_data.py", line 160, in _retrieve_fields
set(descriptor.module_class.__name__ for descriptor in self.descriptors),
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/model_data.py", line 160, in <genexpr>
set(descriptor.module_class.__name__ for descriptor in self.descriptors),
AttributeError: 'MentoringBlockWithMixins' object has no attribute 'module_class'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment