Created
November 21, 2014 20:26
-
-
Save natea/c65690de976d24bd0f9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-11-21 15:15:23,623 ERROR 53 [root] exceptions.py:9 - Uncaught exception from <class 'django.core.handlers.wsgi.WSGIHandler'> | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 89, in get_response | |
response = middleware_method(request) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/student/middleware.py", line 18, in process_request | |
user_account = UserStanding.objects.get(user=user.id) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/manager.py", line 131, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 361, in get | |
num = len(clone) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 85, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 291, in iterator | |
for row in compiler.results_iter(): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 763, in results_iter | |
for rows in self.execute_sql(MULTI): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 817, in execute_sql | |
cursor = self.connection.cursor() | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 319, in cursor | |
cursor = util.CursorWrapper(self._cursor(), self) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 387, in _cursor | |
self.connection = Database.connect(**kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect | |
return Connection(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 187, in __init__ | |
super(Connection, self).__init__(*args, **kwargs2) | |
OperationalError: (1130, "Host 'ip-172-17-0-77.ec2.internal' is not allowed to connect to this MySQL server") | |
2014-11-21 15:15:23,626 ERROR 53 [django.request] base.py:215 - Internal Server Error: / | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 89, in get_response | |
response = middleware_method(request) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/student/middleware.py", line 18, in process_request | |
user_account = UserStanding.objects.get(user=user.id) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/manager.py", line 131, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 361, in get | |
num = len(clone) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 85, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 291, in iterator | |
for row in compiler.results_iter(): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 763, in results_iter | |
for rows in self.execute_sql(MULTI): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 817, in execute_sql | |
cursor = self.connection.cursor() | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 319, in cursor | |
cursor = util.CursorWrapper(self._cursor(), self) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 387, in _cursor | |
self.connection = Database.connect(**kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect | |
return Connection(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 187, in __init__ | |
super(Connection, self).__init__(*args, **kwargs2) | |
OperationalError: (1130, "Host 'ip-172-17-0-77.ec2.internal' is not allowed to connect to this MySQL server") | |
2014-11-21 15:15:23 [53] [ERROR] Error handling request | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 126, in handle_request | |
respiter = self.wsgi(environ, resp.start_response) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 241, in __call__ | |
response = self.get_response(request) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 179, in get_response | |
response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception | |
return callback(request, **param_dict) | |
File "/edx/app/edxapp/edx-platform/lms/djangoapps/static_template_view/views.py", line 69, in render_500 | |
return HttpResponseServerError(render_to_string('static_templates/server-error.html', {})) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py", line 130, in render_to_string | |
return template.render_unicode(**context_dictionary) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/template.py", line 452, in render_unicode | |
as_unicode=True) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 807, in _render | |
**_kwargs_for_callable(callable_, data)) | |
File "/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) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 865, in _exec_template | |
callable_(context, *args, **kwargs) | |
File "/tmp/mako_lms/main.html.py", line 70, in render_body | |
__M_writer(filters.decode.utf8(LANGUAGE_CODE)) | |
File "/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) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 226, in __str__ | |
raise NameError("Undefined") | |
NameError: Undefined | |
2014-11-21 15:15:23,892 ERROR 53 [gunicorn.error] glogging.py:219 - Error handling request | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 126, in handle_request | |
respiter = self.wsgi(environ, resp.start_response) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 241, in __call__ | |
response = self.get_response(request) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 179, in get_response | |
response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception | |
return callback(request, **param_dict) | |
File "/edx/app/edxapp/edx-platform/lms/djangoapps/static_template_view/views.py", line 69, in render_500 | |
return HttpResponseServerError(render_to_string('static_templates/server-error.html', {})) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py", line 130, in render_to_string | |
return template.render_unicode(**context_dictionary) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/template.py", line 452, in render_unicode | |
as_unicode=True) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 807, in _render | |
**_kwargs_for_callable(callable_, data)) | |
File "/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) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 865, in _exec_template | |
callable_(context, *args, **kwargs) | |
File "/tmp/mako_lms/main.html.py", line 70, in render_body | |
__M_writer(filters.decode.utf8(LANGUAGE_CODE)) | |
File "/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) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 226, in __str__ | |
raise NameError("Undefined") | |
NameError: Undefined | |
2014-11-21 15:15:48,259 ERROR 54 [root] exceptions.py:9 - Uncaught exception from <class 'django.core.handlers.wsgi.WSGIHandler'> | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 89, in get_response | |
response = middleware_method(request) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/student/middleware.py", line 18, in process_request | |
user_account = UserStanding.objects.get(user=user.id) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/manager.py", line 131, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 361, in get | |
num = len(clone) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 85, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 291, in iterator | |
for row in compiler.results_iter(): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 763, in results_iter | |
for rows in self.execute_sql(MULTI): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 817, in execute_sql | |
cursor = self.connection.cursor() | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 319, in cursor | |
cursor = util.CursorWrapper(self._cursor(), self) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 387, in _cursor | |
self.connection = Database.connect(**kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect | |
return Connection(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 187, in __init__ | |
super(Connection, self).__init__(*args, **kwargs2) | |
OperationalError: (1130, "Host 'ip-172-17-0-77.ec2.internal' is not allowed to connect to this MySQL server") | |
2014-11-21 15:15:48,260 ERROR 54 [django.request] base.py:215 - Internal Server Error: / | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 89, in get_response | |
response = middleware_method(request) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/student/middleware.py", line 18, in process_request | |
user_account = UserStanding.objects.get(user=user.id) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/manager.py", line 131, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 361, in get | |
num = len(clone) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 85, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 291, in iterator | |
for row in compiler.results_iter(): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 763, in results_iter | |
for rows in self.execute_sql(MULTI): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 817, in execute_sql | |
cursor = self.connection.cursor() | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 319, in cursor | |
cursor = util.CursorWrapper(self._cursor(), self) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 387, in _cursor | |
self.connection = Database.connect(**kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect | |
return Connection(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 187, in __init__ | |
super(Connection, self).__init__(*args, **kwargs2) | |
OperationalError: (1130, "Host 'ip-172-17-0-77.ec2.internal' is not allowed to connect to this MySQL server") | |
2014-11-21 15:15:48 [54] [ERROR] Error handling request | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 126, in handle_request | |
respiter = self.wsgi(environ, resp.start_response) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 241, in __call__ | |
response = self.get_response(request) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 179, in get_response | |
response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception | |
return callback(request, **param_dict) | |
File "/edx/app/edxapp/edx-platform/lms/djangoapps/static_template_view/views.py", line 69, in render_500 | |
return HttpResponseServerError(render_to_string('static_templates/server-error.html', {})) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py", line 130, in render_to_string | |
return template.render_unicode(**context_dictionary) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/template.py", line 452, in render_unicode | |
as_unicode=True) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 807, in _render | |
**_kwargs_for_callable(callable_, data)) | |
File "/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) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 865, in _exec_template | |
callable_(context, *args, **kwargs) | |
File "/tmp/mako_lms/main.html.py", line 70, in render_body | |
__M_writer(filters.decode.utf8(LANGUAGE_CODE)) | |
File "/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) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 226, in __str__ | |
raise NameError("Undefined") | |
NameError: Undefined | |
2014-11-21 15:15:48,480 ERROR 54 [gunicorn.error] glogging.py:219 - Error handling request | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 126, in handle_request | |
respiter = self.wsgi(environ, resp.start_response) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 241, in __call__ | |
response = self.get_response(request) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 179, in get_response | |
response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception | |
return callback(request, **param_dict) | |
File "/edx/app/edxapp/edx-platform/lms/djangoapps/static_template_view/views.py", line 69, in render_500 | |
return HttpResponseServerError(render_to_string('static_templates/server-error.html', {})) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py", line 130, in render_to_string | |
return template.render_unicode(**context_dictionary) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/template.py", line 452, in render_unicode | |
as_unicode=True) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 807, in _render | |
**_kwargs_for_callable(callable_, data)) | |
File "/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) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 865, in _exec_template | |
callable_(context, *args, **kwargs) | |
File "/tmp/mako_lms/main.html.py", line 70, in render_body | |
__M_writer(filters.decode.utf8(LANGUAGE_CODE)) | |
File "/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) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 226, in __str__ | |
raise NameError("Undefined") | |
NameError: Undefined | |
2014-11-21 15:16:50,935 ERROR 53 [root] exceptions.py:9 - Uncaught exception from <class 'django.core.handlers.wsgi.WSGIHandler'> | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 89, in get_response | |
response = middleware_method(request) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/student/middleware.py", line 18, in process_request | |
user_account = UserStanding.objects.get(user=user.id) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/manager.py", line 131, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 361, in get | |
num = len(clone) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 85, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 291, in iterator | |
for row in compiler.results_iter(): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 763, in results_iter | |
for rows in self.execute_sql(MULTI): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 817, in execute_sql | |
cursor = self.connection.cursor() | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 319, in cursor | |
cursor = util.CursorWrapper(self._cursor(), self) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 387, in _cursor | |
self.connection = Database.connect(**kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect | |
return Connection(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 187, in __init__ | |
super(Connection, self).__init__(*args, **kwargs2) | |
OperationalError: (1130, "Host 'ip-172-17-0-77.ec2.internal' is not allowed to connect to this MySQL server") | |
2014-11-21 15:16:50,935 ERROR 53 [django.request] base.py:215 - Internal Server Error: / | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 89, in get_response | |
response = middleware_method(request) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/student/middleware.py", line 18, in process_request | |
user_account = UserStanding.objects.get(user=user.id) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/manager.py", line 131, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 361, in get | |
num = len(clone) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 85, in __len__ | |
self._result_cache = list(self.iterator()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/query.py", line 291, in iterator | |
for row in compiler.results_iter(): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 763, in results_iter | |
for rows in self.execute_sql(MULTI): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 817, in execute_sql | |
cursor = self.connection.cursor() | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 319, in cursor | |
cursor = util.CursorWrapper(self._cursor(), self) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 387, in _cursor | |
self.connection = Database.connect(**kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect | |
return Connection(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 187, in __init__ | |
super(Connection, self).__init__(*args, **kwargs2) | |
OperationalError: (1130, "Host 'ip-172-17-0-77.ec2.internal' is not allowed to connect to this MySQL server") | |
2014-11-21 15:16:50 [53] [ERROR] Error handling request | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 126, in handle_request | |
respiter = self.wsgi(environ, resp.start_response) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 241, in __call__ | |
response = self.get_response(request) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 179, in get_response | |
response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception | |
return callback(request, **param_dict) | |
File "/edx/app/edxapp/edx-platform/lms/djangoapps/static_template_view/views.py", line 69, in render_500 | |
return HttpResponseServerError(render_to_string('static_templates/server-error.html', {})) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py", line 130, in render_to_string | |
return template.render_unicode(**context_dictionary) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/template.py", line 452, in render_unicode | |
as_unicode=True) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 807, in _render | |
**_kwargs_for_callable(callable_, data)) | |
File "/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) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 865, in _exec_template | |
callable_(context, *args, **kwargs) | |
File "/tmp/mako_lms/main.html.py", line 70, in render_body | |
__M_writer(filters.decode.utf8(LANGUAGE_CODE)) | |
File "/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) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 226, in __str__ | |
raise NameError("Undefined") | |
NameError: Undefined | |
2014-11-21 15:16:50,940 ERROR 53 [gunicorn.error] glogging.py:219 - Error handling request | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 126, in handle_request | |
respiter = self.wsgi(environ, resp.start_response) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 241, in __call__ | |
response = self.get_response(request) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 179, in get_response | |
response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception | |
return callback(request, **param_dict) | |
File "/edx/app/edxapp/edx-platform/lms/djangoapps/static_template_view/views.py", line 69, in render_500 | |
return HttpResponseServerError(render_to_string('static_templates/server-error.html', {})) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py", line 130, in render_to_string | |
return template.render_unicode(**context_dictionary) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/template.py", line 452, in render_unicode | |
as_unicode=True) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 807, in _render | |
**_kwargs_for_callable(callable_, data)) | |
File "/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) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 865, in _exec_template | |
callable_(context, *args, **kwargs) | |
File "/tmp/mako_lms/main.html.py", line 70, in render_body | |
__M_writer(filters.decode.utf8(LANGUAGE_CODE)) | |
File "/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) | |
File "/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