[Xerte] Difficulties in retrieving the results of a Xerte questionnaire (scorm) in Moodle - problem resolved

Mark Tomlinson, AC&S Ltd mark.tomlinson at acns-group.com
Tue Oct 19 10:15:54 BST 2010


I flagged this up a few times in the past and it supposed to have been
'fixed'??

 

Mark

 

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 16 October 2010 11:10
To: Xerte discussion list
Subject: RE: [Xerte] Difficulties in retrieving the results of a Xerte
questionnaire (scorm) in Moodle - problem resolved

 

Look at the toolkits PHP

 

Pat doesNotCamelCaseLikeEVER especially_when_underscores_exist

 

Can some one please check their toolkits install to see if apiwrapper is
named in an upper or lower case?

 

Thanks all

 

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: Saturday, October 16, 2010 7:54 AM
To: 'Xerte discussion list'
Subject: RE: [Xerte] Difficulties in retrieving the results of a Xerte
questionnaire (scorm) in Moodle - problem resolved

OK I did some further checking and here are my conclusions/comments....

 

1. When using the test suite with an LO stored locally you must set the
Flash Player Global Security Settings to allow that path otherwise
LMSSetvalue etc doesn't register. With the path set e.g.
http://mitchellmedia.co.uk/img/tgrab-rX.png then with Nuri's LO the setvalue
is shown in the test suite e.g. http://mitchellmedia.co.uk/img/tgrab-fF.png

 

2. However the LO imported as Scorm into Moodle wasn't storing scores in the
Moodle gradebook and yet I had previous LO's from 2007 which were! Wasted
loads of time tracking down what turned out to be a very simple solution!
Having found the cause solution I think as punishment either Julian or Pat
or both should write 1000 lines: camelcasing bad - lowercasing good! ;-)

 

Line 3 of scormRLO.htm revealed the problem. I tracked back through early
versions of toolkits and at some point apiwrapper.js turned into
APIWrapper.js whereas line 3 of scormRLO.htm seems to have always referred
to apiwrapper.js

 

So I guess on case insensitive systems this hasn't been a problem but I
suspect most Moodle installations are running with case sensitivity. There
are lots of different ways of changing that (file system, mod_spelling,
mod_rewrite etc) but that would be a bit drastic! So easiest solution change
APIWrapper.js to apiwrapper.js or change line 3 of scormRLO.htm to point to
APIWrapper.js

 

I think the easiest is to change APIWrapper.js to apiwrapper.js and to fix
this for future exports from your XOT installation change the file in
yourtoolkitsinstall\modules\xerte\scorm\ APIWrapper.js

 

To fix any existing scorm LO's already imported into Moodle visit the files
area in your course, open the moddata\scorm folder and then the folder
representing the relevant scorm LO e.g. moddata\scorm\4\ and rename
APIWrapper.js to apiwrapper.js

 

HTH

Ron

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 15 October 2010 11:37
To: Xerte discussion list
Subject: RE: [Xerte] Difficulties in retrieving the results of a Xerte
questionnaire (scorm) in Moodle

 

OK, thanks. I need to track down why not. Leave it with me.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Nuri
Sent: 15 October 2010 11:36
To: Xerte discussion list
Subject: Re: [Xerte] Difficulties in retrieving the results of a Xerte
questionnaire (scorm) in Moodle

 

Hi Julian,

I changed the file scormRLO.htm, and I added in the setValue function:
alert ("Hello");
Is it right? ;-P

When I test the scorm in the Test Suite, no alert is triggered at any time.

 

I annex the new file scormRLO.htm, if it's any help.

 

Thanks,

 

Nuria.

2010/10/15 Julian Tenney <Julian.Tenney at nottingham.ac.uk>

No, it's not necessary, we just need to find out where the problem is.

 

You managed to run the SCORM test suite - that usually indicates a
developer.

 

I cannot get IE to run the test suite: something is wrong with my PC (in IE
all local web pages open in source view, and I cannot find a way to get it
to open them normally) and this is screwing up the test suite, otherwise I'd
track it down myself.

 

We'll figure it out, don't worry,

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Nuri
Sent: 15 October 2010 11:21


To: Xerte discussion list
Subject: Re: [Xerte] Difficulties in retrieving the results of a Xerte
questionnaire (scorm) in Moodle

 

Hi Julian,

It is the first time working with Xerte Toolkits. I have not coded anything,
I just used the wizards of Xerte Toolkits.

You mean I have to use some additional programming ? (As you comets, calls
to get / setValue as the quiz starts / finishes).
I thought the tool generates all the necessary code.

I am educator, I have no programming skills to accomplish this.

 

If necessary programming skills, it is not feasible to use this tool to me. 

Is it necessary?

 

Thanks,

 

Nuria.

 

2010/10/15 Julian Tenney <Julian.Tenney at nottingham.ac.uk>

Can you put an alert in the setValue function in scormRLO.htm and see if
it's getting called from Xerte?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Nuri
Sent: 15 October 2010 11:07
To: Xerte discussion list
Subject: Re: [Xerte] Difficulties in retrieving the results of a Xerte
questionnaire (scorm) in Moodle

 

Hi Julian,

I changed the file that you sent me, but I still get the same error in the
Test suite (Data Transfer: None supported)

I annex the log, if it's any help.

 

Thanks,


- Nuri -

 

This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it. Please do not
use, copy or disclose the information contained in this message or in any
attachment. Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham. 

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 


_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.




-- 

- Nuri -

 

This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it. Please do not
use, copy or disclose the information contained in this message or in any
attachment. Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham. 

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20101019/4f82b341/attachment.html


More information about the Xerte mailing list