error message when opening experiment programmed in Windows on Ubuntu
When opening an experiment programmed in Opensesame 3.1 in Windows on Ubuntu, I get the following error message:
"connect() slot argument should be a callable or a signal, not 'NoneType'"
More detailed feedback says:
"Failed to load plugin 'notepad'
Details
- item-stack: ``
- exception message:
connect() slot argument should be a callable or a signal, not 'NoneType'
- time:
Tue Aug 16 11:57:32 2016
- exception type:
TypeError
Traceback (also in debug window)
File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 159, in new
self.experiment, script, self.experiment.item_prefix())
File "/usr/lib/python2.7/dist-packages/libopensesame/plugins.py", line 363, in load_plugin
item = item_class(item_name, experiment, string)
File "/usr/share/opensesame_plugins/notepad/notepad.py", line 38, in init
qtautoplugin.init(self, file)
File "/usr/lib/python2.7/dist-packages/libqtopensesame/items/qtautoplugin.py", line 37, in init
qtplugin.init(self, plugin_file)
File "/usr/lib/python2.7/dist-packages/libqtopensesame/items/qtplugin.py", line 72, in init
qtitem.qtitem.init(self)
File "/usr/lib/python2.7/dist-packages/libqtopensesame/items/qtitem.py", line 53, in init
self.init_edit_widget()
File "/usr/lib/python2.7/dist-packages/libqtopensesame/items/qtautoplugin.py", line 43, in init_edit_widget
qtplugin.init_edit_widget(self, False)
File "/usr/lib/python2.7/dist-packages/libqtopensesame/items/qtitem.py", line 254, in init_edit_widget
handlerButtonText=_(u'Apply and close'), cfg=cfg)
File "/usr/lib/pymodules/python2.7/QProgEdit/_qtabmanager.py", line 83, in init
handlerButtonText=handlerButtonText))
File "/usr/lib/pymodules/python2.7/QProgEdit/_qtabcornerwidget.py", line 68, in init
self.handlerButton.clicked.connect(self.tabManager.handler)
TypeError: connect() slot argument should be a callable or a signal, not 'NoneType'
"
Any idea what could be the problem?
Thanks!
Comments
I found that the error message seems to be specific to one Linux installation. On another PC with Linux, the program from Windows worked.
Hi Frouke,
My guess is that you have installed some packages through
pip install
(which go to/usr/lib/pymodules/
), and others through theppa:smathot/cogscinl
repository (which go to/usr/lib/python2.7
), with incompatible versions as a result. Could that be it? If you uninstall the pipped version of QProgEdit, do things work again?Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!