Submission page error: unable to load

Hi there, our openedX installation have a problem with assigments as per screenshot.
detailed log is below, tutor, version 14.0.5. Any ideas how to fix?

tutor_local-lms-1 | 2022-10-30 06:33:58,911 ERROR 7 [django.request] [user 7] [ip 82.135.81.192] log.py:224 - Internal Server Error: /courses/course-v1:MIPT+MSAI_22f_RL+22f/xblock/block-v1:MIPT+MSAI_22f_RL+22f+type@openassessment+block@31d1a5de6d6849eba18675c5d740cd7d/handler/render_submission
tutor_local-lms-1 | Traceback (most recent call last):
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py”, line 47, in inner
tutor_local-lms-1 | response = get_response(request)
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/django/core/handlers/base.py”, line 181, in _get_response
tutor_local-lms-1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/django/views/decorators/csrf.py”, line 54, in wrapped_view
tutor_local-lms-1 | return view_func(*args, **kwargs)
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/django/views/decorators/clickjacking.py”, line 50, in wrapped_view
tutor_local-lms-1 | resp = view_func(*args, **kwargs)
tutor_local-lms-1 | File “/openedx/edx-platform/./lms/djangoapps/courseware/module_render.py”, line 1006, in handle_xblock_callback
tutor_local-lms-1 | return _invoke_xblock_handler(request, course_id, usage_id, handler, suffix, course=course)
tutor_local-lms-1 | File “/openedx/edx-platform/./lms/djangoapps/courseware/module_render.py”, line 1155, in _invoke_xblock_handler
tutor_local-lms-1 | resp = handler_instance.handle(handler, req, suffix)
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/xblock/mixins.py”, line 84, in handle
tutor_local-lms-1 | return self.runtime.handle(self, handler_name, request, suffix)
tutor_local-lms-1 | File “/openedx/edx-platform/common/lib/xmodule/xmodule/x_module.py”, line 1458, in handle
tutor_local-lms-1 | return super().handle(block, handler_name, request, suffix=suffix)
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/xblock/runtime.py”, line 1081, in handle
tutor_local-lms-1 | results = handler(request, suffix)
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/openassessment/xblock/submission_mixin.py”, line 799, in render_submission
tutor_local-lms-1 | path, context = self.submission_path_and_context()
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/openassessment/xblock/submission_mixin.py”, line 946, in submission_path_and_context
tutor_local-lms-1 | context[‘saved_response’] = create_submission_dict(saved_response, self.prompts)
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/openassessment/xblock/data_conversion.py”, line 221, in create_submission_dict
tutor_local-lms-1 | parts[0][‘text’] = submission[‘answer’].pop(‘text’)
tutor_local-lms-1 | IndexError: list index out of range
tutor_local-lms-1 | [pid: 7|app: 0|req: 14/49] 172.18.0.7 () {62 vars in 2958 bytes} [Sun Oct 30 06:33:58 2022] POST /courses/course-v1:MIPT+MSAI_22f_RL+22f/xblock/block-v1:MIPT+MSAI_22f_RL+22f+type@openassessment+block@31d1a5de6d6849eba18675c5d740cd7d/handler/render_submission => generated 9876 bytes in 188 msecs (HTTP/1.1 500) 8 headers in 560 bytes (1 switches on core 0)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.