Comments (8)
Hi Andrea, I am not sure I have an answer for you on this. Did you create a new stimuli file and stimuli for the existing ChoiceReaction task? Does it work fine when running online? Are you running your instance locally or on the web?
from tatool-web.
from tatool-web.
The error you are describing makes me wonder if something is going wrong with the preloading/caching of stimuli images as the odd behavior you describe with images sometimes appearing and sometimes not can be caused by the browser not having the images readily available in the cache.
Can you check if you kept the logic in the service init() method to load the stimuli file the same as in the original ChoiceReaction? Also do you use the exact same stimuli file format (column stimulusValueType and column stimulusValue with image files (e.g. jpg, jpeg,png,gif)?
I assume if you use the same stimuli with the original tatoolChoiceReaction executable it works? You can also share your Executable code with me if none of the above seems to help.
from tatool-web.
from tatool-web.
from tatool-web.
Hey Andrea, I appreciate I haven't gotten back to you on this for a while. Just wondering if this is still an issue for you?
Looking at the attached Executable it's missing the logic in the init() to only return once the load of the stimuliFile (and therefore the potential images the stimuliFile refers to) has completed. I assume you removed that bit as you mentioned above?
In theory you should be able to see this working in case you follow a similar approach as the tatoolChoiceReaction which is returning the Promise object and resolves it once getCSVResource has completed (after the .then). You can also monitor this if you open your developer console (f12) and look at the Network Tab while you're starting your module. You should see your images being requested at this point before it moves on to start showing your first Executable.
from tatool-web.
from tatool-web.
Sounds good, I'll close this and you can just reopen if you get back to it.
from tatool-web.
Related Issues (20)
- Response buttons not working on iPhone HOT 4
- Styling tatoolChoiceReaction HOT 6
- Website contact not working! HOT 1
- developer access HOT 2
- Eye tracking and Mouse tracking HOT 1
- Problems in creating complex span module HOT 2
- Website dns error HOT 1
- Hello, I am new to tatool and I am trying to add some survey questions after completing the cognitive tasks (multiple choice questions, likert scale, select all that apply). Does anyone know how to add a component that resembles this? HOT 1
- Add URL search parameters to forward URL
- Download / Access HOT 2
- Change password HOT 1
- Obtaining a link for modules added to My Modules HOT 1
- List Timer
- Status Panel not sticky at top
- tatoolChoiceReaction layout enhancement
- gridSpacing = collapse doesn't produce unique border
- Change account type to Dev mode HOT 4
- Fixing sequence length occurence between participants
- Change account HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tatool-web.