Getting RuntimeError with demo poisson code

I would suggest searching the forum for similar posts, see How to fix the RuntimeError "Invalid Parameter" on demo code - #15 by conpierce8