Howdy, Stranger!

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

Supported by

[solved] Openseasme crash when font size is a variable

edited April 2015 in OpenSesame

Hi

I'm using the new version on Windows 8.1.
I tried to define font size as a variable in a sketchpad like that:

image

Right after clicking OK I get the following msg:
image

and then the software crashes...

I tried using another variable name
and also to change the back-end to legacy,
but it didn't work

I'll really appreciate any help

Thanks

Tali

Comments

  • edited 9:58AM

    Hi Tali,

    I seems like you want to set the fontsize based on the experimental condition, is that right? (Rather than having the same font size all the time; because in that case you could simply change it in the upper item ('general properties') of the overview window).

    So, it seems that "[Size_p1]" doesn't provide the font_size parameter with a normal numerical value. What you could try (if Size_p1 is in fact a variable with a numerical value) is font_size = self.get('Size_p1'), or fontsize = exp.get('Size_p1'). Also, I don't know what's stored in this variable but just [Size_p1] without the " "'s might work as well.

    Be aware that your text input "[Num_p1]" might cause the same problem.

    Hope this helps, let me know if this is not the case!

    Cheers,

    Josh

  • edited March 2015

    Hi Josh
    Thank you so much for your response!

    Yes- I want the font size to change throughout the experiment.
    Size_p1 is indeed a numerical value.

    I tried all the options and still I get the same msg and the experiment crashes.
    Num_p1 works without any problems, and so does playing with the color of the font.
    This looks specific to font size.

    Here is a link to the experiment if that help:
    (The different font is in the sketchpad called "target")

    https://www.dropbox.com/s/5wc69pma7can98o/Ordinality_Symbolic_numerical.opensesame?dl=0

    Thanks again!

    Tali

  • edited 9:58AM

    Hi Tali,

    This type of error (without a Python stacktrace) indicates a crash somewhere 'deep down' in the libraries that OpenSesame uses. It's not something that you're doing wrong--it should never happen.

    Is this a problem that is easily reproducible, also on other systems? If so, could you provide some basic steps that allow us to reproduce the issue? That way we can find out what's going on and possibly work around it.

    Cheers,
    Sebastiaan

  • edited March 2015

    Hi Sebastiaan

    It worked on Mac (2.9.3 while I'm using windows 8 with 2.9.4).
    I tried 2.9.3 on windows 8 and got the same results...

    On windows, it is easily reproducible:

    • define font size as a variable in a loop
    • create a "text box" in sketchpad from a sequence the loop is running
    • in "edit" replace the font size with the name of the variable.
      after pressing "ok" the experiment will crash...

    here is the most basic way to do it:
    https://www.dropbox.com/s/48w9cs2n2dnxfpf/crash example.opensesame?dl=0

    Thanks!

    Tali

  • edited 9:58AM

    Hi Tali,

    Thanks for the clear description. Turns out it was a combination of a bug in OpenSesame, which would normally give a useful error message, and a panic attack of one of the underlying libraries. It should be fixed as of the next prerelease of 2.9.5 (>= pre9), which I may upload later today.

    Thanks again!

    Cheers,
    Sebastiaan

  • edited 9:58AM

    Thank you so much Sebastiaan!!
    I started to think I might have to run this experiment with e-prime :-S

  • edited 9:58AM

    It's working perfectly with the new version! =D>

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