OpenSesame (or Python ?) gets frozen
Hello,
Referring to my previous discussion 'Modifying the contents of a loop table', I have a good news ... and a bad one. The good news is that the experiment runs perfectly. The bad news is that after execution, it is not possible to come back to the edition UI. The program actually gets out of the execution mode and displays the UI but it goes into an endless hidden activity (the mouse cursor loops continuously). If I try to click on the OpenSesame screen, the display goes grey and nothing else is possible except to close Opensesame.
I suspect a memory overload or something similar. I have tried to modify many features of the experiment that could influence the load like the type of background, the number of pictures used in the program (from 8 to 2), the font (I use Arial in place of Mono), and so on ... without any effect.
During my attempts, I have seen one time, when I tried to click on the UI during the "hidden activity", that the program was stuck on a black screen with a Psychopy header.
Any idea ?
Cheers,
Gérard
Comments
Hi,
I have removed the DataMatrix implementation and OpenSesame is no longer frozen after execution of the experiment. I should have also mentioned that when I closed OpenSesame, I got a message "Python does not answer any more" (translation of the french message "Python ne répond plus". So the problem is obviously related to the implementation of DataMatrix. Is that information useful for you ?
Cheers,
Gérard
Sorry guys,
I finally found that the problem is not on the side of DataMatrix but originates from the "openpyxl" library that I use to read the Excel source file of the loop. The standard open file operation uses too many resources and I could solve the problem by using a 'read only' option.
Have a good weekend !