No launch for PsyhoPy 2023.2.3 - logfile included

Hey,

Some users have been messing with a previously reliable install of 2023.2.3 - it failed ot launch so I reinstalled. However it stills fails to launch… looks like they tried and aborted a 2024 install, have installed spyder, and who knows what else.

C:\Users\chbh-stim>“C:\Users\chbh-stim\AppData\Local\Programs\PsychoPy\python.exe” -m psychopy.app psychopyApp
Traceback (most recent call last):
File “C:\Users\chbh-stim\AppData\Local\Programs\PsychoPy\lib\runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = get_module_details(mod_name, Error)
File “C:\Users\chbh-stim\AppData\Local\Programs\PsychoPy\lib\runpy.py”, line 111, in get_module_details
import(pkg_name)
File "C:\Users\chbh-stim\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy_init
.py", line 44, in
from psychopy.preferences import prefs
File "C:\Users\chbh-stim\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\preferences_init
.py", line 13, in
from . import preferences as prefsLib
File “C:\Users\chbh-stim\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\preferences\preferences.py”, line 307, in
prefs = Preferences()
File “C:\Users\chbh-stim\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\preferences\preferences.py”, line 73, in init
self.loadAll()
File “C:\Users\chbh-stim\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\preferences\preferences.py”, line 206, in loadAll
self.appDataCfg = self.loadAppData()
File “C:\Users\chbh-stim\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\preferences\preferences.py”, line 263, in loadAppData
cfg = ConfigObj(self.paths[‘appDataFile’],
File "C:\Users\chbh-stim\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\contrib\configobj_init
.py", line 1205, in init
self.load(infile, configspec)
File "C:\Users\chbh-stim\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\contrib\configobj_init
.py", line 1302, in _load
raise error
psychopy.contrib.configobj.ParseError: Invalid line (‘\x00\x00.…[repeated a lot]…\x00\x00’) (matched as neither section nor keyword) at line 1.

nuking everything in the AppData Roaming and Local folders, uninstalling and reinstaling seems to have done the trick

Before deleting everything, I usually try deleting appData.cfg first

1 Like

I’ll try your more precise suggestion if it recurs… thanks!