Articulate scorm locking up / freezing on loading

Articulate scorm locking up / freezing on loading

av Richard Bragg -
Antall svar: 27

Hi I am using Moodle to host my Articulate published Scorm courses.

These are freezing on launching and not making it past the loading screen. This causes the browser (IE7 & 8) to crash but upon restarting the activties will normally load OK second time. We are using Flash 10 and this has occurred on various machines not just our company network.

I have seen other threads that mentions similar problems, but have not seen a resolution.

Does anyone have any ideas?

Thanks

Richard.

 

Gjennomsnittlig vurdering: -
Som svar til Richard Bragg

Re: Articulate scorm locking up / freezing on loading

av Franco Pomidoro -

hi richard, can you tell us a little more about this issue?

what version of moodle are you using? where are you hosting?

about the freezing, it only happens with IE7 & IE8? it works ok in firefox and chrome?

Som svar til Franco Pomidoro

Re: Articulate scorm locking up / freezing on loading

av Richard Bragg -

Hi Franco, thanks for your reply.

We are using Moodle 1.9.7 This is being hosted by a supplier who use Rackspace in the UK.

Our company systems only use IE7 or 8 so I have not tested on any other browser and certainly would not be able to change users browsers to anything else.

Hope this helps, if you need any more info, please let me know.

 

Thanks

 

Richard.

 

 

Som svar til Richard Bragg

Re: Articulate scorm locking up / freezing on loading

av Lynda Price-Winter -

Could I suggest that you try this from home???  Does it happen outside your network?  If it does, then you perhaps should be able to try Firefox (from home) and test again.  This will determine if in your case it is a network issue or a browser issue.

Som svar til Richard Bragg

Re: Articulate scorm locking up / freezing on loading

av Jim Rehmann -

We worked on this problem for nearly a year at our company.  After trying many solutions - none of which worked - we finally converted our 700 locations to use FIREFOX when launching moodle.  Since then, we have not had a SINGLE incident of screen freezes.

If anyone has another workaround that utilizes MSIE, I'd like to hear it too.

Som svar til Richard Bragg

Re: Articulate scorm locking up / freezing on loading

av Dave Arnold -

I had this problem with SCORM packages created by Captivate.  After a lot of troubleshooting I found it happened every time we used the animated text option anywhere in the project.  Now we just don't use animated text.  Pick through your project removing things one at a time until it starts to work.  That should help you identify the issue. Don't forget to clear your cache before each test too. If you figure it out be sure to post it here so others can benefit.

Som svar til Dave Arnold

Re: Articulate scorm locking up / freezing on loading

av Richard Bragg -

Hi Dave

By this I presume you mean to remove all powerpoint animations before publishing. Sounds strange but can give it a go.

Yes, I'll certainly post back here when I get this resolved.

Thanks

Som svar til Richard Bragg

Re: Articulate scorm locking up / freezing on loading

av Lynda Price-Winter -

hmmm.  We have the same issue with prolonged latency (screen freezes but does progress) with some of our Captivate SCORM packages.  I thought it may be the network (largest school in the Northern Territory trying to manage on 10mb bandwidth - seriously inadequate), but I was leaning towards the way in which Captivate passes the SCORM results over to Moodle!  Perhaps there is an inefficiency in this method.

Som svar til Richard Bragg

Re: Articulate scorm locking up / freezing on loading

av Amy Groshek -
How big is your SCORM package? Bigger than 5mb? Bigger than 10mb? If so, it's too big.

If your SCORM package is *not* huge, you might want to contact Articulate for help with their product. You can also install the Flash debugger and check for runtime errors in the loaded SWF using firebug.

A third option is to quit using authorware. If you are willing to pay someone for quality they will build something well-tested and support it.
Som svar til Amy Groshek

Re: Articulate scorm locking up / freezing on loading

av Under Dog -
Sorry to drag this older post up, but I am having a similar issue. Has anybody come up with another solution other than Firefox or removing animated text? I guess I am looking for additional solutions... Thx, Dave
Som svar til Richard Bragg

Re: Articulate scorm locking up / freezing on loading

av Marshall Hinchey -

We noticed issues with our Articulate products loaded onto Moodle last fall.  A couple of us upgraded to IE 8 this morning and we are having ZERO issues right now with the modules hanging up.

Som svar til Richard Bragg

Re: Articulate scorm locking up / freezing on loading

av Marshall Hinchey -

We noticed issues with our Articulate products loaded onto Moodle last fall.  A couple of us upgraded to IE 8 this morning and we are having ZERO issues right now with the modules hanging up.

Som svar til Richard Bragg

Re: Articulate scorm locking up / freezing on loading

av Ezra Wolfe -

We're having the same problems, with IE8.

What happens is that the browser gets hung up waiting for files. Different files each time. XML, PNG, MP3, it doesn't seem to matter.

