After recompilation of lms using following command
sudo -u www-data /edx/bin/python.edxapp ./manage.py lms runserver 8000 --settings aws
I am getting following error in lms log while accessing course list.
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 109, in get_response
response = callback(request, *callback_args, **callback_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/edx-platform/common/djangoapps/util/cache.py", line 70, in wrapper
response = view_func(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/branding/views.py", line 80, in index
return student.views.index(request, user=request.user)
File "/edx/app/edxapp/edx-platform/common/djangoapps/student/views.py", line 257, in index
courses = get_courses(user, domain=domain)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/courses.py", line 349, in get_courses
courses = branding.get_visible_courses()
File "/edx/app/edxapp/edx-platform/lms/djangoapps/branding/__init__.py", line 13, in get_visible_courses
_courses = modulestore().get_courses()
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/mixed.py", line 89, in inner
retval = func(field_decorator=strip_key_collection, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/mixed.py", line 258, in get_courses
course_id = self._clean_course_id_for_mapping(course.id)
AttributeError: 'HiddenDescriptorWithMixins' object has no attribute 'id'
I am not able to figure out the problem. I am not able to locate definition of object HiddenDescriptorWithMixins anywhere. Please help me in fixing the problem.