Multiple loops. Crashing after 1st loop

im designing a visual experiment with multiple loops. When I run the experiment it crashes after 1st loop. Error message: wrong syntax. It works well when I check off the box Is trial in each loop, but then I can’t get my trials data. I’m new at psychopy. Has anyone experienced something similar?

“Syntax error” simply means “the computer doesn’t understand what it was told to do”. Please give us the actual entire error message.

I’m hopeless at coding. That’s why I only use Psychopy Builder. But none of the experiments I designed are fully successful so far. On the 1st one, in order to get a set of loops running (matching pictures and sentences) I had to change data output so my data files are somehow unreadable. When I hit the button “Is trials” on the loop window, which would give me a neater datasheet, loops simply fail after some trials, giving me this message:

Running: /Volumes/Data/acceptability test/acceptability0_lastrun.py

pyo version 0.8.0 (uses single precision)
2017-06-25 23:26:55.625 python[7388:816388] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/pv/q35ktltd4fl8gbfw76s73dtc0000gn/T/org.psychopy.PsychoPy2.savedState
Traceback (most recent call last):
File “/Volumes/Data/acceptability test/acceptability0_lastrun.py”, line 997, in
dataOut=[‘n’,‘all_mean’,‘all_std’, ‘all_raw’])
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/data.py”, line 643, in saveAsExcel
matrixOnly=matrixOnly)
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/data.py”, line 1123, in _createOutputArray
tup = eval(strVersion) # convert back to a tuple
File “”, line 1
[(, 0.0), (u’3’, 0.764), (u’3’, 1.472)]
^
SyntaxError: invalid syntax

My second experiment seems even harder to fix. I set a sound capture routine which simply freezes my machine after a number of trials. No escape key can make it run again! I’m using blocks and time limit to minimize memory burden but so far no good has come. I have no message error available for this one because ever time I run this file, I have to reset my computer!

######### Running: /Volumes/Data/production test/production_lastrun.py #########
pyo version 0.8.0 (uses single precision)
2017-06-25 23:31:49.427 python[7443:818981] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/pv/q35ktltd4fl8gbfw76s73dtc0000gn/T/org.psychopy.PsychoPy2.savedState
Fatal Python error: (pygame parachute) Segmentation Fault

Has anyone got any idea of what those problems might be related to?