Traceback (most recent call last):
  File 
"/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/core/handlers/base.py",
 
line 149, in get_response
    response = self.process_exception_by_middleware(e, request)
  File 
"/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/core/handlers/base.py",
 
line 147, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File 
"/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/views/generic/base.py",
 
line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File 
"/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/views/__init__.py",
 
line 61, in dispatch
    return super(CourseAPIMixin, self).dispatch(request, *args, **kwargs)
  File 
"/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/braces/views/_access.py",
 
line 102, in dispatch
    request, *args, **kwargs)
  File 
"/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/views/generic/base.py",
 
line 88, in dispatch
    return handler(request, *args, **kwargs)
  File 
"/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/views/generic/base.py",
 
line 157, in get
    context = self.get_context_data(**kwargs)
  File 
"/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/views/course_summaries.py",
 
line 45, in get_context_data
    summaries, last_updated = presenter.get_course_summaries(courses)
  File 
"/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/presenters/course_summaries.py",
 
line 48, in get_course_summaries
    all_summaries = self._get_all_summaries()
  File 
"/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/presenters/course_summaries.py",
 
line 28, in _get_all_summaries
    all_summaries = self.client.course_summaries().course_summaries()
  File 
"/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/analyticsclient/course_summaries.py",
 
line 38, in course_summaries
    return self.client.get(path, data_format=data_format)
  File 
"/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/analyticsclient/client.py",
 
line 64, in get
    response = self._request(resource, timeout=timeout, 
data_format=data_format)
  File 
"/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/analyticsclient/client.py",
 
line 130, in _request
    raise error_class(message)
ClientError: Resource "course_summaries/" returned status code 500

On Friday, February 10, 2017 at 7:28:18 PM UTC+13, Andy Nguyen wrote:
>
> I've successfully installed edx and insights without any errors. However, 
> when I run the analytics tasks, it always fails with pending task, looking 
> into the log I saw this error thus I guess it may be the reason. I run 
> insights on EC2 m3.large instance
>  I have also tried cleaning up warehouse and rerun tasks but no help. The 
> full log attached.
>
> Really appreciate if anyone can help out.
>
> Many thanks,
> Andy
>

-- 
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/d98209e0-fe92-4342-a0dd-d92125e7c4f2%40googlegroups.com.

Reply via email to