I encountered the same error and haven't solved it yet but found this 
message <https://openedx.slack.com/archives/C02SNA1U4/p1482940618000386> 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



On Wednesday, August 19, 2015 at 1:38:31 PM UTC+2, Sukla Nag wrote:
>
> 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.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/aa9ebc2a-bc4a-4206-b256-7f62dda4cb84%40googlegroups.com.

Reply via email to