Picture of Rob Mausser
Weird scorm error on our LMS
by Rob Mausser - Thursday, 18 May 2023, 2:12 AM
 

We have built a course with Adapt4.4 and are getting a strange error on our LMS. 

SCORM.data.set('cmi.core.lesson_location') failed.
Error code: 0.
Error info:

This happens everytime Adapt tries to do data.set through scorm. 

SCORM.data.set('cmi.core.lesson_status') failed.
Error code: 0.
Error info:

 

The debug log looks like this in Adapt

22:06:00.642 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=
22:06:00.661 ScormWrapper::setValue: LMS reported that the 'set' call failed but then said there was no error!
22:07:11.358 ScormWrapper::commit
22:11:17.725 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=2
22:11:17.730 ScormWrapper::setValue: LMS reported that the 'set' call failed but then said there was no error!
22:11:19.510 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=c-215
22:11:22.030 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=
22:11:22.033 ScormWrapper::setValue: LMS reported that the 'set' call failed but then said there was no error!

 

Anyone know whats going on? 

Thanks

Picture of Oliver Foster
Re: Weird scorm error on our LMS
by Oliver Foster - Thursday, 18 May 2023, 8:28 AM
 

Could you provide the LMS name/version and the spoor version?

Picture of Rob Mausser
Re: Weird scorm error on our LMS
by Rob Mausser - Thursday, 18 May 2023, 2:15 PM
 

The LMS is our company's own private LMS for our clients that we built. I can DM you access to it Oliver if you want. 

The Spoor is version 3.3.2, which I believe is the latest you can use with Adapt 4.4.0

Picture of Oliver Foster
Re: Weird scorm error on our LMS
by Oliver Foster - Thursday, 18 May 2023, 3:05 PM
 

I can't support a custom LMS, apologies, someone else may be able to.

You need to return the correct values for this code: https://github.com/adaptlearning/adapt-contrib-spoor/blob/9a46faab5bd467c6dfd3124fd302086c4e2fa523/libraries/SCORM_API_wrapper.js#L567-L625

In accordance with the SCORM API Spec (chapter 3.3): https://github.com/adaptlearning/scorm_docs/blob/master/SCORM%201.2/SCORM_1.2_RunTimeEnv.pdf

 

Picture of Rob Mausser
Re: Weird scorm error on our LMS
by Rob Mausser - Thursday, 18 May 2023, 8:37 PM
 

Appreciate the help thanks