Millisecond Forums

Errors in Inquisit Web but the same script runs well in Inquisit Lab

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

By Thao Pham - 3/30/2020

Hello,
I need to launch a script online. Before registering it to Inquisit Web, I have been able to run it smoothly on Inquisit Lab.  However, the Web version returns errors, saying that it could not locate an element (i.e. one of the blocks).  I have checked again in Inquisit Lab and everything is still fine. 

Can you advise me how to handle this issue?  Thank you!

Thao
 
By Dave - 3/30/2020

Thao Pham - 3/30/2020
Hello,
I need to launch a script online. Before registering it to Inquisit Web, I have been able to run it smoothly on Inquisit Lab.  However, the Web version returns errors, saying that it could not locate an element (i.e. one of the blocks).  I have checked again in Inquisit Lab and everything is still fine. 

Can you advise me how to handle this issue?  Thank you!

Thao
 

Please provide the link to the web experiment's start page. In all likelihood, you've programmed the script in a different (higher) Inquisit Lab version than then Inquisit Web version you are trying to run it under, and you're using syntax constructs not available under the latter version.
By Thao Pham - 3/30/2020

Here is the launch URL:
https://research.millisecond.com/inq2bsiweb/decisiongame_conditionwith.web

Thao
By Thao Pham - 3/30/2020

The Inquisit Lab version I used to make the script is: 
Version:
4.0.10.0 64bit (build 2666)

Thao
By Dave - 3/30/2020

Thao Pham - 3/30/2020
The Inquisit Lab version I used to make the script is: 
Version:
4.0.10.0 64bit (build 2666)

Thao

> However, the Web version returns errors, saying that it could not locate an element (i.e. one of the blocks).

I'm confused. That experiment's logs do not show any such error.

https://www.millisecond.com/myaccount/logs/errors.aspx?webscriptid=204331
By Thao Pham - 3/30/2020

Dave - 3/30/2020
Thao Pham - 3/30/2020
The Inquisit Lab version I used to make the script is: 
Version:
4.0.10.0 64bit (build 2666)

Thao

> However, the Web version returns errors, saying that it could not locate an element (i.e. one of the blocks).

I'm confused. That experiment's logs do not show any such error.

https://www.millisecond.com/myaccount/logs/errors.aspx?webscriptid=204331
That's strange... I've just clicked on the URL again and it still shows this:

By Thao Pham - 3/30/2020

Thao Pham - 3/30/2020
Dave - 3/30/2020
Thao Pham - 3/30/2020
The Inquisit Lab version I used to make the script is: 
Version:
4.0.10.0 64bit (build 2666)

Thao

> However, the Web version returns errors, saying that it could not locate an element (i.e. one of the blocks).

I'm confused. That experiment's logs do not show any such error.

https://www.millisecond.com/myaccount/logs/errors.aspx?webscriptid=204331
That's strange... I've just clicked on the URL again and it still shows this:


By Dave - 3/30/2020

Thao Pham - 3/30/2020
Thao Pham - 3/30/2020
Dave - 3/30/2020
Thao Pham - 3/30/2020
The Inquisit Lab version I used to make the script is: 
Version:
4.0.10.0 64bit (build 2666)

Thao

> However, the Web version returns errors, saying that it could not locate an element (i.e. one of the blocks).

I'm confused. That experiment's logs do not show any such error.

https://www.millisecond.com/myaccount/logs/errors.aspx?webscriptid=204331
That's strange... I've just clicked on the URL again and it still shows this:



Did you, at some point, upload a revised version of the script? If so, you might still be running the outdated version from your system's cache.
By Thao Pham - 3/30/2020

Dave - 3/30/2020
Thao Pham - 3/30/2020
Thao Pham - 3/30/2020
Dave - 3/30/2020
Thao Pham - 3/30/2020
The Inquisit Lab version I used to make the script is: 
Version:
4.0.10.0 64bit (build 2666)

Thao

> However, the Web version returns errors, saying that it could not locate an element (i.e. one of the blocks).

I'm confused. That experiment's logs do not show any such error.

https://www.millisecond.com/myaccount/logs/errors.aspx?webscriptid=204331
That's strange... I've just clicked on the URL again and it still shows this:



Did you, at some point, upload a revised version of the script? If so, you might still be running the outdated version from your system's cache.

In fact, after my first time encounter the error, I did deleted all the uploaded files and upload everything again (all the files that I've made sure that it runs well). 
What should I do (or should have done) Dave?
By Thao Pham - 3/30/2020

Thao Pham - 3/30/2020
Dave - 3/30/2020
Thao Pham - 3/30/2020
Thao Pham - 3/30/2020
Dave - 3/30/2020
Thao Pham - 3/30/2020
The Inquisit Lab version I used to make the script is: 
Version:
4.0.10.0 64bit (build 2666)

Thao

> However, the Web version returns errors, saying that it could not locate an element (i.e. one of the blocks).

I'm confused. That experiment's logs do not show any such error.

https://www.millisecond.com/myaccount/logs/errors.aspx?webscriptid=204331
That's strange... I've just clicked on the URL again and it still shows this:



Did you, at some point, upload a revised version of the script? If so, you might still be running the outdated version from your system's cache.

In fact, after my first time encounter the error, I did deleted all the uploaded files and upload everything again (all the files that I've made sure that it runs well). 
What should I do (or should have done) Dave?

Hi Dave,  I understand the problem now.  I should have used a different name for the script file.  I have changed it and it runs now.

Thank you so much for your patience!!

Tha
By Dave - 3/30/2020

Thao Pham - 3/30/2020
Dave - 3/30/2020
Thao Pham - 3/30/2020
Thao Pham - 3/30/2020
Dave - 3/30/2020
Thao Pham - 3/30/2020
The Inquisit Lab version I used to make the script is: 
Version:
4.0.10.0 64bit (build 2666)

Thao

> However, the Web version returns errors, saying that it could not locate an element (i.e. one of the blocks).

I'm confused. That experiment's logs do not show any such error.

https://www.millisecond.com/myaccount/logs/errors.aspx?webscriptid=204331
That's strange... I've just clicked on the URL again and it still shows this:



Did you, at some point, upload a revised version of the script? If so, you might still be running the outdated version from your system's cache.

In fact, after my first time encounter the error, I did deleted all the uploaded files and upload everything again (all the files that I've made sure that it runs well). 
What should I do (or should have done) Dave?

Clear your system's temporary files. It's also possible that a network cache is still serving the old/broken script, that will resolve itself automatically.
What I can say is that I've double-checked and run (online and offline) the script that is currently uploaded and it's working fine for me.