Howdy, Stranger!

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

Supported by

Python Inline Script code keeps disappearing

Hey All, I'm new and I've been going through the manual. I've come across a bit of an issue. When I enter python code into the prepare window, then save, then go to another tab and come back, the code I saved is gone. I'm in Windows 10 64bit using the latest version of OpenSesame. It's a little frustrating. I'm taking the online Python courses as well but they're updating their site on August 1st so anything I put in now in the lessons is going to get deleted there. So I have to wait a bit to get more practice in Python. I would think that if I hit save in OpenSesame, that it would save the content of the Prepare/Run windows. Am I doing something wrong? I was setting up my form using an inline script. I went to get the widget "from libopensesame import widgets" and when I went back to the window, the code I had input was gone. This has been happening a lot. Even when I start with from libopensesame import widgets. Any help is appreciated.

Comments

  • Hi Patricia,
    This should definitely not happen, just to clarify: you are typing in an inline script and when you switch screens the code disappears? It would be helpful to know a bit more, for example, between which windows are you switching, and is the error consistently occurring at the same time/when you perform the same action? It'd be great to have a look at the actual experiment to see where this behavior happens or see some printscreens

  • Hi Patricia,

    I think I encountered this behaviour before. Can you try to click somewhere outside the prepare window, before you press save? The changes you type into the inline_scripts only take effect, once you leave the window, so technically, your inline_script is still empty, when you try to save.

    In general, I agree that this can be a little annoyting. @sebastiaan, do you think this is something that can be avoided in future releases?

    Eduard

    Buy Me A Coffee

  • Hello Roelof,
    Thanks for the logo script. If I wanted to have the logo on every screen, could the code be placed in the backend settings instead of around widgets.

  • Hi Patricia,
    There is a way to set a standard background image; but this only works smoothly in 3.2:

    http://forum.cogsci.nl/index.php?p=/discussion/3531/forms-widgets-image-as-background-for-form

    For the moment it seems much easier to just add an image to each form

    Roelof

  • Hey Roelof, Thanks for the info. I updated to 3.2 and it's going much better. I am able to add my logos on every form so that works great. I might try your suggestion when I get a bit more daring.

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