debugging SCORM包在Moodle -如何调试错误

iqih9akk  于 2023-02-04  发布在  其他
关注(0)|答案(3)|浏览(141)

我试图让SCORM软件包在我的Moodle 2.7.11网站正确工作.
我得到一对夫妇的不同的错误,而使用的SCORM,如:

LMSSetValue Error: cmi.core.lesson_location to [page242.html] Not initialized.
LMSSetValue Error: cmi.suspenddata to [----] Not initialized.
Some of the persistent data was not able to be stored.
LMSSetValue Error: cmi.core.lesson_status to [passed] Not initialized.
LMSCommit Error: Not initialized.

我已经测试了Scorm包,并验证了它们可以在ScormCloud(一个Scorm测试站点)上工作。
看起来在以下两个方面之间一定存在一些不相容性:i)SCORM标准的Scorm模块构建,ii)jquery版本,或iii)SCORM版本,此版本的Moodle支持。
我已经打开了调试Scorm模块的选项(在Site Admin/plugins/activities/Scorm中),但似乎没有任何效果。我不确定这些调试消息发送到哪里。有一些Moodle文档,但他们没有告诉你在哪里可以找到调试日志,www.example.com。https://docs.moodle.org/28/en/SCORM_FAQ#Debugging.
更新:
这里是调试时,我运行的SCORM课程SCORM云之一:

[17:21:56.925] Beginning prerequisites evaluation of activity CourseID -org
[17:21:56.925] Beginning prerequisites evaluation of activity CourseID -org
[17:21:56.925] Beginning prerequisites evaluation of activity I_A001
+ [17:22:00.197] LMSInitialize('') returned 'true' in 0.001 seconds
+ [17:22:00.198] LMSGetValue('cmi.core.lesson_status') returned 'not attempted' in 0.001 seconds
+ [17:22:00.199] LMSSetValue('cmi.core.lesson_status', 'incomplete') returned 'true' in 0.007 seconds
+ [17:22:00.206] LMSCommit('') returned 'true' in 0 seconds
  [17:22:00.355] Beginning prerequisites evaluation of activity CourseID -org
  [17:22:00.355] Beginning prerequisites evaluation of activity CourseID -org
  [17:22:00.355] Beginning prerequisites evaluation of activity I_A001
+ [17:22:00.731] LMSGetValue('cmi.core.lesson_location') returned '' in 0 seconds
+ [17:22:00.732] LMSSetValue('cmi.core.lesson_location', 'page44294.html') returned 'true' in 0.001 seconds
+ [17:22:08.411] LMSSetValue('cmi.core.lesson_location', 'page37662.html') returned 'true' in 0.004 seconds
+ [17:22:08.471] LMSGetValue('cmi.suspend_data') returned '' in 0 seconds
+ [17:22:08.471] LMSSetValue('cmi.suspend_data', ';~;Kunskapstest_Score=0;') returned 'true' in 0.001 seconds
+ [17:22:08.472] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Score=0;' in 0 seconds
+ [17:22:08.472] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Score=0;' in 0 seconds
+ [17:22:08.473] LMSSetValue('cmi.suspend_data', ';~;Kunskapstest_Prov_Score=0;Kunskapstest_Score=0;') returned 'true' in 0 seconds
+ [17:22:08.473] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Prov_Score=0;Kunskapstest_Score=0;' in 0 seconds
+ [17:22:10.247] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Prov_Score=0;Kunskapstest_Score=0;' in 0.001 seconds
+ [17:22:10.248] LMSSetValue('cmi.suspend_data', ';~;Kunskapstest_Score=0;Kunskapstest_Prov_Score=0;') returned 'true' in 0.001 seconds
+ [17:22:10.249] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Score=0;Kunskapstest_Prov_Score=0;' in 0 seconds
+ [17:22:10.250] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Score=0;Kunskapstest_Prov_Score=0;' in 0.001 seconds
+ [17:22:10.251] LMSSetValue('cmi.suspend_data', ';~;Kunskapstest_Prov_Score=0;Kunskapstest_Score=0;') returned 'true' in 0.001 seconds
+ [17:22:10.252] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Prov_Score=0;Kunskapstest_Score=0;' in 0 seconds
+ [17:22:16.545] LMSSetValue('cmi.core.lesson_location', 'page41883.html') returned 'true' in 0.004 seconds
+ [17:22:17.573] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Prov_Score=0;Kunskapstest_Score=0;' in 0.002 seconds
+ [17:22:17.576] LMSSetValue('cmi.suspend_data', ';~;Kunskapstest_Score=0;Kunskapstest_Prov_Score=0;') returned 'true' in 0.001 seconds
+ [17:22:17.577] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Score=0;Kunskapstest_Prov_Score=0;' in 0 seconds
+ [17:22:17.578] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Score=0;Kunskapstest_Prov_Score=0;' in 0 seconds
+ [17:22:17.579] LMSSetValue('cmi.suspend_data', ';~;Kunskapstest_Prov_Score=0;Kunskapstest_Score=0;') returned 'true' in 0.001 seconds
+ [17:22:17.580] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Prov_Score=0;Kunskapstest_Score=0;' in 0 seconds
+ [17:22:17.582] LMSSetValue('cmi.core.score.raw', '0') returned 'true' in 0.002 seconds
+ [17:22:17.585] LMSCommit('') returned 'true' in 0 seconds
+ [17:22:17.616] LMSSetValue('cmi.core.lesson_status', 'failed') returned 'true' in 0.005 seconds
+ [17:22:17.622] LMSCommit('') returned 'true' in 0 seconds
    [17:22:17.736] Beginning prerequisites evaluation of activity CourseID -org
    [17:22:17.737] Beginning prerequisites evaluation of activity CourseID -org
    [17:22:17.737] Beginning prerequisites evaluation of activity I_A001
    [17:22:17.911] Beginning prerequisites evaluation of activity CourseID -org
    [17:22:17.911] Beginning prerequisites evaluation of activity CourseID -org
    [17:22:17.911] Beginning prerequisites evaluation of activity I_A001
