id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,distribution,status_field 4641,Save as Python fails when stack is empty,walter,mzepf,"Saving a project with just a Start block fails with this error. Traceback (most recent call last): File ""./turtleblocks.py"", line 567, in _do_save_python_cb pythoncode = save_python(self.tw) File ""/home/walter/Activities/TurtleBlocks.activity/TurtleArt/taexportpython.py"", line 101, in save_python pythoncode = _action_stack_to_python(block, tw.lc, name=stack_name) File ""/home/walter/Activities/TurtleBlocks.activity/TurtleArt/taexportpython.py"", line 117, in _action_stack_to_python if not isinstance(ast_list[-1], ast.Yield): IndexError: list index out of range ",defect,closed,Unspecified by Maintainer,Unspecified,Turtleart,Unspecified,Unspecified,fixed,,mzepf,Unspecified,Unconfirmed