MM2 and SCORM

MM2 and SCORM

by Claudio ancooor -
Number of replies: 2

Hi all,

i download the new version of MM2 from github.

On localhost (OSx, Moodle version 2.8.5) I have installed the latest local_mobile (https://moodle.org/plugins/pluginversion.php?id=10327)

The App (in browser) works properly but if I try to open a SCORM 1.2, the popup "Error: It has been found a reply value not valid".


________________________

Console of Chrome:

22/1/2016 11:59:37 $mmSite: Using compatibility WS method 'local_mobile_mod_scorm_get_scorms_by_courses'

ionic.bundle.js:21162 22/1/2016 11:59:38 $mmSite: WS call local_mobile_mod_scorm_get_scorms_by_courses failed. Trying to use the emergency cache.

ionic.bundle.js:21162 22/1/2016 11:59:43 $mmEvents: Observer 2b9bd59da6204cc97e19dc6b2a249e37 listening to event mma_mod_scorm_update_toc

ionic.bundle.js:21162 22/1/2016 11:59:43 $mmEvents: Observer 57d3cc6e8566b10f8da9399f9d5dda47 listening to event mma_mod_scorm_launch_next_sco

ionic.bundle.js:21162 22/1/2016 11:59:43 $mmEvents: Observer f87a68cd4b65fcf1751d742c767ced05 listening to event mma_mod_scorm_launch_prev_sco

ionic.bundle.js:21162 22/1/2016 11:59:43 $mmEvents: Observer a62e7a23e0f3d80e480d31db9bbfbdbf listening to event mma_mod_scorm_go_offline

ionic.bundle.js:21162 22/1/2016 11:59:43 $mmSite: Using compatibility WS method 'local_mobile_mod_scorm_get_scorm_attempt_count'

ionic.bundle.js:21162 22/1/2016 11:59:43 $mmDB: Error getting where equal from db Site-50e3fb842f466afced98ee3148f00188. DataError: Failed to execute 'bound' on 'IDBKeyRange': The parameter is not a valid key.(anonymous function) @ ionic.bundle.js:21162enhancedLogFn @ mm.bundle.js:2753callWhereEqual @ mm.bundle.js:504dbInstances.(anonymous function).whereEqual @ mm.bundle.js:623self.getAttempts @ mm.bundle.js:16550self.getAttemptCount @ mm.bundle.js:15889(anonymous function) @ mm.bundle.js:14530processQueue @ ionic.bundle.js:23399(anonymous function) @ ionic.bundle.js:23415Scope.$eval @ ionic.bundle.js:24678Scope.$digest @ ionic.bundle.js:24489Scope.$apply @ ionic.bundle.js:24783(anonymous function) @ ionic.bundle.js:32135eventHandler @ ionic.bundle.js:12103triggerMouseEvent @ ionic.bundle.js:2870tapClick @ ionic.bundle.js:2859tapMouseUp @ ionic.bundle.js:2932

ionic.bundle.js:21162 22/1/2016 11:59:43 $mmSite: WS call local_mobile_mod_scorm_get_scorm_attempt_count failed. Trying to use the emergency cache.

________________________


If I try to launch the same SCORM from http://school.demo.moodle.net/ everything works properly.


What can I try?

Many thanks and best regards,

Claudio




Average of ratings: -
In reply to Claudio ancooor

Re: MM2 and SCORM

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Claudio,

what's the exact error you get? We don't find anything matching "Error: It has been found a reply value not valid"

If an error returned by a Web Service? Can you enable debugging in your Moodle, and set display errors to on?

And then open the network tab in Chrome and monitor all the XHR requests to see if you get an error there

Juan

In reply to Juan Leyva

Re: MM2 and SCORM

by Claudio ancooor -

Hi Juan,

many thanks for the prompt reply. Sorry, but after a new installation of Moodle 2.8 it works.

Thank you very much.


Claudio