Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] Plugin mismatch

edited October 2013 in OpenSesame

I have placed the form plugins into the .opensesame folder under Lubuntu 13 and the latest version of OpenSesame. For some reason OpenSesame seems to detect the consent form, but not the other form plugins in the folder (see screenshot). I also tried placing the forms into the /usr/share folder and reinstalling OpenSesame, without an effect. Would you be able to help? Thanks!

image

Comments

  • edited 7:22AM

    Hi Frouke,

    The easiest way to find out what goes wrong is by running OpenSesame in debug from a terminal, like so:

    opensesame --debug

    This way you will see the actual Python exception (please post), and we should be able to figure out what's wrong.

    Cheers!
    Sebastiaan

  • edited October 2013

    frouke@frouke-OptiPlex-GX620:~$ opensesame --debug

    debug.py(72).<module>: debug mode enabled (stacktrace off)
    __init__.py(30).<module>: redirect 'pyterm' module to libqtopensesame.widgets
    __init__.py(30).<module>: redirect 'statusbar' module to libqtopensesame.widgets
    __init__.py(30).<module>: redirect 'tree_overview' module to libqtopensesame.widgets
    __init__.py(30).<module>: redirect 'toolbar_items' module to libqtopensesame.widgets
    __init__.py(30).<module>: redirect 'variable_inspector' module to libqtopensesame.widgets
    __init__.py(30).<module>: redirect 'good_looking_table' module to libqtopensesame.widgets
    opensesame(96).<module>: no translator found for en_GB
    qtopensesame.py(83).resume_init: filesystem encoding: UTF-8
    qtopensesame.py(286).restore_config: 
    theme.py(53).__init__: theme = 'gnome' (/usr/share/opensesame/resources/theme/gnome)
    theme.py(152).load_icon_map: using custom icon theme
    theme.py(161).load_icon_map: /usr/share/opensesame/resources/theme/gnome/icon_map.csv
    theme.py(185).load_icons: 
    theme.py(185).load_icons: 
    experiment.py(123).__init__: creating new pool folder
    experiment.py(127).__init__: pool folder is '/tmp/tmpnixPsL.opensesame_pool'
    experiment.py(507).open: opening from unicode string
    experiment.py(245).from_string: building experiment
    experiment.py(229).parse_definition: loading core item 'sequence' from 'libqtopensesame.items'
    theme.py(185).load_icons: 
    plugins.py(138).plugin_property: Failed to parse /home/frouke/.opensesame/plugins/form_multiple_choice/info.json
    plugins.py(138).plugin_property: Failed to parse /home/frouke/.opensesame/plugins/form_multiple_choice/info.json
    qtitem.py(53).__init__: created experiment
    experiment.py(215).parse_definition: loading plugin 'notepad'
    item.py(227).from_string: 
    theme.py(185).load_icons: 
    qtitem.py(53).__init__: created getting_started
    experiment.py(229).parse_definition: loading core item 'sketchpad' from 'libqtopensesame.items'
    theme.py(185).load_icons: 
    color_edit.py(104).initialize: color = white
    color_edit.py(104).initialize: color = white
    color_edit.py(104).initialize: color = white
    theme.py(185).load_icons: 
    qtitem.py(53).__init__: created welcome
    qtopensesame.py(296).restore_state: 
    qtopensesame.py(322).restore_state: missing recent file ''
    qtopensesame.py(392).set_style: ignoring unknown style ''
    plugins.py(138).plugin_property: Failed to parse /home/frouke/.opensesame/plugins/form_multiple_choice/info.json
    toolbar_items.py(199).build: adding plugin 'text_display'
    toolbar_items.py(199).build: adding plugin 'fixation_dot'
    toolbar_items.py(199).build: adding plugin 'form_consent'
    toolbar_items.py(199).build: adding plugin 'text_input'
    toolbar_items.py(199).build: adding plugin 'joystick'
    toolbar_items.py(199).build: adding plugin 'touch_response'
    toolbar_items.py(199).build: adding plugin 'reset_feedback'
    toolbar_items.py(199).build: adding plugin 'port_reader'
    toolbar_items.py(199).build: adding plugin 'srbox'
    toolbar_items.py(199).build: adding plugin 'form_text_display'
    toolbar_items.py(199).build: adding plugin 'form_multiple_choice'
    toolbar_items.py(199).build: adding plugin 'form_base'
    toolbar_items.py(199).build: adding plugin 'form_text_input'
    toolbar_items.py(199).build: adding plugin 'form_text_render'
    toolbar_items.py(199).build: adding plugin 'external_script'
    toolbar_items.py(199).build: adding plugin 'notepad'
    toolbar_items.py(199).build: adding plugin 'repeat_cycle'
    toolbar_items.py(199).build: adding plugin 'mantra_wait'
    toolbar_items.py(199).build: adding plugin 'mantra_connect'
    toolbar_items.py(199).build: adding plugin 'mantra_log'
    toolbar_items.py(199).build: adding plugin 'advanced_delay'
    toolbar_items.py(199).build: adding plugin 'parallel'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'text_display'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'form_consent'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'text_input'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'form_text_display'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'mantra_wait'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'mantra_connect'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'form_multiple_choice'
    plugins.py(138).plugin_property: Failed to parse /home/frouke/.opensesame/plugins/form_multiple_choice/info.json
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'mantra_log'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'form_base'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'form_text_input'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'form_text_render'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'joystick'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'fixation_dot'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'touch_response'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'advanced_delay'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'reset_feedback'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'port_reader'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'parallel'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'external_script'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'srbox'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'notepad'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'repeat_cycle'
    qtopensesame.py(418).start_autosave_timer: autosave interval = 600000 ms
    qtopensesame.py(506).set_unsaved: unsaved = False
    qtopensesame.py(589).check_update: opening http://files.cogsci.nl/software/opensesame/MOST_RECENT_VERSION.TXT
    qtopensesame.py(629).check_update: identifying as version 0.2704
    qtopensesame.py(630).check_update: latest stable version is 0.2704
    theme.py(185).load_icons: 
    theme.py(185).load_icons: 
    qtopensesame.py(1467).refresh: None
    qtopensesame.py(1081).build_item_list: None
    
    ** (python:1844): WARNING **: Invalid borders specified for theme pixmap:
            /usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png,
    borders don't fit within the image
    
    ** (python:1844): WARNING **: Invalid borders specified for theme pixmap:
            /usr/share/themes/Lubuntu-default/gtk-2.0/images/scrollbar_horizontal.png,
    borders don't fit within the image
    
    ** (python:1844): WARNING **: Invalid borders specified for theme pixmap:
            /usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png,
    borders don't fit within the image
    
    ** (python:1844): WARNING **: Invalid borders specified for theme pixmap:
            /usr/share/themes/Lubuntu-default/gtk-2.0/images/scrollbar_vertical.png,
    borders don't fit within the image
    experiment.clean_up()
    experiment.clean_up(): removing '/tmp/tmpnixPsL.opensesame_pool'
    canvas.clean_up()
    qtopensesame.py(354).save_state: 
    
  • edited 7:22AM

    These lines:

    plugins.py(138).plugin_property: Failed to parse /home/frouke/.opensesame/plugins/form_multiple_choice/info.json
    

    Suggest that there is something wrong with the info.json files that contain the information about some of the newer plug-ins. Is there something obviously wrong with these files, for example when you open them in a text editor?

  • edited October 2013

    Dear Sebastian,

    I have now tried to remove all form plugins except for the one I am trying to use (form_base).

    It is loading according to the debug:

    debug.py(72).<module>: debug mode enabled (stacktrace off)
    __init__.py(30).<module>: redirect 'pyterm' module to libqtopensesame.widgets
    __init__.py(30).<module>: redirect 'statusbar' module to libqtopensesame.widgets
    __init__.py(30).<module>: redirect 'tree_overview' module to libqtopensesame.widgets
    __init__.py(30).<module>: redirect 'toolbar_items' module to libqtopensesame.widgets
    __init__.py(30).<module>: redirect 'variable_inspector' module to libqtopensesame.widgets
    __init__.py(30).<module>: redirect 'good_looking_table' module to libqtopensesame.widgets
    opensesame(96).<module>: no translator found for en_GB
    qtopensesame.py(83).resume_init: filesystem encoding: UTF-8
    qtopensesame.py(286).restore_config: 
    theme.py(53).__init__: theme = 'gnome' (/usr/share/opensesame/resources/theme/gnome)
    theme.py(152).load_icon_map: using custom icon theme
    theme.py(161).load_icon_map: /usr/share/opensesame/resources/theme/gnome/icon_map.csv
    theme.py(185).load_icons: 
    theme.py(185).load_icons: 
    experiment.py(123).__init__: creating new pool folder
    experiment.py(127).__init__: pool folder is '/tmp/tmpWvuNPi.opensesame_pool'
    experiment.py(507).open: opening from unicode string
    experiment.py(245).from_string: building experiment
    experiment.py(229).parse_definition: loading core item 'sequence' from 'libqtopensesame.items'
    theme.py(185).load_icons: 
    qtitem.py(53).__init__: created experiment
    experiment.py(215).parse_definition: loading plugin 'notepad'
    item.py(227).from_string: 
    theme.py(185).load_icons: 
    qtitem.py(53).__init__: created getting_started
    experiment.py(229).parse_definition: loading core item 'sketchpad' from 'libqtopensesame.items'
    theme.py(185).load_icons: 
    color_edit.py(104).initialize: color = white
    color_edit.py(104).initialize: color = white
    color_edit.py(104).initialize: color = white
    theme.py(185).load_icons: 
    qtitem.py(53).__init__: created welcome
    qtopensesame.py(296).restore_state: 
    qtopensesame.py(322).restore_state: missing recent file ''
    qtopensesame.py(392).set_style: ignoring unknown style ''
    toolbar_items.py(199).build: adding plugin 'text_display'
    toolbar_items.py(199).build: adding plugin 'fixation_dot'
    toolbar_items.py(199).build: adding plugin 'text_input'
    toolbar_items.py(199).build: adding plugin 'joystick'
    toolbar_items.py(199).build: adding plugin 'touch_response'
    toolbar_items.py(199).build: adding plugin 'reset_feedback'
    toolbar_items.py(199).build: adding plugin 'port_reader'
    toolbar_items.py(199).build: adding plugin 'srbox'
    toolbar_items.py(199).build: adding plugin 'mantra_wait'
    toolbar_items.py(199).build: adding plugin 'mantra_connect'
    toolbar_items.py(199).build: adding plugin 'mantra_log'
    toolbar_items.py(199).build: adding plugin 'form_base'
    toolbar_items.py(199).build: adding plugin 'external_script'
    toolbar_items.py(199).build: adding plugin 'notepad'
    toolbar_items.py(199).build: adding plugin 'repeat_cycle'
    toolbar_items.py(199).build: adding plugin 'advanced_delay'
    toolbar_items.py(199).build: adding plugin 'parallel'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'text_display'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'text_input'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'mantra_wait'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'mantra_connect'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'mantra_log'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'form_base'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'joystick'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'fixation_dot'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'touch_response'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'advanced_delay'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'reset_feedback'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'port_reader'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'parallel'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'external_script'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'srbox'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'notepad'
    qtopensesame.py(1551).populate_plugin_menu: found plugin 'repeat_cycle'
    qtopensesame.py(418).start_autosave_timer: autosave interval = 600000 ms
    qtopensesame.py(506).set_unsaved: unsaved = False
    qtopensesame.py(589).check_update: opening http://files.cogsci.nl/software/opensesame/MOST_RECENT_VERSION.TXT
    qtopensesame.py(629).check_update: identifying as version 0.2704
    qtopensesame.py(630).check_update: latest stable version is 0.2704
    theme.py(185).load_icons: 
    theme.py(185).load_icons: 
    qtopensesame.py(1467).refresh: None
    qtopensesame.py(1081).build_item_list: None
    
    ** (python:2213): WARNING **: Invalid borders specified for theme pixmap:
            /usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png,
    borders don't fit within the image
    
    ** (python:2213): WARNING **: Invalid borders specified for theme pixmap:
            /usr/share/themes/Lubuntu-default/gtk-2.0/images/scrollbar_horizontal.png,
    borders don't fit within the image
    
    ** (python:2213): WARNING **: Invalid borders specified for theme pixmap:
            /usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png,
    borders don't fit within the image
    
    ** (python:2213): WARNING **: Invalid borders specified for theme pixmap:
            /usr/share/themes/Lubuntu-default/gtk-2.0/images/scrollbar_vertical.png,
    borders don't fit within the image
    

    But unfortunately, I does not show up in Opensesame.

    Thanks,
    -Frouke

  • edited 7:22AM

    Hi Frouke,

    There's something odd going on here. From your screenshot it looks like various plug-ins, presumably including form_base, have been incorrectly loaded, and have simply been added to the Miscellaneous group without an icon. These are the empty entries in the item toolbar.

    You have manually installed the plugins to you home folder (~/.opensesame/plugins), right? How have you done this? (And why, btw?) I suspect that the plug-in files are simply corrupt for some reason. With the new-style plug-ins this triggers a json-parse warning, with the old-style plug-ins it fails silently. But the underlying problem is presumably the same. For example, what's in ~/.opensesame/plugin/form_base/info.txt? This should look like this: https://github.com/smathot/OpenSesame/blob/master/plugins/form_base/info.txt. But I bet it doesn't.

    Cheers!
    Sebastiaan

  • edited October 2013

    I reinstalled OpenSesame (sudo apt-get install --reinstall opensesame) and now the plugins works. :)

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games