+ [17:22:19.399] LMSSetValue('cmi.core.session_time', '00:00:19') returned 'true' in 0.001 seconds
+ [17:22:19.400] LMSCommit('') returned 'true' in 0 seconds
+ [17:22:20.174] LMSSetValue('cmi.core.lesson_location', 'page37991.html') returned 'true' in 0 seconds
+ [17:22:23.223] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Prov_Score=0;Kunskapstest_Score=0;' in 0.002 seconds
+ [17:22:23.225] LMSSetValue('cmi.suspend_data', ';~;Kunskapstest_Score=0;Kunskapstest_Prov_Score=0;') returned 'true' in 0.003 seconds
+ [17:22:23.228] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Score=0;Kunskapstest_Prov_Score=0;' in 0 seconds
+ [17:22:23.229] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Score=0;Kunskapstest_Prov_Score=0;' in 0 seconds
+ [17:22:23.229] LMSSetValue('cmi.suspend_data', ';~;Kunskapstest_Prov_Score=0;Kunskapstest_Score=0;') returned 'true' in 0 seconds
+ [17:22:23.229] LMSGetValue('cmi.suspend_data') returned ';~;Kunskapstest_Prov_Score=0;Kunskapstest_Score=0;' in 0 seconds
+ [17:22:36.518] OverallSequencingProcess for SCORM 1.1 / SCORM 1.2 returned '' in 2.216 seconds
+ [17:22:36.574] LMSSetValue('cmi.core.session_time', '00:00:36') returned 'true' in 0.002 seconds
+ [17:22:36.576] LMSCommit('') returned 'true' in 0.001 seconds
+ [17:22:36.577] LMSFinish('') returned 'true' in 0.002 seconds
+ [17:22:36.578] Pre-evaluation of exit action
+ [17:22:38.735] OverallSequencingProcess for SCORM 1.1 / SCORM 1.2

这是如何出来的时候,我运行它的SCORM云,但我不认为它总是这样做,在这个顺序.这就是为什么我希望能够在Moodle中调试,找出出了什么问题,当错误出现.

c2e8gylq

c2e8gylq1#

我发现一个有趣的在线工具来测试/调试您的SCORM内容...它被称为“SCORM调试器”从SCORM工具。
看看这个:https://www.scormtools.net/scorm-debugger/
它可以让你像LMS播放你的内容,但与专业的开发人员界面,你可以看到所有的SCORM变量和互动的实时.在控制台面板中,你可以看到所有的LMSSetValue和LMSGetValue互动发送/接收的内容.
此外,还可以保存恢复点,以便随时返回到课程的先前状态,从而解决内容的任何问题
希望这对你有帮助!

i5desfxk

i5desfxk2#

这是一个多SCO课程?我在一些课程中看到这一点,如果它在SCO调用LMSFinish,然后从来没有重新初始化时,它启动下一个SCO.调试日志从SCORM云可以肯定地为我们在这里,如果你分享它的路径.
为了在这里分享,你可以在SCORM云沙盒的课程,然后一旦你退出,向下滚动到调试部分.点击链接,你参加了课程的会话,这应该打开调试日志...滚动所有的方式到日志的底部,应该有一个URL,你可以复制并粘贴到这里分享.
谢谢大家!

d4so4syb

d4so4syb3#

Moodle scorm调试信息应该在课程启动的第二秒弹出,请确保您的浏览器没有阻止窗口打开。

相关问题