Howdy, Stranger!

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

Supported by

OpenSesame not responding for ~10 mn at launch on Windows 7

Hi all,

I have the latest stable version, 3.3.9 Lentiform Loewenfeld (Python 3.7), installed on a Windows 7 system. Since this system is used by several investigators, it usually has no Internet connection to avoid unwanted updates.

Unfortunately, when I launch OpenSesame offline (using conda : https://osdoc.cogsci.nl/3.2/download#anaconda-cross-platform), the window launches but then OpenSesame does not respond for ~10 mn. When I launch it online, this issue does not occur.

As suggested in another post (https://forum.cogsci.nl/discussion/2877/opensesame-3-1-extremely-slow-to-start-the-first-time-and-run-experiments-the-first-time), I tried disabling and removing folders of plugins that can try to connect at launch (OpenScience Framework, analytics, update_checker). Yet, this did not change anything.

Do you have an idea of what I can do to improve the offline launch time, or of how I can monitor the launch to see what is causing this issue ?

Thanks for your help.

Best,

Jessica

Comments

  • Hi @Jessica Bourgin ,

    Since you mention launching 'offline' and 'online', I'm guessing that you don't mean that OpenSesame itself takes this long to start, but that the freeze happens when you start an experiment. Is that correct?

    There are many reasons why this might happen, but to trace it down, I would try the following:

    • Look at the console and see if there are any errors or warnings when you start the experiment. And at what point does the freeze occur? (I.e. what's the last message in the console before everything freezes?)
    • Does this happen for all back-ends?

    -- Sebastiaan

  • Hi @sebastiaan,

    Thanks for your reply. Sorry I wasn't clear, I mean that OpenSesame is long to start, not an experiment.

    What happens is the following :

    • When I launch OpenSesame through conda activate opensesame-py3 and then the opensesame command, the OpenSesame window appears almost immediately.
    • Immediately after that, OpenSesame does not respond for almost 10 mn. I can't do anything, and I cannot access any of the menus or tabs. I get control again of the software once the Get Started! tab appears.

    I looked at the Anaconda prompt and did not see any warning or error message appear.

    Thanks for your help.

    Best regards,

    Jessica

  • edited September 2021

    Hi @Jessica Bourgin ,

    If you pass the -d command line argument (opensesame -d), then OpenSesame will write debugging output to a log file, the location of which will be indicated in the terminal. You should be able to tell where the delay comes from by looking at the timestamps in the debug log. Basically, if you see that two lines are separated by 10 minutes, then that's where things go wrong. Could you do that? You can also just attach the debug log to this discussion, so that I can take a look.

    — Sebastiaan

  • Hi @sebastiaan,

    Thanks a lot for your response. I just tried with that and it seems that the webbrowser widget is responsible (see debug file attached):

    [2021-09-08 10:10:20,690:base_component:89:DEBUG] dynamically loading ui: C:\ProgramData\Miniconda3\envs\opensesame-py3\share\opensesame_resources\ui\widgets\webbrowser_widget.ui
    


    I couldn't find information about this widget. Is it something I can delete or deactivate safely?

    I noticed another difference when I run OpenSesame with and without an Internet connection. When I run it offline, the following message appear every 100 ms or so:

    WARNING:traitlets:kernel died
    
    


    Do you know what this means and can it impair the performance while the experiment runs?


    Thanks for your help.

    Best,

    Jessica

  • Hi @Jessica Bourgin ,

    It seems that the delay comes from something that involves the webbrowser component. This is used by various extensions, including the analytics extension, the get_started extension, and the after_experiment extension (but this is not done at startup). Can you try disabling the get_started and analytics extensions both separately and together to see whether any of these three combinations resolves the issue?

    Do you know what this means and can it impair the performance while the experiment runs?

    It means that the Python kernel in the Jupyter Console keeps crashing and being restarted. And yes, this takes a bit of CPU and therefore could potentially cause delays.

    In general, I suspect that there's something on the system interfering with network connections, and that this results in all the things that you run into (which all seem related to network connectivity). A pragmatic workaround for now would be to use opensesamerun , which has none of these bells and whistles.

    — Sebastiaan

  • Hi @sebastiaan,

    Thanks a lot for your answer!

    Unfortunately, disabling analytics or get_started, or both did not solve the issue.

    Since I don't need specifically to code on this computer, but indeed to run the experiment, I will do as you suggest and use opensesamerun instead of opensesame. Thanks for the advice!

    Best,

    Jessica

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