Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host a MultiStairCase Experiment online #463

Open
Ashwani270292 opened this issue Sep 22, 2021 · 4 comments
Open

Host a MultiStairCase Experiment online #463

Ashwani270292 opened this issue Sep 22, 2021 · 4 comments

Comments

@Ashwani270292
Copy link

While trying to convert an existing MultiStairCase experiment into online version, psychopy is showing error.
AttributeError: ‘MultiStairHandler’ object has no attribute ‘writeLoopStartCodeJS’

When I searched more I was able to find a file, loops.py, which is having the conversion logic, but it is missing writeLoopStartCodeJS inside MultiStairHandler.
Screenshot 2021-09-22 at 1 47 58 PM

@jamesferwerda
Copy link

Hi, I'm having the same problem. Did you ever figure out a solution?

@alexeijoel
Copy link

Similar error here - anyone found a fix?

@m-macaskill
Copy link

Staircase-based loops only became available for online use in the 2022 releases of PsychoPy. Have you tried with the latest version of PsychoPy (currently 2022.1.2)?

@alexeijoel
Copy link

I am seeing the same error with StairHandler (rather thanMultiStairHandler) using PsychoPy 2022.1.2 (just upgraded)

Error content:

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 808, in fileExport
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py”, line 71, in generateScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py”, line 245, in compileScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py”, line 217, in _makeTarget
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/_experiment.py”, line 336, in writeScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/flow.py”, line 343, in writeLoopHandlerJS
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/loops.py”, line 773, in writeMainCodeJS
AttributeError: ‘StairHandler’ object has no attribute ‘writeLoopStartCodeJS’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants