Searching on the forum I can see that it might be related to your monitor specifications. Try choosing a different monitor in Monitor Centre.
In the words of @TParsons
“wx is the Python package which the PsychoPy app uses to create its interface - so this most likely won’t be affecting your experiment or saved files. It looks like it’s looking for an event (e.g. a click on a button, pressing a key, etc.) and something on the back end isn’t liking it. What were you trying to do when this message appeared?”
If it happens at the end of the frame rate check then perhaps there’s some code in Begin Experiment causing the issue. Do you get the error with a simple experiment with zero code?
OS (e.g. Win10):
PsychoPy version (e.g. 1.85.0):
Standard Standalone? (yes)
**What are you trying to achieve?: Create a new monitor from monitor center
**What did you try to make it work?: I opened the monitor center, created a new monitor called Mat, changed Screen Distance to 60 and saved it. Note that I have a French computer (looks like it is the problem).
What specifically went wrong when you tried that?:
I got the following error message:
Traceback (most recent call last):
File “C…
Hi,
I’ve recently encountered a bit of a snag while working with PsychoPy and was wondering if anyone else has experienced something similar or has insights on how to troubleshoot it.
The Issue: I’ve been encountering a launch error when trying to run my experiments in PsychoPy. It worked fine until yesterday when I tried to change the name of the .pyexp file created using builder. I’m curious if anyone else has come across this issue and, if so, how you managed to resolve it.
Additional Cont…
Hi everyone,
We have just installed PsychoPy 2021.1.3 on a brand new PC desktop running Windows 10 and an re-imaged iMac running macOS Big Sur. On the PC, when creating a new monitor profile or editing an existing monitor profile in the monitor centre, and on the iMac when editing an existing monitor profile Psychopy threw the following error:
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at ..\..\src\common\wincmn.cpp(475) in wxWindowBase::~wxWindowBase(): any pu…
Hi there,
I’m trying to upload an experiment to Pavlovia and I’m constantly given the same error:
wx._co
[捕获]
re.wxAssertionError: C++ assertion “IsModal()” failed at …\src\msw\dialog.cpp(197) in wxDialog::EndModal(): EndModal() called for non modal dialog
The above exception was the direct cause of the following exception:
SystemError: <class ‘wx._core.ChildFocusEvent’> returned a result with an error set
Any idea what this might be? The experiment runs fine otherwise. Thank you!
Hi there.
It seems that something went wrong when I finished entering the luminance values during gamma calibration. After I clicked the ‘confirm’ button an error appeared:
wx._core.wxAssertionError: C++ assertion “GetEventHandler() == this” failed at …..\src\common\wincmn.cpp(470) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed
The above exception was the direct cause of the following exception:
SystemError: <class ‘wx._core.IdleEvent’> returned a result w…
Hi, I hope someone can help me, thanks
Win10:
**PsychoPy 2022.2.3:
**Standard Standalone? (yes):
**What are you trying to achieve: I was making an experiment in builder, adding some stimuli (rectangles) and changing its characteristis
**What did you try to make it work?: I don´t really understand the problem so I close the window error and continue, it continue happening about 3 or 4 times
What specifically went wrong when you tried that?:
wx._core.wxAssertionError: C++ assertion “(argtyp…
Every few minutes while using psychopy I get an error popup that states:
Psychopy encounted an unhandled internal error! Please send the report under “Details” to the developers with a description of what you were doing with the software when the error occured
wx._core.wxAssertionError: C++ assertion “(argtype & (wxFormatStringSpecifier::value)) == argtype” failed at C:\PROJECTS\bb2\dist-win64-py36\build\ext\wxWidgets\include\wx/strvararg.h(484) in wxArgNormalizer::wxArgNormalizer(): format s…