OS ( Win10):
PsychoPy version (2023.2.3):
Standard Standalone? (y)
What are you trying to achieve?: I am trying to record my experiment using the serialPort function for EEG data. The experiment, without the serialPort, works perfectly.
What did you try to make it work?:
I tried to change the settings of the serialPort but honestly I don’t know what to do. I corrected the baudrate, the byte, the COM door and set the condition status; what’s strange is that:
- before updating the audios in the experiment I currently use, the EEG serialPort worked just fine
- the same experiment, with the new audios I implemented, without the serialPort works fine
What specifically went wrong when you tried that?:
I am solely moving around the builder so I honestly don’t know where to move from. It seems a sort of compatibility problem between the new audios and the serialPort but clearly there is something that I am missing. I can report that the error that I get is:
…
File “C:\Program
Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”,
line 1159, in flip
thisStim.draw()
File “C:\Program
Files\PsychoPy\lib\site-packages\psychopy\visual\text.py”,
line 708, in draw
GL.glRotatef (-self.ori, 0.0, 0.0, 1.0)
TypeError: bad operand type for unary : ‘NoneType’ ################ Experiment ended with exit code 1 [pid:38020] #################
3665.9071
INFO
Loaded monitor calibration from
[‘2024_01_29 10:43’]
Any idea why this is happening?
Thank you so much!