Howdy, Stranger!

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

Supported by

Can't enable debug mode on opensesame 3.1.5

edited February 2017 in OpenSesame

Hello,

I am trying to debug an issue. Namely, when I copy past a text into a script editor for any form, the program terminates (crashes). This mostly happens when I past between double quotation marks.

I am running Arch with the latest updates. I installed opensesame 3.1.5 using pip2 (the version on AUR is outdated).

I tried running opensesame with --debug option and got this:

    000000 debug mode enabled
    Traceback (most recent call last):
     File "/usr/bin/opensesame", line 24, in <module>
        from libqtopensesame import __main__
      File "/usr/lib/python2.7/site-packages/libqtopensesame/__init__.py", line 27, in <module>
        from libqtopensesame.items import qtplugin
      File "/usr/lib/python2.7/site-packages/libqtopensesame/items/qtplugin.py", line 24, in <module>
        from libqtopensesame.items import qtitem
      File "/usr/lib/python2.7/site-packages/libqtopensesame/items/qtitem.py", line 24, in <module>
        from libqtopensesame.widgets.item_view_button import item_view_button
      File "/usr/lib/python2.7/site-packages/libqtopensesame/widgets/item_view_button.py", line 22, in <module>
        from libqtopensesame.misc.base_subcomponent import base_subcomponent
      File "/usr/lib/python2.7/site-packages/libqtopensesame/misc/base_subcomponent.py", line 22, in <module>
        from libqtopensesame.misc.base_component import base_component
      File "/usr/lib/python2.7/site-packages/libqtopensesame/misc/base_component.py", line 30, in <module>
        from libqtopensesame.misc.base_qtobject import base_qtobject
      File "/usr/lib/python2.7/site-packages/libqtopensesame/misc/base_qtobject.py", line 25, in <module>
        from qtpy.QtCore import pyqtWrapperType
    ImportError: cannot import name pyqtWrapperType

I have python2-qtpy verrsion 1.2.1-1 installed (as well as python-qtpy verrsion 1.2.1-1)

When I run it without --debug, it runs, but I get this warning:

    /usr/lib/python2.7/site-packages/IPython/qt.py:13: ShimWarning: The `IPython.qt` package has been deprecated. You should import from qtconsole instead.
      "You should import from qtconsole instead.", ShimWarning)

Same thing happens in version 3.1.4.

Other then this, the program works as it should and I can run my experiment and collect data.

Hike

Comments

  • I am trying to debug an issue. Namely, when I copy past a text into a script editor for any form, the program terminates (crashes). This mostly happens when I past between double quotation marks.

    Do you mean that you get a segmentation fault? If so, this is probably a problem with PyQt4 and/ or QScintilla2 (the editor component) in your distribution. This is annoying, and there's not much you can do about it. OpenSesame itself is pure Python, so bugs in OpenSesame will give you neat stacktraces (like the one you're seeing now).

    So I doubt that debugging with --debug will give you much useful information. But if you want to do it anyway, you can downgrade qtpy to 1.1.2. This is the version that I use (Ubuntu 16.04), and it does allow debug mode to run.

    Cheers!
    Sebastiaan

  • Sebastiaan, thanks for getting back and for developing such a great software!

    Yes, I get a segmentation fault. I guess, if the issue is not so terrible, I'll live with it.

    Can you explain (if you have time) what do you mean by "OpenSesame itself is pure Python" and the crash is in the editor? I thought the entire thing is OpenSesame, except the back-ends.

  • Can you explain (if you have time) what do you mean by "OpenSesame itself is pure Python" and the crash is in the editor? I thought the entire thing is OpenSesame, except the back-ends.

    OpenSesame, like most modern software, uses many third-party libraries. For example, the editor is based on QScintilla2. In a sense, of course, all these libraries together make up OpenSesame; but if there's a problem in the third-party libraries, especially if they're not written in Python themselves, it's very difficult to fix.

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