[Xerte] quizzes - Incorrect data type problem

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Oct 1 11:12:03 BST 2009


So you must have a folder called 'models' in your project?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Apostolidis
Leonidas
Sent: Thursday, October 01, 2009 10:44 AM
To: 'Xerte discussion list'
Subject: RE: [Xerte] quizzes - Incorrect data type problem

 

I have Xerte 2.6 J

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Thursday, October 01, 2009 12:05 PM
To: Xerte discussion list
Subject: RE: [Xerte] quizzes - Incorrect data type problem

 

Have you got the latest Xerte?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Apostolidis
Leonidas
Sent: Thursday, October 01, 2009 10:04 AM
To: 'Xerte discussion list'
Subject: RE: [Xerte] quizzes - Incorrect data type problem

 

Hi Jullian

There isn't any rlm file or models folder in my files. Am I doing
anything wrong? How can I test your attached file?

I noticed also that if I export the lesson in scorm 2004 format I don't
get the error but the grades remain 0.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Wednesday, September 30, 2009 4:40 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] quizzes - Incorrect data type problem

 

I've asked for lots of things - don't always get them! ;-) But that's
great going to test shortly!

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 30 September 2009 13:42
To: Xerte discussion list
Subject: RE: [Xerte] quizzes - Incorrect data type problem

 

Yes, the quiz one does. I thought you'd asked for that??

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Wednesday, September 30, 2009 1:40 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] quizzes - Incorrect data type problem

 

Hi Julian

Does that mean the quiz page template does actually send scores? I was
under the impression there wasn't any score tracking built in to that
template.

Cheers

Ron

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 30 September 2009 13:29
To: Xerte discussion list
Subject: RE: [Xerte] quizzes - Incorrect data type problem

 

Can you swap your quiz.rlm for thoe one attached and see if it sorts the
problem out? It goes in the models folder alongside your rlt. I was
sending a number from Xerte. I'm pretty sure all the SCORM functions
need strings...?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Apostolidis
Leonidas
Sent: Wednesday, September 30, 2009 10:23 AM
To: 'Xerte discussion list'
Subject: RE: [Xerte] quizzes - Incorrect data type problem

 

I use a template.rlt and I work with the template wizard

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Wednesday, September 30, 2009 11:28 AM
To: Xerte discussion list
Subject: RE: [Xerte] quizzes - Incorrect data type problem

 

Are you using the templates in Xerte?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Marc
Torruella Altadill
Sent: Wednesday, September 30, 2009 7:51 AM
To: 'Xerte discussion list'
Subject: RE: [Xerte] quizzes - Incorrect data type problem

 

Ok,

That depens on the package. In our case, we call de scorm functions
(setValue, getValue) from our custom interface, an swf. If is the same
with your package, you'll need the .fla file with the code, not enough
with the compiled .swf file.

But it's possible de scorm functions are called from your .rlo file
instead, so install Xerte and edit your .rlo file, and look for the two
functions I mentioned before on the script pages.

 

Sorry I cannot explain better, I use custom autolearned English J.

 

De: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] En nombre de Apostolidis
Leonidas
Enviado el: martes, 29 de septiembre de 2009 16:29
Para: 'Xerte discussion list'
Asunto: RE: [Xerte] quizzes - Incorrect data type problem

 

To be honest I didn't create the packages. I don't know many things
about the creation of scorm packages and xerte. Can you please tell me
how can I check what value is passing in setValue function?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Marc
Torruella Altadill
Sent: Tuesday, September 29, 2009 5:05 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] quizzes - Incorrect data type problem

 

Are you sure you are passing the correct value to the setValue function?
It expects a number I guess and maybe he gets a null or a string,
whatever, check your code J

 

De: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] En nombre de Apostolidis
Leonidas
Enviado el: martes, 29 de septiembre de 2009 15:34
Para: xerte at lists.nottingham.ac.uk
Asunto: [Xerte] quizzes - Incorrect data type problem

 

Hello

 

I use moodle 1.9.4 and xerte 2.0 to produce scorm packages  and I'm
having a little problem with the quizzes. I want to keep the score but
when I'm answering the questions and hit the submit button I get the
error "Incorrect data type" and the score remains 0.  Can anyone help
me?

 

Thanks,

Leo 



__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4467 (20090929) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4467 (20090929) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4467 (20090929) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4467 (20090929) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4468 (20090929) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4470 (20090930) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4470 (20090930) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4471 (20090930) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4471 (20090930) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4471 (20090930) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

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


More information about the Xerte mailing list