Millisecond Forums

Online Experiment Does Not Work On Samsung Galaxy Tab A7, but on iPad and Computer

https://forums.millisecond.com/Topic32164.aspx

By empra-uulm - 9/6/2021

Dear Dave,
fellow Inquisit users,
we would like to administer an experiment via the webversion of Inquisit using tablets. More specifically, we are using the Samsung Galaxy Tab A7 with the most recent version of the mobile app (Inquisit 6). The last updated was downloaded by us yesterday.
The experiment is working fine on various computers and an iPad (also using the most recent version of iOS and Inquisit 6).
However, we are not able to get the experiment going on the Samsung tablet (on six Samsung tablets, to be more specific). The first script starts, we see the first page, and then it just aborts as soon as we touch on the first “Continue” button in the form of an arrow.
Here is the link to our experiment where mutated vowels are integrated: https://mili2nd.co/qr3b
Here is the link to our experiment without any mutated vowels: https://mili2nd.co/rr3b
Attached, please find a picture of the screen after abortion.
Do you have any suggestions on how to get the scripts working on the tablets? Could this have something to do with the encoding schemes? All scripts are .iqx files and should be UTF-8 encoded.
We’d be happy about any suggestions!
Best,
empra-uulm
By empra-uulm - 9/6/2021

The picture was not attached correctly...
By Dave - 9/6/2021

empra-uulm - 9/6/2021
The picture was not attached correctly...

Remove the computer.macaddress property from any and all of your data elements and try again. Newer versions of Android will not allow accessing the MAC address, other platforms or older Android versions will.
By empra-uulm - 9/8/2021

Dear Dave,

thank you so much for your help!

It is working on the tablet now, but only in the online version. If the script is downloaded, the app shows that the offline version is available (the box is checked).
However, when the tablet is not connected to the internet (wifi disabled), the following error message occurs after the start page of the test: “Inquisit encountered an error while executing script xy”.
If the tablet is connected to the internet, the complete test works without problems.
Here is the current link to our experiment https://mili2nd.co/vr3b

This is somehow curious, as this wasn't the case several weeks ago.

For our study we need to ensure offline testing is possible.

Any ideas?

Best,

empra-uulm
By Dave - 9/8/2021

empra-uulm - 9/8/2021
Dear Dave,

thank you so much for your help!

It is working on the tablet now, but only in the online version. If the script is downloaded, the app shows that the offline version is available (the box is checked).
However, when the tablet is not connected to the internet (wifi disabled), the following error message occurs after the start page of the test: “Inquisit encountered an error while executing script xy”.
If the tablet is connected to the internet, the complete test works without problems.
Here is the current link to our experiment https://mili2nd.co/vr3b

This is somehow curious, as this wasn't the case several weeks ago.

For our study we need to ensure offline testing is possible.

Any ideas?

Best,

empra-uulm

For offline use, remove the computer.ipaddress property from the <data> element as well. Android is pesky and screams bloody murder when the device has no IP assigned b/c WiFi is disabled.
By empra-uulm - 9/8/2021

Ah, ok! Thank you for the solution. We will try this asap, but for some reason we are not able to login onto the millisecond homepage right now. We are getting a 502 Bad Gateway. Do you have an idea when this issue might be resolved?
By Dave - 9/8/2021

empra-uulm - 9/8/2021
Ah, ok! Thank you for the solution. We will try this asap, but for some reason we are not able to login onto the millisecond homepage right now. We are getting a 502 Bad Gateway. Do you have an idea when this issue might be resolved?

Working on the login issue, I'll update this thread as soon as it's resolved.
By Dave - 9/8/2021

Dave - 9/8/2021
empra-uulm - 9/8/2021
Ah, ok! Thank you for the solution. We will try this asap, but for some reason we are not able to login onto the millisecond homepage right now. We are getting a 502 Bad Gateway. Do you have an idea when this issue might be resolved?

Working on the login issue, I'll update this thread as soon as it's resolved.

The sign-in issues should be fully resolved by now.
By empra-uulm - 9/9/2021

Dear Dave,

yes, thank you. We were able to sign-in without any further problems.

We now have one more question however:

There is another experiment, which we would like to administer offline using the same tablets. We've removed the computer.ipaddress and computer.macaddress property from the script. However, the script does not run offline on our tablets, although it works smoothly if we are connected to the internet.

We have made sure that the script is downloaded onto the tablets (the box on the left says "check"), but it doesn't even start.

Maybe you could help us once again :-)

This is the link: https://mili2nd.co/yo3b

Best,

empra-uulm
By Dave - 9/9/2021

empra-uulm - 9/9/2021
Dear Dave,

yes, thank you. We were able to sign-in without any further problems.

We now have one more question however:

There is another experiment, which we would like to administer offline using the same tablets. We've removed the computer.ipaddress and computer.macaddress property from the script. However, the script does not run offline on our tablets, although it works smoothly if we are connected to the internet.

We have made sure that the script is downloaded onto the tablets (the box on the left says "check"), but it doesn't even start.

Maybe you could help us once again :-)

This is the link: https://mili2nd.co/yo3b

Best,

empra-uulm

I've uploaded a fixed version to your account. Put the experiment back into online mode, start it once online, then put it back into offline mode. This will pick up the changes and the thing should run then.
By empra-uulm - 9/9/2021

Dear Dave,
great, thank you. It works.
Could you maybe elaborate on the error you found within the script?, so that we can avoid this in the future?
Best,
empra-ulm
By Dave - 9/9/2021

empra-uulm - 9/9/2021
Dear Dave,
great, thank you. It works.
Could you maybe elaborate on the error you found within the script?, so that we can avoid this in the future?
Best,
empra-ulm

Not an error in the script per se -- something in the script triggers a failure to convert the listed file names to all lowercase in offline mode. Listing all file names in all lowercase letters in the script avoids the issue.