Hi there
I installed and desinstalled several time either the standalone version of psychopy3 (PY2) x86, or the standalone version of psychopy3 x86. In both cases I obtain a crash at startup, a few seconds after launching psychopy either trough command line or through the windows icon. The windows of the app get initialized then python crashes silently.
- The python.exe process disappears from the task manager upon crash (aka no window is hidden)
- My computer is a dell latitude laptop running W7 (graphic card intel HD 520, drivers uptodate)
- I went through the troubleshooting page. Here is the content of the last_app_load.log file
I spent a couple of hours already reading all the “crash upon startup” entries I found in the forum to try different fixes but without any results unfortunately. I appreciate your help very much!
Traceback (most recent call last):
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\runpy.py”, line 174, in run_module_as_main
“main”, fname, loader, pkg_name)
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\runpy.py”, line 72, in run_code
exec code in run_globals
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\psychopy\app\psychopyApp.py”, line 104, in
main()
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\psychopy\app\psychopyApp.py”, line 100, in main
start_app()
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\psychopy\app\psychopyApp.py”, line 28, in start_app
app = PsychoPyApp(0, showSplash=showSplash)
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\psychopy\app_psychopyApp.py”, line 210, in init
self.onInit(testMode=testMode, **kwargs)
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\psychopy\app_psychopyApp.py”, line 350, in onInit
self.showBuilder(fileList=exps)
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\psychopy\app_psychopyApp.py”, line 584, in showBuilder
self.newBuilderFrame()
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\psychopy\app_psychopyApp.py”, line 566, in newBuilderFrame
from .builder.builder import BuilderFrame
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\psychopy\app\builder\builder.py”, line 50, in
from .dialogs import (DlgComponentProperties, DlgExperimentProperties,
File "C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\psychopy\app\builder\dialogs_init.py", line 31, in
from … validators import NameValidator, CodeSnippetValidator
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\psychopy\app\builder\validators.py”, line 27, in
from pyglet.window import key
File "C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\window_init.py", line 1896, in
gl.create_shadow_window()
File "C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\gl_init.py", line 208, in create_shadow_window
shadow_window = Window(width=1, height=1, visible=False)
File "C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\window\win32_init.py", line 134, in init
super(Win32Window, self).init(*args, **kwargs)
File "C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\window_init.py", line 571, in init
self.create()
File "C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\window\win32_init.py", line 271, in create
self.switch_to()
File "C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\window\win32_init.py", line 317, in switch_to
self.context.set_current()
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\gl\win32.py”, line 216, in set_current
wgl.wglMakeCurrent(self.canvas.hdc, self._context)
WindowsError: exception: access violation reading 0x00000028
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\atexit.py”, line 24, in _run_exitfuncs
func(*targs, **kargs)
wxAssertionError: C++ assertion “GetEventHandler() == this” failed at …\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed
Error in sys.exitfunc:
Traceback (most recent call last):
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\atexit.py”, line 24, in _run_exitfuncs
func(*targs, **kargs)
wx._core.wxAssertionError: C++ assertion “GetEventHandler() == this” failed at …\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed