Howdy, Stranger!

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

Supported by

OSweb extension behaving badly

In developing an OSWeb program, I got the somewhat ominous message 'OSweb extension behaving badly'

In the Python console, this was accompanied by the message:

PermissionError: [WinError 5] Access is denied: 'C:\\Users\\...\\AppData\\Local\\Temp\\tmp7h4upatx.osexp'

Later, I discovered that one of the program's sketchpads had a duration of 0. When this was redressed, the messages no longer appeared. So, I assume that the zeo duration was the cause.

Is this correct? Perhaps in a future version messages could be more specific.



  • Hi Pieter,

    Sketchpads with a duration of 0 are nothing extraordinary actually and normally work in Osweb just fine. So if unsetting it really made a difference, I guess that the behavior of other parts of the experiment caused the problem that only appeared when the duration of that sketchpad was set to 0. Nevertheless, it is somewhat of a weird problem. Unfortunately it is not trivial to always have very specific error messages.

    If you like you can share your experiment here, and we can check whether we can reproduce the error and see what is behind this.

    Aside of this, just a clarification. When you use OSweb, there shouldn't be anything in the Python console, as the experiment runs in Javascript online, that is in the browser (by clicking the most right green arrow), or on some server when you upload the experiment to JATOS or something alike. So, the fact that you report the error message in the Python debug window is a bit odd. Are you sure you are not running osweb specific code (e.g. javascript items) with regular Opensesame?


    Buy Me A Coffee

  • edited November 2022

    Thanks, for the quick response.

    And I'm running the experiment in the browser. 😉

    Indeed, the message reappeared after the duration was reset. I will see if I can localise the cause of the messages and than come back to it. It does not seem to interfere with OSweb's functioning

  • These are the messages in the Python console:

    Extension error


    time: Mon Nov 7 10:55:27 2022

    exception type: PermissionError

    exception message: [WinError 5] Access is denied: 'C:\\Users\\p163222\\AppData\\Local\\Temp\\tmp1sfgdeik.osexp'


     File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libqtopensesame\extensions\", line 336, in _activate


     File "C:\Program Files (x86)\OpenSesame\share\opensesame_extensions\oswebext\", line 53, in activate


     File "C:\Program Files (x86)\OpenSesame\share\opensesame_extensions\oswebext\", line 150, in _test


    PermissionError: [WinError 5] Access is denied: 'C:\\Users\\p163222\\AppData\\Local\\Temp\\tmp1sfgdeik.osexp'

  • Hi @Pieter_ ,

    When testing an OSWeb experiment, the .osexp experiment is first saved to a temporary location, then converted to an .html file so that it can be opened in a browser, and finally the temporary .osexp file is removed again. This last step goes wrong in your case, but it's not clear to my why.

    Did the experiment nevertheless open in the browser for testing? If not, then I'm guessing that something went wrong parsing the experiment file, in which case it would be helpful if you could share it here.

    — Sebastiaan

  • Thanks for the response, @sebastiaan

    Strangely, the experiment runs in the browser without problems. So, the 'behaving badly message' seems superfluous. I think it has something to do with the installation. I installed OS as a download stand-alone package. Separately, by means of Anaconda, I installed some parts of of OSWeb for data conversion. This should be independent of OS but perhaps it is not.

  • Hi @Pieter_ ,

    I still don't know where this error comes from, but since it seems harmless I made a small update that catches it. Could you confirm that the error is gone when you update to OSWeb extension

    conda update opensesame-extension-osweb -y

    — Sebastiaan

  • Thanks, @sebastiaan , I will check it and let you know.

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 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