Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown question behaviour adaptive_adapted_for_coderunner #235

Open
theLogicJB opened this issue Jan 28, 2025 · 5 comments
Open

Unknown question behaviour adaptive_adapted_for_coderunner #235

theLogicJB opened this issue Jan 28, 2025 · 5 comments

Comments

@theLogicJB
Copy link

Hello

I requested the installation of the CodeRunner plugin together with its dependency at my school. The external IT service managing the moodle instance finally started working on the ticket. I'm not sure what they did but now the Quiz-Activity is completely broken. Every time when someone wants to create or edit a quiz the following error is shown.

Unknown question behaviour adaptive_adapted_for_coderunner

Does someone know what causes the error?

I can't reproduce the error on my private moodle instance.

@timhunt
Copy link
Collaborator

timhunt commented Jan 28, 2025

The person who did the install did not read the installation instructions. https://github.com/trampgeek/moodle-qtype_coderunner?tab=readme-ov-file#installation

@theLogicJB
Copy link
Author

Thank you for helping out!

The more precise I can communicate what the issue is, the more likely it is for the IT service to actually get the plugin working. Sadly I'm obligated to deliver a solution since it was my idea to introduce CodeRunner. At the same time I don't have any admin rights or contact to the IT service other than their ticket system.

Is the absence of the moodle-qbehaviour_adaptive_adapted_for_coderunner plugin the most likely explanation?

@timhunt
Copy link
Collaborator

timhunt commented Jan 28, 2025

Yes. But really, you need to send your server admin those install istructions.

Coderunner is not just a plain Moodle plugin - it cannot be and do what it does. There are steps you have to follow to install it, and that documenation takes you through it.

@trampgeek
Copy link
Owner

Certainly the file /question/behaviour/moodle-qbehaviour_adaptive_adapted_for_coderunner/behaviour.php is either missing or unreadable by the web-server process.

However, I'm a bit puzzled as to how this could have happened. Most administrator install from the moodle plugin repository rather than from github, and the installer checks to make sure required dependencies are installed as well. I think the same applied when installing from github, too. So I suspect that the problem is more likely to be that the access rights to the file are wrong, rather than that it is non-existent.

@theLogicJB
Copy link
Author

I have sent the information including the install instructions to the IT service and hope for the best.

Thank you for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants