Howdy, Stranger!

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

Supported by

[solved] problem with logger and logfile

edited December 2013 in OpenSesame

hi
first of all I want to say that I am having great time program my experiments in open sesame
after working on my experiment when I select the logger I see only the script page and when I try to apply or discard changes I get the error message "super(type, obj): obj must be an instance or subtype of type (Edit the script to fix this)"
and also when I try to open file by double clicking I get an error that the log file could not open (access denied errno.13)
I run it from admin account, and I tried to re-install opensesame.

last question, is there a better way searching the forum except from the search bar on top?

thenx
Dror

Comments

  • edited 11:35PM

    Hi Dror,

    hi first of all I want to say that I am having great time program my experiments in open sesame

    Thank you!

    when I select the logger I see only the script page and when I try to apply or discard changes I get the error message "super(type, obj): obj must be an instance or subtype of type (Edit the script to fix this)"

    This is probably not related to the logger. Do you happen to have two instances of the form_consent plug-in? If so, this is a known issue: https://github.com/smathot/OpenSesame/issues/116. If not, could you perhaps post a screenshot of the overview area of your experiment?

    when I try to open file by double clicking I get an error that the log file could not open (access denied errno.13) I run it from admin account, and I tried to re-install opensesame.

    Do you mean that you get an error when you try to open an experiment by double-clicking on it? Or do you get an error when you try to run an experiment after you have opened it? If the last is the case, you simply should select a location for the log file where you have write access. If the first is the case, could you provide some more details (i.e. what happens exactly)?

    last question, is there a better way searching the forum except from the search bar on top?

    You could try

    Cheers,
    Sebastiaan

    Buy Me A Coffee

  • edited 11:35PM

    hi
    1. I sent you the log file and the exp.
    2. where I can see if I have two form_consent plug-in?
    3.open sesame crash after double click on an experiment (to open it in opensesame -not run it) it works ok when I open it after opensesame is already open.
    4.and finally - after the logger problem occurs - there is no variables in the variables inspector.

    Dror

  • edited January 2013

    the log file is :


    Traceback (most recent call last):
    File "dist\libqtopensesame\qtopensesame.py", line 708, in refresh_variable_inspector
    File "dist\libqtopensesame\widgets\variable_inspector.py", line 85, in refresh
    File "dist\libopensesame\experiment.py", line 600, in var_list
    File "E:\OpenSesame\plugins\form_text_input\form_text_input.py", line 82, in var_info
    return super(form_text_input, self).var_info() + \
    TypeError: super(type, obj): obj must be an instance or subtype of type
    Traceback (most recent call last):
    File "opensesame", line 94, in
    File "dist\libqtopensesame\qtopensesame.py", line 850, in open_file
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xee in position 22: ordinal not in range(128)
    Traceback (most recent call last):
    File "opensesame", line 94, in
    File "dist\libqtopensesame\qtopensesame.py", line 850, in open_file
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xee in position 22: ordinal not in range(128)

    do you need the experimant file? (how can I post it here

    thenk you
    Dror

  • edited January 2013

    Hi Dror,

    To upload your experiment you could do the following:

    • Open the "General properties" tab, click "Script editor" and copy the whole script,
    • go to pastbin.com or gist.github.com, upload your script there (simply paste and submit)
    • and provide us with the resulting link in your forum post.

    Best,

    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • edited 11:35PM

    hi
    here is the link
    http://pastebin.com/0SLnn4bh
    thenx

  • edited 11:35PM

    hi
    I tried to delete the form and to replace it with text input and it worked! all the errors vanished, don't know why...
    thank you for your help
    Dror

  • edited 11:35PM

    Hi Dror,

    Thanks. This is indeed a bug, similar to the one that I had already identified (and fixed in the development version) for the form_consent plug-in. Basically, the error will be triggered when

    • there are two instances of a form plug-in (probably not just form_text_input)
    • and the variable inspector is visible

    For now, a simple workaround would therefore be to not show the variable inspector, at least not when opening and interacting with these plug-ins. I appreciate that this is not very convenient, though.

    A bug report has been filed, and it will be fixed for the bug-fix release that is planned for 0.27.

    Cheers!
    Sebastiaan

    Buy Me A Coffee

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