Psychopy window freezes without any error. Please help.

I followed following options:

  1. Remove all the print statements.
  2. Removed extra file writing (other than trialhandling csv file).

I tried above two options with no avail. The window get freezed randomly at any time. I don’t know what could be the solution. Please share the solution if you have faced the similar issue and was able to resolve it.

Hi, unfortunately we can’t help here at all unless we know what your code does. Can you strip down your code to the smallest possible length that produces the problem and posit it here? (Often this sort of process will help you identify the issue along the way anyway.)