psychopy.org | Reference | Downloads | Github

Problem with exporting experiment to html


#1

Hi,

I have problem with exporting experiment to html. It shows “Runtime Error: maximum recursion depth exceeded”

I tried to enlarge the stack by “import sys sys.setrecursionlimit(10000)” but it didn’t work.

I found somewhere that changing recursion to iteration might help, but I’m not good at programming and it’s too hard for me to do that.

Do you have any other simplier ideas how to fix that?


#2

Well, this is more likely a limitation of our feature set right now; something is getting stuck in an infinite loop with itself. We’d need to know more about your experiment. Do you have any code components in your study? Did you look at the list of what is currently supported?

Just to reiterate, this is all brand new stuff that we’re testing out.

Could provide the minimal example of it going wrong?


#3

Hi Jon,
I have the same problem and tested it also with the mental rotation demo with following output:

experiment.py", line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 717, in findPathsInFile
contained = findPathsInFile(thisFile[‘abs’])
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\experiment.py”, line 708, in findPathsInFile
conds = data.importConditions(thisFile[‘abs’]) # load the abs path
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\data.py”, line 2664, in importConditions
trialsArr = pandas.read_csv(fileUniv, encoding=‘utf-8’)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\io\parsers.py”, line 562, in parser_f
return _read(filepath_or_buffer, kwds)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\io\parsers.py”, line 325, in _read
return parser.read()
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\io\parsers.py”, line 823, in read
df = DataFrame(col_dict, columns=columns, index=index)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\frame.py”, line 224, in init
mgr = self._init_dict(data, index, columns, dtype=dtype)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\frame.py”, line 360, in _init_dict
return _arrays_to_mgr(arrays, data_names, index, columns, dtype=dtype)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\frame.py”, line 5241, in _arrays_to_mgr
return create_block_manager_from_arrays(arrays, arr_names, axes)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\internals.py”, line 3999, in create_block_manager_from_arrays
blocks = form_blocks(arrays, names, axes)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\internals.py”, line 4096, in form_blocks
object_blocks = simple_blockify(object_items, np.object)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\internals.py”, line 4132, in _simple_blockify
block = make_block(values, placement=placement)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\internals.py”, line 2518, in make_block
return klass(values, ndim=ndim, fastpath=fastpath, placement=placement)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\internals.py”, line 1663, in init
placement=placement, **kwargs)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\internals.py”, line 84, in init
self.mgr_locs = placement
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\internals.py”, line 194, in mgr_locs
new_mgr_locs = BlockPlacement(new_mgr_locs)
File “pandas\lib.pyx”, line 1753, in pandas.lib.BlockPlacement.init (pandas\lib.c:29589)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\numpy\core\numeric.py”, line 676, in require
requirements = set(possible_flags[x.upper()] for x in requirements)
RuntimeError: maximum recursion depth exceeded


#4

push push push push :wink:


#5

I’ll get to this sometime but, seriously, this isn’t for running your proper experiments yet. There are going to be further bugs so please don’t be in a rush to run online “yesterday”.