Howdy, Stranger!

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

Supported by

manual update to newest OSweb version?

Hi All,

I have an issue with the nested loops in my experiment, as they are not maintained int he web version and one can click anywhere and progress with the task. This issue has apparently been fixed with the newest update. I have reinstalled the application after this update, but reinstalling OpenSesame does not give em the newest version of OSweb.

I have been in contact on the forum about this issue, and the automatic updater should work int he background and alert me of the existing update which I can then install. However I have had my OpenSesame open for days now, and no such suggestion has popped out.

Does anyone know if I can manually make it update? . I am using a Mac with an M2 chip and MacOS 14.2.1 and I have OpenSesame version 4.0.1. I don't know how to check which version of OSweb I have.

Marta

Comments

  • edited January 2024

    Hi m.vle,

    You could try to install OpenSesame 4.0.5, when I had that installed I got a new icon (arrows in a circle) on the tool bar after a few minutes. Clicking on that gave me the instructions on how to update the outdated packages.

  • @m.vel I was initially confused by your version issues, but it turns out the download link to the Mac OS package pointed towards an outdated version. (I must have accidentally done that with the last update.) You can now download the latest Mac OS version, and from now on the automatic updater should work.

  • Hi @sebastiaan

    I have downloaded the version @SpacePenguins suggested, and still no button appeared for me (in the last 4 hours or so). I will try with the version in the link you indicate. Fingers crossed.

  • @sebastiaan

    I downloaded from the download page you suggested, on the initial page it says OpenSesame 4.0.13 Melodramatic Milgram Copyright. Is that the version I should have?

    Anyway, the program has been open for a couple of hours now and no update button. This is a screenshot of how it looks. What am I to do next? I ran the experiment in the browser and the nested loops have the same issue. I am able to click anywhere and the task progresses.

    Marta


  • Hi @m.vel ,

    Yes, 4.0.13 is the latest version that you can download as a package. Updates should still appear though, and not after a few hours but say after a few minutes, and I'm not sure why they don't. You can also update manually though by running the conda updater in the console.

    conda update opensesame opensesame-extension-osweb -c cogsci -y
    

    Does that work?

    — Sebastiaan

  • hi @sebastiaan

    Sorry for the later reply. I tried running the suggested command (note, I have no knowledge in this) and I got an error "The python kernel does not appear to be a conda environment. Please use ``%pip install`` instead."

    So maybe that is the issue?

  • hi @sebastiaan

    here is the full output of the console

    Jupyter QtConsole 5.4.3

    Python 3.11.4 | packaged by conda-forge | (main, Jun 10 2023, 18:10:28) [Clang 15.0.7 ]

    Type 'copyright', 'credits' or 'license' for more information

    IPython 8.14.0 -- An enhanced Interactive Python. Type '?' for help.

    external js = 

    conda update opensesame opensesame-extension-osweb -c cogsci -y

    ---------------------------------------------------------------------------

    ValueError                Traceback (most recent call last)

    Cell In[1], line 1

    ----> 1 get_ipython().run_line_magic('conda', 'update opensesame opensesame-extension-osweb -c cogsci -y')

    File /Applications/OpenSesame.app/Contents/Resources/lib/python3.11/site-packages/IPython/core/interactiveshell.py:2417, in InteractiveShell.run_line_magic(self, magic_name, line, _stack_depth)

      2415   kwargs['local_ns'] = self.get_local_scope(stack_depth)

      2416 with self.builtin_trap:

    -> 2417   result = fn(*args, **kwargs)

      2419 # The code below prevents the output from being displayed

      2420 # when using magics with decodator @output_can_be_silenced

      2421 # when the last Python token in the expression is a ';'.

      2422 if getattr(fn, magic.MAGIC_OUTPUT_CAN_BE_SILENCED, False):


    File /Applications/OpenSesame.app/Contents/Resources/lib/python3.11/site-packages/IPython/core/magics/packaging.py:87, in PackagingMagics.conda(self, line)

       81 """Run the conda package manager within the current kernel.

       82 

       83 Usage:

       84  %conda install [pkgs]

       85 """

       86 if not _is_conda_environment():

    ---> 87   raise ValueError("The python kernel does not appear to be a conda environment. "

       88           "Please use ``%pip install`` instead.")

       90 conda = _get_conda_executable()

       91 args = shlex.split(line)

    ValueError: The python kernel does not appear to be a conda environment. Please use ``%pip install`` instead.


    I have int he meantime updated to OS Sonoma 14.3, but still no update button appears. I have tested the experiment, and the nested loops do not work as I can click anywhere to progress with the experiment.

    I apologize for being such a bother, but I have had this experiment ready lo launch for over a month now. Is there a solution for my experiment to work as intended in a browser?

    thanks! Marta

  • Hi @m.vel ,

    What happens if you try to update with pip instead of conda ?

    %pip instal opensesame-extension-osweb --upgrade
    

    — Sebastiaan

  • Yes, perfect. That solves it.

    I was just managing another task with a colleague and saw that they had their update button on the menu bar. I really cant explain why it never appeared for me, but now it is solved and the OSWeb version runs without issues on the nested loops.

    Thank you @sebastiaan !

    Marta

Sign In or Register to comment.