First time here? Check out the FAQ!
answered 2013-05-14 06:36:03 +0100
Confirmed, this is now Trac #14578
PS: Your grid() method refers to the undeclared n, this is a bug in your code. But not the reason for the ValueError.