I used wireshark to analyse the tcp transmission and I can see that the browser is returning a zero window state to server.

Netstat shows TIME_WAITs

Eventually the connections are released on the browser and the package completes loading. It always takes ~300 seconds.

We tried the package on scorm test track and it performed fine. So, although it does seem to be a problem on the client, some interaction/setting on the server is causing it.

We've tried:

  • Testing on different servers to rule out a firewall issue.
  • KeepAlive on and off
  • Compression off
  • Changing server timeouts

There are other users describing the same problem:

http://www.articulate.com/forums/70678-post23.html

http://community.articulate.com/forums/p/1144/5009.aspx

 

 

Som svar til Ezra Wolfe

Re: Articulate scorm locking up / freezing on loading

av Ezra Wolfe -

I've attached a debug log.

You can see where the crash happens. LMSCommit is called and then nothing happens for 5 minutes. At this time the browser is returning zero window to the server.

166:Wed May 4 01:35:39 UTC+0100 2011 - Calling LMSCommit

167:Wed May 4 01:40:40 UTC+0100 2011 - strResult=false

Som svar til Ezra Wolfe

Re: Articulate scorm locking up / freezing on loading

av Ezra Wolfe -

We're working around this by putting a 5 second timout in place. The alert was just for debugging so we can tell it's working.

===================================================================
--- request.js	(revision 199)
+++ request.js	(revision 200)
@@ -27,6 +27,8 @@
     //popupwin(url+"\n"+param);
     httpReq.open("POST", url,false);
     httpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
+    httpReq.timeout = 5000;
+    httpReq.ontimeout = DoRequestTimeout;
     httpReq.send(param);
     if (httpReq.status == 200) {
         //popupwin(url+"\n"+param+"\n"+httpReq.responseText);
@@ -36,6 +38,10 @@
     }
 }
 
+function DoRequestTimeout() {
+  //alert('DoRequested timed out after 5sec');
+}
+

Som svar til Ezra Wolfe

Re: Articulate scorm locking up / freezing on loading

av Ezra Wolfe -

Unfortunately, httpReq.timeout doesn't work in IE7, so we're working on a workaround.

Som svar til Ezra Wolfe

Re: Articulate scorm locking up / freezing on loading

av Ezra Wolfe -

Here is a fix that sends the IE7 request asyncronously and times out the IE8 freeze. It always returns true for IE7, but we've isolated that to IE7. However, there is no error returned to the user anyway when LMSCommit fails so this doesn't seem any more risky than the standard implementation, which also fails silently.


function DoRequest(httpReq,url,param) {

if (navigator.appVersion.indexOf("MSIE 7.")!=-1) {
// This is IE7
httpReq.open("POST", url,true);
httpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
httpReq.send(param);
return 'true';
}
else {
// httpReq.open (Method("get","post"), URL(string), Asyncronous(true,false))
//popupwin(url+"\n"+param);
httpReq.open("POST", url,false);
httpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
httpReq.timeout = 5000;
httpReq.ontimeout = DoRequestTimeout;
httpReq.send(param);
if (httpReq.status == 200) {
//popupwin(url+"\n"+param+"\n"+httpReq.responseText);
return httpReq.responseText;
} else {
return httpReq.status;
}
}
}

function DoRequestTimeout() {
//alert('DoRequested timed out after 5sec');
}
Som svar til Ezra Wolfe

Re: Articulate scorm locking up / freezing on loading

av Micky Fokken -

Ezra,

Thank you for linking my question to this post.  I will redirect the conversation to this post, because it seems like the same issue.

Where do I place the code provided in the previous post?

Micky

Som svar til Micky Fokken

Re: Articulate scorm locking up / freezing on loading

av Ezra Wolfe -

mod/scorm/request.js

Replace the 2nd function from the top (DoRequest) with this code.

Patch is attached as well. To apply it, copy it to the mod/scorm directory and run the following command (assumes a linux server):

patch < request.js.diff

Som svar til Ezra Wolfe

Re: Articulate scorm locking up / freezing on loading

av Micky Fokken -

Ezra, thank you for your quick reply.

I added the code to request.js (attached - I pasted and formatted to mirror your layout) and still am stuck at "Loading...".  When it shows "Loading...", has the SWF technically downloaded to my computer?  One of my techs said it could be a firewall issue, so I turned off the firewall (windows 7) and am still getting this message.

Here is the debug message:

