Moodle error

11 views
Skip to first unread message

Martin Jones

unread,
Nov 22, 2022, 2:51:29 AM11/22/22
to Numbas Users
Hi all
This is Numbas running in Moodle. Some of my students do not have any problems, and others are seeing errors like this coming up. In those cases, the only way to resolve it is to delete their attempt and let them start again.
Any suggestions?
Thank you.
MicrosoftTeams-image (3).png

Christian Lawson-Perfect

unread,
Nov 22, 2022, 4:24:26 AM11/22/22
to numbas...@googlegroups.com
Can you give me a link to the exam, please?
I don't think this problem is specific to Moodle.

--
You received this message because you are subscribed to the Google Groups "Numbas Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numbas-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/numbas-users/b1318cec-3c6d-4d91-8e6d-304f8ed0bb43n%40googlegroups.com.

Martin Jones

unread,
Nov 22, 2022, 5:58:32 AM11/22/22
to Numbas Users
The exam is https://numbas.mathcentre.ac.uk/exam/26672/st41-trig-revision 

Some further feedback on the error:
Numbas Error: Part b gap 0: Can't automatically convert from name to decimal.
Numbas Error: Part b gap 0: Can't automatically convert from name to decimal.
at new Numbas.Error (https://moodle.stc.ac.uk/pluginfile.php/310398/mod_scorm/content/1/scripts.js:78:13)
at c.error (https://moodle.stc.ac.uk/pluginfile.php/310398/mod_scorm/content/1/scripts.js:33179:15)
at c.finaliseLoad (https://moodle.stc.ac.uk/pluginfile.php/310398/mod_scorm/content/1/scripts.js:37447:18)
at c [as finaliseLoad] (https://moodle.stc.ac.uk/pluginfile.php/310398/mod_scorm/content/1/scripts.js:43254:15)
at Numbas.createPartFromXML (https://moodle.stc.ac.uk/pluginfile.php/310398/mod_scorm/content/1/scripts.js:32505:14)
at c.loadFromXML (https://moodle.stc.ac.uk/pluginfile.php/310398/mod_scorm/content/1/scripts.js:35101:30)
at c [as loadFromXML] (https://moodle.stc.ac.uk/pluginfile.php/310398/mod_scorm/content/1/scripts.js:43254:15)
at Numbas.createPartFromXML (https://moodle.stc.ac.uk/pluginfile.php/310398/mod_scorm/content/1/scripts.js:32504:14)
at https://moodle.stc.ac.uk/pluginfile.php/310398/mod_scorm/content/1/scripts.js:38778:43
at https://moodle.stc.ac.uk/pluginfile.php/310398/mod_scorm/content/1/scripts.js:41154:38

I assumed it was a problem with Moodle because it is happening on other exams as well sometimes, but sometimes it runs perfectly.

The other problem I'm having (probably unrelated) is that the jsxgraph graphs sometime fail to load for students.

Martin

Christian Lawson-Perfect

unread,
Nov 22, 2022, 6:45:00 AM11/22/22
to numbas...@googlegroups.com
Thanks. I've uploaded that to my Moodle test server and started over 30 attempts, both in Firefox and Chrome, with no problem.
That error message seems familiar, so this might be a bug that has been fixed since you downloaded the package. Can you send the exam package to me at christia...@ncl.ac.uk please, so I can test with the exact version you've got?

Reply all
Reply to author
Forward
0 new messages