Forum Discussion

marisaorlando's avatar
marisaorlando
Community Member
2 years ago

Error initializing communications with LMS "when resuming a SCORM built with Storyline

Hi everybody,

Since we updated Storyline from Build 3.80.31058.0 to Build 3.82.31354.0, we are having problems when resuming a SCORM package.

We are using Moodle 4.1. to launch the SCORM.

Resuming a SCORM causes the following error message to appear (also see the attached image):

Error initializing communications with LMS

The SCORM debug window shows these errors:

125:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - SCORM_GrabAPI, returning

126:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - Calling LMSInitialize

127:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - strResult=false

128:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - Detected failed call to initialize

129:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - In SCORM_SetErrorInfo

130:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - intSCORMError=101

131:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - strSCORMErrorString=General exception

132:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - strSCORMErrorDiagnostic=101

133:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - Error calling LMSInitialize:

134:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - intSCORMError=101

135:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - SCORMErrorString=General exception

136:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - Diagnostic=101

137:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - ERROR Initializing LMS

138:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - In InitializeExecuted, blnSuccess=false, strErrorMessage=Error initializing communications with LMS

139:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - ERROR - LMS Initialize Failed

140:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - In DisplayError, strMessage=Error initializing communications with LMS

 

We managed to trace the error to an exception being thrown by function "syncAfterResume" in file "/html5/lib/scripts/bootstrapper.min.js" of the SCORM package.

    syncAfterResume: function() {

        p !== h.value() && b(h.value())

    },

 

The exception being thrown is:

    TypeError: Cannot read properties of undefined (reading 'value')

        at Object.syncAfterResume (bootstrapper.min.js:2:122548)

        at i.onAfterSetResume (slides.min.js:2:330681)

        at Object.setResumeData (bootstrapper.min.js:2:294120)

        at bootstrapper.min.js:2:165969

        at Array.forEach (<anonymous>)

        at Object.resolve (bootstrapper.min.js:2:165939)

        at Object.resolveDeferred (bootstrapper.min.js:2:289278)

        at Object.check (bootstrapper.min.js:2:289973)

        at xe (bootstrapper.min.js:37:4528)

        at Object.e [as checkAndResolve] (bootstrapper.min.js:37:32732)


Many thanks.

Marisa

  • Hi Everyone!

    I'm happy to share that we just released Storyline 360 (Build 3.84.31647.0) which includes the fix for the bug:

    • Error initializing communications with LMS "when a course is set to 'Always Resume'.

    Now all you need to do is update Storyline 360 in your Articulate 360 desktop app to take advantage of the newest bug fixes and features!

    If you run into any issues, please don't hesitate to reach out to our team by submitting a support case.

  • Hi, I am experiencing the same issue too. 

    I created a test Storyline course and found there was no errors with basic text/image.

    I then added a video and found there was an issue. 

    The error only appears when I resume a course.

    Does anyone have a solution? I have also submitted a ticket.

    Sophia

  • Hi, to fix this issue, we published with the version of the 3rd of october.

    But in one project we have to cancel the music playlist. We hope that this wll be correct as soon as possible.

  • Hello, I have uploaded a new course to our LMS and this error displays: 

    • SCORM creating registration call failed

    How do I fix this? 

    Thank you,

    Doreen

    • StevenBenassi's avatar
      StevenBenassi
      Staff

      Hi Doreen!

      Sorry to hear you've run into this setback!

      A helpful first step would be testing your .story file with SCORM Cloud. If you can replicate the error in SCORM Cloud, please share a copy of your project file for further testing. Feel free to upload it here in the discussion or privately through a support case.

      We'll delete it from our system as soon as we're finished!

  • Great news! Thanks for sharing what worked for you, Adrian. I'm sure it will be helpful to folks who come across this in the future! 

    Feel free to reach out in the community in the future with any questions or discoveries.

    Have a great start to your day!