Linux mint install issue - no launch
Hi,
I've started moving over to a linux mint system, and ran into an issue trying to install OpenSesame. It seems to install with no trouble following the instructions on the site, but the program quits immediately on launch. Here is the output if I try to launch from the terminal:
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
[2019-02-10 15:54:18,869:theme:61:WARNING] theme 'None' does not exist, using 'default'
[2019-02-10 15:54:18,931:theme:168:WARNING] missing icon notepad
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
qt5ct: D-Bus system tray: no
[2019-02-10 15:54:19,877:theme:168:WARNING] missing icon process-working
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::setParent: Cannot set parent, new parent is in a different thread
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/libqtopensesame/console/_ipython_console.py", line 148, in run
from IPython.qt.console.rich_ipython_widget import RichIPythonWidget
ImportError: No module named IPython.qt.console.rich_ipython_widget
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/libqtopensesame/console/_ipython_console.py", line 197, in _on_ipython_imported
kernel_manager = self._ipython_importer.QtInProcessKernelManager()
AttributeError: 'IPythonImporter' object has no attribute 'QtInProcessKernelManager'
Fatal Python error: (pygame parachute) Segmentation Fault
Aborted (core dumped)
Any idea what's causing the crash?
Comments
Hi again. OpenSesame runs in debug mode. Recurring error when playing around with it in this way is "ImportError: No module named PIL". I hope I'm getting closer to the root of the problem, but still no idea how to fix it.
Installed python PIL and related via package manager, now crashes on open in debug mode too.
So, it turns out I had to install a bunch of python modules and packages one by one. Maybe it's where the difference is among different operating systems, but I don't remember having to do that on windows (10) or mac os. I've now successfully run a couple basic experiments with text forms.
Hi BaaBob,
Good to hear that you figured it out. It sounds like this was a distribution-specific problem with installing the right dependencies, so it's hard to say anything about it. Thanks for reporting it though, and I'll keep an eye out for similar things should they come up again.
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
it seems there is a small difference between mint and ubuntu
i solved this by installing several Python packages:
pip install wheel
pip install sip PyQt5
pip install setuptools
pip install ipykernel==4.6.1 qtconsole
pip install image
pip install expyriment