@sotiri of course, this is the survey https://unioflincoln.eu.qualtrics.com/jfe/form/SV_08LMsB7kMVqH4rP and then I added expInfo[‘participant’] to the end to carry my participant ID back through to Qualtrics (followed instructions from a crib sheet in here but think this is probably where I’ve messed it up )
@sotiri copied the line 88 linked into the same section of my code and still stuck on initialising, says due to a syntax error. Is this done correctly? Sorry I’m clueless.
FYI, I think the error you all are discussing here is the same or at least related related to the one that I raised in this thread.
EDIT: I initially thought that my work computer’s Chrome and Edge were throwing the same error, but now I don’t think so. I tried to run this very simple test experiment https://gitlab.pavlovia.org/atryan/migt-v1-05 and it worked, so it really does seem to vary from computer to computer.
Hi @bloxham99, as you can see in the screenshot attached the script that is currently running on Pavlovia is the same as before, were you able to sync your project successfully post edit?
@sotiri I amended the code on gitlab did I need to do it on Psychopy?
@bloxham99 I would expect that you need not to, but as it happens it might be better if you tried? x
@sotiri I realised I didn’t amend the code for the .js file for legacy browsers so just tried that but to no avail this is the syntax error I’m getting?
@bloxham99 Alright, cool, yes that looks like the same type of error, you seem to be running a fairly recent version of Chrome on macOS, the legacy build should not come into play. It must be that Pavlovia and GitLab are out of sync
@bloxham99 Sorry, which version of your study would you rather stage? Is it the html folder one, because the redirect url part on that script remains unchanged?
@bloxham99 No problem, here to help, please allow me some time to investigate
@sotiri Thankyou. On instruction from my supervisor I have had to modify the experiment so that it goes SONA → Qualtrics → Pavlovia now (just to simplify things down on their end) & I have edited code accordingly (as this meant changing the completed URL redirect link - I think I’ve done this correctly), still getting the FrameDur issue, even when I run the experiment from the dashboard, which has never happened.
@bloxham99 It sometimes happens when exporting HTML from PsychoPy that some variable definitions are missing, like
frameDur in this case. If you add
var frameDur; just above
experimentInit() for example that should take care of this particular error, but I’m a little worried there may be more variables undefined like that
@sotiri unfortunately it seems to be the case.
@sotiri I manually added all the variables to my script and it seems to be working there must be an issue with my Psychopy not syncing to Gitlab properly, thank you for your help.
@bloxham99 OK thanks, sounds good, please note in online settings you have the option to rebuild HTML manually rather than “on Sync / Save” to prevent from accidentally overwritting your main script, x
@sotiri I see! that may be where some of the syncing issues are coming from. Thank you again so much for your help
I am seeing a similar problem and have posted a new thread. Experiment does not run on my iPad but does on another
any help would be greatly appreciated.
I’ve been struggling for several months now with this very same problem with my online experiment (Sign in · GitLab). Some computers run the experiment while others don’t.
I would be very grateful if someone could be give me a hand. I have already lost so many data.
Thanks by advance!