ISOVIST not working on ghpython

What am i doing wrong in this code :

3. Attach minimal versions of all the relevant files

you’re trying to get a plane out of a point…
maybe construct the plane with y as the origin.

you should also add x = rs.coercecurve(x) or something similar