Need help for Edx Lms Operation

194 views
Skip to first unread message

Sukla Nag

unread,
Aug 19, 2015, 7:38:31 AM8/19/15
to General Open edX discussion
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.

frank

unread,
Aug 19, 2015, 8:22:59 AM8/19/15
to General Open edX discussion
looks like somebody faced this issue and solved.

Sukla Nag

unread,
Aug 19, 2015, 8:47:20 AM8/19/15
to General Open edX discussion
Thanks for the help, but I tried that, did not work

Jun Matsushita

unread,
Mar 31, 2017, 11:24:23 AM3/31/17
to General Open edX discussion
I encountered the same error and haven't solved it yet but found this message on the edx slack which seems to point at a solution. I'll report back here if I sort it out.

 Richard Moch
So: such error happens when the file requirement/edx/local.txt fails to install edx-platform as a Python package
Posted in #generalDec 28th, 2016 at 4:56 PM
Reply all
Reply to author
Forward
0 new messages