Hello Psychopy Community!
I tried to upload my experiment, which is working in Psychopy, to Pavlovia. I get the Error:
Unfortunately we encountered the following error:
- when importing condition: Fotos2.xlsx
- when getting the value of resource: Fotos2.xlsx
- unknown resource
Try to run the experiment again. If the error persists, contact the experiment designer.
So i searched youtube and pavlovia and come up on a code component, that should fix my problem:
Pavlovia:
The two excel files are not in the folder of the resources.
Does any one has an idea how to correct that?
Thank you in advance!
Hello
Add the excel-files via the experiment-settings online tab and sync.
Best wishes Jens
Thanks it worked! But a new problem appeared. I have a fixation cross that appears randomly for a duration of 1 s.
$Zeit = Time
Offline it does work, but online its not showing the cross. When i set the fixation cross on a specific time it works online. But using the excel file via $zeit does not work.
has anyone any recommendation for that problem?
Hello,
it it better to start a new topic one you marked a topic as being solved. Do you need the random onset from the Excel-file or would some code do it?
In the Begin Experiment tab of a code-element in the relevant routine add
randOnset = 0
In the Begin Routine tab add
iti = randOnset(10,20)*0.05
this gives you a random onset between 0.5 and 1 second. Add $randOnset as a Start time of your fixation cross.
Best wishes Jens
1 Like