Nice sleuthing!
If you have a character sheet with a few spells and a sheet with lines, does it work with v1.0.1? You'll probably get a lot of warnings about spells not being found when it encounters the lines, but it should finish exporting after that.
At any rate, I'm going to let the spell creator ignore those lines starting from v1.0.2. I just did some testing myself with 100+ spells and an empty spell sheet with lines and it exported the character fine after the code changes.