While searching for similar problems, I have noticed that is not unusual to everyone use other programs to run the code built in Psychopy. I like to use Sublime Text to run the programs while testing and fine tunning.
But I am no longer able to run any programs with dialog box (expInfo). Sublime Text just won’t open the dialog box for data input. Interestingly, if I just comment the dlg function (in sublim text), to get rid of the data input, the program will run without problems. I am talking about working experiments, tested, that I know are bug free. Within PsychoPy, dialog boxes will show up, no problems. And also running the code on python itself.
Anyone else had this problems?
Any thoughts on this?! I have no solution to this to this date. And Sublime Text still on version 4113. I did some more tests and noticed that if I comment the following code from the script, and then press Esc after run it, the experiment will run no problems. But then I will not have the Experiment info I intended for the experiment.
if dlg.OK == False:
core.quit() # user pressed cancel
It will also run if I just press return after running the code on Sublime (and awaiting a while). It is just as the dialog box had opened, but is there invisible. Do that make any sense?!
My knowledge in python doesn`t allow me to understand what the “gui.DlgFromDict()” function is doing (besides, obviously, opening the Experiment info dialog box). But anyhow, Sublime can’t reach this function properly, if this is possible.