Skip to content

Instantly share code, notes, and snippets.

@rlucioni
Created December 5, 2014 19:14
Show Gist options
  • Save rlucioni/a60ef8dcdc19e1c63379 to your computer and use it in GitHub Desktop.
Save rlucioni/a60ef8dcdc19e1c63379 to your computer and use it in GitHub Desktop.
1) ERROR: test_course_about_in_cart (courseware.tests.test_views.ViewsTestCase)
Traceback (most recent call last):
/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mock.py line 1618 in _inner
return f(*args, **kw)
lms/djangoapps/courseware/tests/test_views.py line 113 in test_course_about_in_cart
response = views.course_about(request, course.id.to_deprecated_string())
/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)
common/djangoapps/util/cache.py line 65 in wrapper
response = view_func(request, *args, **kwargs)
lms/djangoapps/courseware/views.py line 801 in course_about
'cart_link': reverse('shoppingcart.views.show_cart'),
common/djangoapps/edxmako/shortcuts.py line 139 in render_to_response
return HttpResponse(render_to_string(template_name, dictionary, context_instance, namespace), **kwargs)
common/djangoapps/edxmako/shortcuts.py line 126 in render_to_string
return template.render_unicode(**context_dictionary)
/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/template.py line 452 in render_unicode
as_unicode=True)
/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py line 807 in _render
**_kwargs_for_callable(callable_, data))
/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py line 839 in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py line 865 in _exec_template
callable_(context, *args, **kwargs)
/tmp/mako_lms/main.html.py line 70 in render_body
__M_writer(filters.decode.utf8(LANGUAGE_CODE))
/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/filters.py line 67 in decode
return compat.text_type(str(x), encoding=key)
/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py line 226 in __str__
raise NameError("Undefined")
NameError: Undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment