Web script crashing inquisit


Author
Message
bww2108
bww2108
Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)
Group: Forum Members
Posts: 15, Visits: 1

Hi,



I just updated a script that I was using online. The script works on my computer but when I upload it to inquisit and try to run it, inquisit fails to load and I have to "force quit" it each time. I've tried to load it on two computers (both macs) and inquisit fails to load the script on each computer. I tried it in Chrome and Safari and neither worked. Any suggestions on what could be causing the problem?


The script can be found at: http://research.millisecond.com/bww2108/soccerchoosepicorvideo.web


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

#1: Could you please clarify what "fails to load" means in this case? Please note that loading will inevitably take a long time due to the massive amount of video files required by your script. With a file size upwards of 6MB per file that's a whole lot of data Inquisit has to fetch prior to ever starting the actual experiment on a given system.


#2: There is something off with the file's encoding. In particular, the two <likert> elements have some weird (invisible) control characters embedded in them which should not be there. Have you either (a) edited the file with any application other than Inquisit or (b) pasted those elements from somewhere else? In any case, I recommend you remove them from the script, save and re-enter them from scratch to avoid any parsing issues.


bww2108
bww2108
Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)
Group: Forum Members
Posts: 15, Visits: 1

Dave,


 


By fails to load, Inquisit crashes each time it tries to load the script. I know I have a lot of videos in the file – is there a file size limit?


 



I did copy programming from another file and thus the script may have come through microsoft word at one point. I hadn't realized that until I read your email. I will eliminate those. However, they were in the previous script and it worked fine online before. The one change I made was to add more videos for more options to this script. I was wondering if I had too many videos and thus the file size was the problem. 


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

Sorry, I still don't quite understand. You said:


"inquisit fails to load and I have to "force quit" it each time."


If the script fails to load, what is there to force quit? And:


"By fails to load, Inquisit crashes each time it tries to load the script"


Here too, I unfortunately don't understand. Does it crash or fail to load? If it crashes, how exactly? And if it crashes, what's there to force quit?


Re. total files size etc.: Yes there is a limit, because distributing hundreds of megabytes to each and every client is not very practical. Loading will take a very long time and may likely fail for anyone on a slow or unreliable internet connection. It is technically feasible, though, so the script should eventually run once it has fetched all files. Again, that may take a long time, so you may want to leave your machine alone for a while. Regardless, I would highly recommend reducing file sizes as much as possible for web use.




bww2108
bww2108
Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)Partner Member (642 reputation)
Group: Forum Members
Posts: 15, Visits: 1

Dave,


When I hit start on the launch page, the inquisit launch bounces in the dock and then I eventually would get the error, "Inquisit launch failing to respond".



I made the corrections on the invisible characters but more importantly eliminated 2/3 of the videos in the script. After I did that, it finally launched and gave me a script error (didn't have the finishing page loaded). 


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search