Hi everyone :)
For several days I've now been trying to set up a Moodle installation with CodeRunner.
Unfortunately I'm not getting anywhere and at this point.
The problem I have is, that I'm getting the error message already mentions by other people in this forum:
Unexpected error while executing your code. The sandbox server may be down or overloaded. Perhaps try again shortly.
(or in my case - as my installation is in German: "Ein unerwarteter Fehler ist aufgetreten. Die Sandbox ist möglicherweise nicht verfügbar. Versuchen Sie es bald noch einmal.")
I've set up a jobeinabox in a Docker container on my linux server. And if I try http://[my-host]:4000/jobe/index.php/restapi/languages
I get:
[["c","9.3.0"],["cpp","9.3.0"],["java","14.0.2"],["nodejs","10.19.0"],["octave","5.2.0"],["pascal","3.0.4"],["php","7.4.3"],["python3","3.8.10"]]
In the coderunner settings, I've set:
[my-host]:4000
The API key I left empty, as this isn't supported by jobeinabox
When I run the testfile on the server:
sudo docker exec -t jobe /usr/bin/python3 /var/www/html/jobe/testsubmit.py
Everything seems to work, except for one test:
***************** FAILED TEST ****************** {'run_id': None, 'outcome': 15, 'cmpinfo': '', 'stdout': 'Unable to create directory /home/jobe/runs/jobe_6I2mM7/Hom e/.cache/pylint\n', 'stderr': ''} Valid Python3/pylint program Jobe result: Successful run Output: Unable to create directory /home/jobe/runs/jobe_6I2mM7/Home/.cache/pylint ************************************************
I'm really at a loss at what to do now. I don't even know where I could look for the error.
I really hope, someone can help.
Thanks in advance.
Kind regards, Sarah