Newbie question, fresh install, 'not a valid Win32 application'
Morning and apologies for a (probably) newbie question. I've installed OpenSesame on a PC (OpenSesame 3.2.8 based on python 2.7) and see the following debug message on startup:
Traceback: File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libqtopensesame\extensions\_extension_manager.py", line 73, in __init__ ext = plugins.load_extension(ext_name, self.main_window) File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\plugins.py", line 451, in load_extension mod = import_plugin(ext_name, _type=u'extensions') File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\plugins.py", line 395, in import_plugin return imp.load_source(plugin, path) File "C:\Program Files (x86)\OpenSesame\share\opensesame_extensions\analytics\analytics.py", line 24, in <module> from libqtopensesame.widgets.webbrowser import WebView File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libqtopensesame\widgets\webbrowser.py", line 40, in <module> from PyQt5.QtWebEngineWidgets import QWebEngineView as WebView ImportError: No module named QtWebEngineWidgets Extension error item-stack: exception type: ImportError exception message: DLL load failed: %1 is not a valid Win32 application. time: Mon Feb 17 09:39:14 2020
I don't see the error message on another PC so have assumed that it's something on this PC that I need to fix. I've had a look around, and the best I can come up with is that it might be a 32 / 64-bit issue. Has this been encountered before and is there a known fix?
Many thanks (and apologies!)
Andrew.
Comments
Hi Andrew,
My best guess is that some files got corrupted when installing the program. Does re-installing OpenSesame fix the issue?
Cheers!
Sebastiaan
PS. OpenSesame 3.2 is based on 32 bit Python, which is why the error message mentions a 'Win32' application. But it also runs on 64 bit systems. (The other way around wouldn't work.)
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thanks for the suggestion. I had tried reinstalling the program, uninstalling and installing an older version of the program, and also uninstalling anything else on the PC that might ever have used or incorporated Python. In the end I gave up and set up the software on a different PC.
This might also be a good moment to try out the upcoming 3.3 release!
Check out SigmundAI.eu for our OpenSesame AI assistant!