psychopy.org | Reference | Downloads | Github

Error When importing condition: extension currently not supported

URL of experiment: Sign in · GitLab

Description of the problem:
This study (S_CuriosiPy.psyexp) runs fine on Psychopy but not on Pavlovia, where it returns the following error:

Sometimes the letter is not G, but P, S or o, but I do not have variables or conditions with those names.

I thought it might be related to the fact that I define conditions names withing xlsx files. I am really stuck on this, so any help would be greatly appreciated. Thanks!

I am having the same problem as Francesco_Poli, but for me, it is:

Unfortunately we encountered the following error:

  • when importing condition: H
  • extension: H currently not supported.

Try to run the experiment again. If the error persists, contact the experiment designer.

If we could get help, it would be much appreciated! Thank you.

Where might the H come from?

If you are defining a conditions file within another file, what is in the conditions file and what is in the loop that uses that filename?

Best wishes,

Wakefield

Hi wakecarter,

Thank you for your help! My best guess is that the H refers to column H in the Excel spreadsheet that has my conditions, but I really don’t know. Column H is a variable for the duration of a sound file. In a different part of the experiment, I had an error about the variable duration of the sound file:

Unfortunately we encountered the following error:

  • when setting the duration of the sound
  • this method is abstract and should not be called.

Try to run the experiment again. If the error persists, contact the experiment designer.

This makes me wonder if the online version of the experiment does not like having a variable for a sound component duration, which could lead to this error. I tried deleting column H from my Excel worksheet and hard-coding the duration of the sound component in PsychoPy, but this same error still occurred.

To answer you question more directly, yes, I have a conditions file that contains names of the conditions, .png file names, .wav sound file names, image durations, text component durations, and sound file durations. The loop calls the file that contains this information.

Thank you so much for your help!

Tomislav

The H is probably referring to the Excel column. The problem is that pavlovia imports only the excel sheet of the outer loop, but none of the excel sheets of the inner loops.
My solution was to define the conditions with code components instead of using excel files.
Another potential solution is to create ‘dummy’ loops with zero repetitions at the end of the experiment, and define as conditions all the Excel files you need. Given that they are now outer loops, pavlovia might import them.