Hello, for my dissertation I’m taking the BART experiment and testing gamification through points rewards. I’m assigning conditions wherein participants either see no bonus points (control group), see bonus points every fixed 4 trials (experimental group 1), or see bonus points every few random trials (experimental group 2). I just need to incorporate this into a BART experiment from Pavlovia so I thought this would be simple, but it’s been days and I still can’t get it to work.
The control condition works fine, but I cannot get the bonus points to show up for the fixed or random experimental conditions. It seems to potentially be an issue loading maxPumps (trial rows that indicate how many pumps of the balloon before it pops), which confuses me as I’ve tried many things to fix it but nothing seems to be working. If I could receive help on this, I would be extremely grateful.
bart_new.psyexp (108.2 KB)
These are also some of the errors I keep experiencing when trying to run it:
(most recent error code, i keep getting this no matter what i try to change)
######### Running: /Users/biancalao/Downloads/bart/bart_new_lastrun.py #########
2025-04-21 17:45:00.841 python[35661:1395909] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/y9/0rsn53zn1c173s_mz89twm_40000gn/T/org.opensciencetools.psychopy.savedState
||PaMacCore (AUHAL)|| Error on line 520: err=‘‘what’’, msg=Unspecified Audio Hardware Error
Traceback (most recent call last):
||PaMacCore (AUHAL)|| Error on line 520: err=‘‘what’’, msg=Unspecified Audio Hardware Error
File “/Users/biancalao/Downloads/bart/bart_new_lastrun.py”, line 2326, in
run(
File “/Users/biancalao/Downloads/bart/bart_new_lastrun.py”, line 1227, in run
pump = data.TrialHandler2(
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/data/trial.py”, line 935, in init
self.nReps = int(nReps)
TypeError: int() argument must be a string, a bytes-like object or a real number, not ‘NoneType’
2.0982 WARNING Monitor specification not found. Creating a temporary one…
(from earlier yesterday)
######### Running: /Users/biancalao/Downloads/bart/bart_new_lastrun.py #########
2025-04-21 13:25:19.957 python[33926:1316981] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/y9/0rsn53zn1c173s_mz89twm_40000gn/T/org.opensciencetools.psychopy.savedState
Traceback (most recent call last):
File “/Users/biancalao/Downloads/bart/bart_new_lastrun.py”, line 2112, in
run(
File “/Users/biancalao/Downloads/bart/bart_new_lastrun.py”, line 375, in run
core.rush(enable=True)
TypeError: rush() got an unexpected keyword argument ‘enable’
1.8896 WARNING Monitor specification not found. Creating a temporary one…
ioHub Server Process Completed With Code: 0
################ Experiment ended with exit code 1 [pid:33926] #################
Thank you loads!