Moodle 4.0 and coderunner plugin not working

Re: Ri: Moodle 4.0 and coderunner plugin not working

by Yuvaraj Balusamy -
Number of replies: 8
Its not coderunner runner issue, why moodle remove column category in mdl_question table. where I can find category field.?
In reply to Yuvaraj Balusamy

Re: Ri: Moodle 4.0 and coderunner plugin not working

by Vincent MARECHAL -
Hello there,
Then why Moodle allow to install coderunner as compatible with Moodle 4.0 ?
I installed it, but it doesn't show in activities list...
Do you plan to repair this issue, please ?
I downloaded from github page, but it's the same, it doesn't show in activities list...
Thanks in advance, ragards.
In reply to Vincent MARECHAL

Ri: Re: Ri: Moodle 4.0 and coderunner plugin not working

by Sergio Rabellino -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Usually it's not a best practice to  post a reply to an old thread with a new issue.
Anyway, coderunner is a question type, not an activity, so it's pretty normal that it's not present in the activities list.
Create a new quiz, then you should be able to add a coderunner question to it.

In reply to Vincent MARECHAL

Re: Ri: Moodle 4.0 and coderunner plugin not working

by Rafael Veiga Cid -

I just installed the Github development branch of coderunner and it worked for me.

 git clone -b development https://github.com/trampgeek/moodle-qtype_coderunner.git question/type/coderunner

 git clone https://github.com/trampgeek/moodle-qbehaviour_adaptive_adapted_for_coderunner.git question/behaviour/adaptive_adapted_for_coderunner

Regards.

Rafa.

Average of ratings: Useful (1)
In reply to Rafael Veiga Cid

Re: Ri: Moodle 4.0 and coderunner plugin not working

by Vincent MARECHAL -
Sorry Sergio, I sould have made a new one.
I write by mistake activity but it was in the question type of quiz.

Hello Rafael, now it works, but I will describe what occured.

Yesterday, I couldn't found the question type "coderunner" in the quiz questions list.
Furthermore when I wanted to open old quizzes with conderunner, I got always a DB error from moodle.
I tried to install from github, but the same two problems. Restarting the server didn't solved the problem. The DB was clean.
This morning, I replaced all the files directly with the github download zip, and now it works.
Maybe some issue with the moodle upgrade from 3.9 to 4.0 ?
Anyway I wrote all this in the case it could help some other persons.

Another issue is that there is no "uninstall" button for coderunner in the moodle plugin list. Is it normal ?

It's then all working well now.

Regards,
Vincent
In reply to Vincent MARECHAL

Re: Ri: Moodle 4.0 and coderunner plugin not working

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Question types do not show an uninstall option while there are any instances in the system.
In reply to Marcus Green

ឆ្លើយតប ៖ Re: Ri: Moodle 4.0 and coderunner plugin not working

by Vincent MARECHAL -
Thanks a lot Marcus.
In reply to Vincent MARECHAL

Re: Ri: Moodle 4.0 and coderunner plugin not working

by Yves Capdeboscq -

Actually, I have never run coderunner, but I have difficulties desintalling it anyway.

Where can I run the check suggested in the github page "    select id, category, name from mdl_question where qtype='coderunner';"

(where can I find a prompt to do that)?

Many thanks


In reply to Yves Capdeboscq

Re: Re: Ri: Moodle 4.0 and coderunner plugin not working

by Yves Capdeboscq -
I removed it brutally by taking away the subdirectories in question/type and question/behavior. Created an error, but then moodle fixed it by just clicking away on continue.