Howdy, Stranger!

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

Supported by

Writing Blank Data Files on MacOS

Hello.

I've built a couple of experiments that seem to work fine on Windows version 3.2.8. However, when I open and run them on a Mac (again, in version 3.2.8), the CSV data files that they produce are completely blank. Does anyone know why this may be, or what I can do to fix it?

MacOS version 10.14.6; Windows 10 version 1903.

Thanks in advance. Peter Allen

Comments

  • Hi Peter,

    The most obvious reason for completely blank log-files is that there is no logger in the experiment (or that it is never executed). But if that's not it, could you attach the experiment to this discussion so that I can take a look?

    Cheers!

    Sebastiaan

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

  • Hi Sebastiaan. Thanks for your reply. It is happening with all experiments. I've attached a very abbreviated Stroop. It works fine on a Windows 10 PC. However, when I run it on my Mac all it produces is a

    blank CSV file. Regards, Peter Allen

  • HI Sebastiaan. Quick update.These experiments seem to be working fine on my MacBook, which is also running 3.2.8 on MacOS 10.14.6, so the issue seems localised to my iMac at work. Is there anything else that I might have installed that could be interfering with the production of the CSV files? I'll start uninstalling (unneeded) possible candidates tomorrow, but if you have any pointers they'd be appreciated. Regards, Peter Allen.

  • Hi Peter,

    Before considering the option that OpenSesame really doesn't write to the log file (which strikes me as unlikely, although nothing is impossible), let's exclude some more trivial options.

    You say that there's an empty log file. To make sure that this is actually created by OpenSesame, what happens if you remove this log file (or choose a non-existing name for the log file)? Does OpenSesame (re)create the file, but leave it empty?

    And what happens if you add a simple inline_script that writes directly to the log? Like so:

    log.write('test string')
    

    Is the log file then still empty?

    Cheers!

    Sebastiaan

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

  • HI Sebastiaan.

    When I add the inline script to an experiment, I get data!

    When I remove it, I get a blank CSV file again.

    Regards, Peter Allen

  • Hi Peter,

    This is very strange behavior indeed, and I don't know where it comes from. Thanks for putting this on the radar though. If we manage to replicate it, or hear more of these reports, we'll get on top of it. For now, at least you have a work-around.

    Cheers!

    Sebastiaan

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

Sign In or Register to comment.