Unable to create a Simplicial mesh

Hi all,
I am new to FEniCS and following the tutorial

On page no. 185, a simplicial mesh is created using the given code, but I am not able to create it using the same code, getting the following error.

For the usage of mesh editor, see for instance: L-shape mesh generation with right element - #9 by dokken