Difference in logging behaviour between windows and macOS
OpenSesame version: 4.0.24 (both Win 11 and macOS)
Operating system Windows 11 vs macOS Tahoe
Backend : legacy
Expected behavior :
Logging of variables declared in inline python scripts, working on macOS, not on Win 11
Actual behavior (what goes wrong):
On Mac, inline defined variables via "var.VarName" are registered to the log-file. In Windows 11, these variables are not stored, where we did expect this.
<Some other code>
var.rating = current
var.confirmed = confirmed
Thank you for your help
Comments
Hi @jbcmarsman
I'm not sure what's going on, but I'll try to help. Does the issue persist if you assign variables with "VarName = value" (instead of "var.VarName = value") and use a logger item?
When you try this, make sure that your logger item comes after the inline_script in the sequence and that it is set to “automatically log all variables” (and/or that you have manually added the variables you want to the list).
If the variables still don’t appear in the log file, feel free to share your experiment file and I'll test it on Windows to see if I can reproduce the issue.
Let us know how it goes!
Claire
Check out SigmundAI.eu for our OpenSesame AI assistant! 🤖