Hello I am Ersoy, a student from TU/e. I am part of a team that is working on creating a course on the OpenLearnity edX platform. Recently, I started seeing errors on some questions that I created earlier that had no problems. Specifically for the Python Evaluated question types on the platform, I get the error [Errno 2] No such file or directory: 'TMPDIR=tmp' . As I said, the questions used to work fine but somehow I get this error for basically and Python or Javascript evaluated questions.
Furthermore, to test if the issue was with my scripts (even though they were not changed) I tried to create a default Python Evaluated question and the same error showed up even before I wrote my script.
I found some similar errors on different forms but none of them really addressed my issue. I also provided the full error displayed on the platform below:
Error formatting HTML for problem:
cannot create LoncapaProblem block-v1:MCS+2IC30+2026+type@problem+block@f2d254a1729e4066acb6a00c630ca62b: Error while executing script code: [Errno 2] No such file or directory: 'TMPDIR=tmp'