Hi all,
I'm trying to set up an Open edX site, running on the Google Cloud platform. New VM instance, custom machine (1 vCPU, 4 GB memory), Ubuntu 12.04 on 50 GB standard persistent disk.
I have followed the instructions here (
https://openedx.atlassian.net/wiki/display/OpenOPS/Native+Open+edX+Ubuntu+12.04+64+bit+Installation) for Manual Installation using the latest master. After restarting various services, the website is working, I can create a new superuser and log in, access/create courses.
However, there is an error that I am experiencing with a particular problem type, the "Chemical Equation" problem. This error occurs in both the pre-existing "edX Demonstration Course" and in a new course with a newly-created problem of this type.
This is the error from the Chemical Equation problem in the Example Week 1 section of the edX Demo course:
Staff debug info: Traceback (most recent call last):
File
"/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/capa_base.py",
line 1063, in check_problem
correct_map = self.lcp.grade_answers(answers)
File
"/edx/app/edxapp/edx-platform/common/lib/capa/capa/capa_problem.py",
line 378, in grade_answers
return self._grade_answers(answers)
File
"/edx/app/edxapp/edx-platform/common/lib/capa/capa/capa_problem.py",
line 440, in _grade_answers
results = responder.evaluate_answers(self.student_answers, oldcmap)
File
"/edx/app/edxapp/edx-platform/common/lib/capa/capa/responsetypes.py",
line 280, in evaluate_answers
new_cmap = self.get_score(student_answers)
File
"/edx/app/edxapp/edx-platform/common/lib/capa/capa/responsetypes.py",
line 2375, in get_score
self.execute_check_function(idset, submission)
File
"/edx/app/edxapp/edx-platform/common/lib/capa/capa/responsetypes.py",
line 2416, in execute_check_function
self._handle_exec_exception(err)
File
"/edx/app/edxapp/edx-platform/common/lib/capa/capa/responsetypes.py",
line 2632, in _handle_exec_exception
raise ResponseError(err.message, traceback_obj)
ResponseError: ("Couldn't execute jailed code: stdout: '', stderr: ''
with status code: -9", <traceback object at 0x7f73578b4bd8>)
And this is the error for a newly-created Chemical Equation problem in a different (newly-created) test course:
...
Ok. As I was typing this, suddenly I can't reproduce the error. I've been trying to research fix for this all day...
...
I feel like I am taking crazy pills. Any thoughts?