It turns out this is due to a bug in the grotty program, where it did not accept vertical lines that exceeded a page length. I found this out from a debian bug report back in 2012: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673436