cisstech / platon

Platform for Learning and Teaching Online
Other
14 stars 3 forks source link

Can't grade exercice #36

Closed nimdanor closed 1 year ago

nimdanor commented 1 year ago

On platon-preprod

trying exercice : "C'est quoi une variable"

when asking to be evaluated go this for an answer :

Execution of the evaluating script failed due to an an unknown error. Please contact your teacher :

already piping an entry

mciissee commented 1 year ago

It looks like your exercise has an error with a python sandbox. As already seen with @NewMeeh and @Ofghanirre , this error and all errors related to python sandbox execution are outside the scope of this repository

nimdanor commented 1 year ago

The problem is related to the fabrication in javascript of the tarball https://github.com/mafintosh/tar-stream/issues/24

this to me is a problem in the server side code that builds the "environement" to send to the sandbox

If the problem is in the exercice code then the error message is not informative enough to correct the problem in the exercice code.

nimdanor commented 1 year ago

The problem is if no variable builder or grader is define the script.py is undefined and it make the tar library to fail

The script must be verified while parsing the exercice.