Fri, 13 May 2011 11:53:30 UTC: Moodle SCORM 1.2 API Loaded, Activity: Mobi Level 1 - Final Simulation Quiz, SCO: SCO_ID1
Fri, 13 May 2011 11:53:32 UTC: LMSInitialize("", "") => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.core.lesson_location") - 0 => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.core._children") - student_id, student_name, lesson_location, credit, lesson_status, entry, score, total_time, lesson_mode, exit, session_time => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.suspend_data") - A1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP1Enone$nP000BB001UEA~$8S*eR1K7110CAB0DnilDnilDnilDnilFB~$8S*7O4K7110BAB0DnilDnilDnilDnilIC~$8S*0m5K7110BAB0DnilDnilDnilDnilJD~$8S*8A6K7110BAB0DnilDnilDnilDnilKE~$8S*_T6K7110BAB0DnilDnilDnilDnilLF~$8S*N_6K7110BAB0DnilDnilDnilDnilPG~$8S*gC_K7110BAB0DnilDnilDnilDnilQH~$8S*19_K7110BAB0DnilDnilDnilDnilRI~$8S*0n-K7110BAB0DnilDnilDnilDnilSJ~$8S*q4-K7110BAB0DnilDnilDnilDnilTK~$8S*fKAL7110BAB0DnilDnilDnilDnilWL~$8S*RGCL7110BAB0DnilDnilDnilDnilXM~$8S*nhCL7110BAB0DnilDnilDnilDnilYN~$8S*k4CL7110BAB0DnilDnilDnilDnilbO~$8S*KnEL7110BAB0DnilDnilDnilDnileP~$8S*MYGL7110BAB0DnilDnilDnilDnilhQ~$8S*6sHL7110BAB0DnilDnilDnilDniliR~$8S*w9HL7110BAB0DnilDnilDnilDnilqS~$8S*kwOL7110BAB0DnilDnilDnilDnilsT~$8S*YsPL7110BAB0DnilDnilDnilDnilA => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.interactions._children") - id, objectives, time, type, correct_responses, weighting, student_response, result, latency => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.interactions._count") - 0 => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.launch_data") - => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.objectives._count") - 0 => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.core.lesson_location") - 0 => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.core.score._children") - raw, min, max => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.core.score.raw") - 20 => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.core.score.min") - => 0
Fri, 13 May 2011 11:53:33 UTC: LMSGetValue("cmi.core.score.max") - => 0

 

Som svar til Micky Fokken

Re: Articulate scorm locking up / freezing on loading

av Micky Fokken -

Thought the Javascript code mod didn't fix it, enabling the structure page and clicking "start a new attempt" did.  It seems to be related to Review mode.

I will try removing the javascript code mod to see if it still works when "start a new attempt" is checked.  BTW - I have a thread to try to find a way to require that every time a SCORM is launched, it starts a new attempt, so Review Mode never launches.

http://moodle.org/mod/forum/discuss.php?d=175322

Som svar til Micky Fokken

Re: Articulate scorm locking up / freezing on loading

av Micky Fokken -

Right now, we are contemplation if we want to upgrade to moodle 2.0, which will let us force a new attempt (disabling Review mode) each time.  We will also consider the feasability of porting this 2.0 code to 1.9.

Som svar til Ezra Wolfe

Re: Articulate scorm locking up / freezing on loading

av Dan Marsden -
Bilde av Core developers Bilde av Particularly helpful Moodlers Bilde av Peer reviewers Bilde av Plugin developers Bilde av Plugins guardians Bilde av Testers Bilde av Translators

Thanks to a client giving me access to their server where this was occuring I think I've managed to track the issue down - keep an eye on MDL-28295 for the fix which will hopefully land in next weeks stable release.

Som svar til Dan Marsden

Re: Articulate scorm locking up / freezing on loading

av Micky Fokken -

BTW - We ended up adding a button that would let users delete prior attempts if their SCORM doesn't load.

Som svar til Dan Marsden

Re: Articulate scorm locking up / freezing on loading

av Gabe Blair -

Hi Dan,

I applied your patch to 2.0.4, and it seems to fix IE7 - awesome!  However, the same popup still freezes in IE8.  Do you have any insight?  Maybe I applied the path wrongly...?  Here's how I applied the patch:

  1. Clone your entire git repo
  2. Checkout MOODLE_20_STABLE branch and use it to upgrade my Moodle instance, by replacing the directory, then overlaying my custom auth and theme folders, and config.php
  3. Checkout the m20_MDL-28295 branch (your fix) to a standalone location, and copy the entire mod/scorm/ directory to my Moodle instance

Thanks for any insight you can provide.

Som svar til Gabe Blair

Re: Articulate scorm locking up / freezing on loading

av Dan Marsden -
Bilde av Core developers Bilde av Particularly helpful Moodlers Bilde av Peer reviewers Bilde av Plugin developers Bilde av Plugins guardians Bilde av Testers Bilde av Translators

Hi Gabe,

good to hear! - I haven't done any testing of IE 8 yet but we do have this:
http://tracker.moodle.org/browse/MDL-28551

try the fix posted in the forum and see if that resolves it for you? - if not we'll need lots of information on how to reproduce it - including SCORM object, IIS/Apache (what versions) php version, what php extensions are installed etc etc.

thanks!