I hereby claim:
- I am amir-qayyum-khan on github.
- I am amirq (https://keybase.io/amirq) on keybase.
- I have a public key ASA7CJXnMJHiWkgT2aZfHCgNR0MtWcYFB-kcoEVidkQT1Qo
To claim this, I am signing this object:
```2018-11-13 09:27:40,542 ERROR 24763 [django.request] exception.py:135 - Internal Server Error: /export_git/course-v1:MIT+MIT01+2016 | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner | |
response = get_response(request) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response | |
response = self._get_response(request) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response | |
response = self.process_exception_by_middleware(e, request) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response | |
response = wrapped_callback(request, *callback_args, **callback_kwargs) |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
- When user tries to register platform its gets held | |
- On log there is exception | |
- changed to tx commit level to READ-COMMITTED but not fix same error. | |
- `SHOW ENGINE INNODB STATUS\G` it show some thead blocking and taking time | |
```---TRANSACTION 3269084, ACTIVE 122 sec | |
5 lock struct(s), heap size 1184, 1 row lock(s), undo log entries 4 | |
MySQL thread id 212, OS thread handle 0x7fc86fa15700, query id 2914 localhost edxapp001 cleaning up | |
Trx read view will not see trx with id >= 3269085, sees < 3268825``` | |
- Sometimes it give us error like gateway time our, and screen gets halt of registration but after soe time lets say a min, | |
it mysql creates record from backhround, but form left halt, we will refresh to resubmit it say you are already register. |
Traceback: | |
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response | |
132. response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py" in wrapped_view | |
58. return view_func(*args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/rest_framework/viewsets.py" in view | |
87. return self.dispatch(request, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py" in dispatch | |
466. response = self.handle_exception(exc) | |
File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py" in dispatch |
self = <haystack.fields.CharField object at 0x7f1653f39590> | |
value = '\xe2\x80\xa6' | |
def convert(self, value): | |
if value is None: | |
return None | |
> return six.text_type(value) | |
E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128) |
Traceback (most recent call last): | |
File "/src/exporter/tests/test_export.py", line 101, in setUp | |
import_file(tarball_file, self.repo.id, self.user.id) | |
File "/usr/local/lib/python2.7/dist-packages/celery/local.py", line 167, in <lambda> | |
__call__ = lambda x, *a, **kw: x._get_current_object()(*a, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/celery/app/task.py", line 420, in __call__ | |
return self.run(*args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/statsd/client.py", line 30, in _wrapped | |
return_value = f(*args, **kwargs) | |
File "/src/importer/tasks.py", line 27, in import_file |
Traceback: | |
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response | |
119. resolver_match = resolver.resolve(request.path_info) | |
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in resolve | |
366. for pattern in self.url_patterns: | |
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in url_patterns | |
402. patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) | |
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in urlconf_module | |
396. self._urlconf_module = import_module(self.urlconf_name) | |
File "/usr/lib/python2.7/importlib/__init__.py" in import_module |
Traceback: | |
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response | |
132. response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py" in _wrapped_view | |
21. if test_func(request.user): | |
Exception Type: AttributeError at /repositories/test/ | |
Exception Value: 'RepositoryView' object has no attribute 'user' |
Traceback (most recent call last): | |
File "/home/jenkins/edx-venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 109, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/home/jenkins/edx-venv/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 77, in wrapped_view | |
return view_func(*args, **kwargs) | |
File "/home/jenkins/workspace/edx-platform-test-subset/lms/djangoapps/courseware/module_render.py", line 788, in xqueue_callback | |
with modulestore().bulk_operations(course_id): | |
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ | |
return self.gen.next() | |
File "/home/jenkins/workspace/edx-platform-test-subset/lms/djangoapps/ccx/modulestore.py", line 297, in bulk_operations |