Forum Bugs

Internal error: domain_error

arthurattwell
I'm inconsistently getting this error on output:

prince: internal error: domain_error("float.\'/\': division by zero")


On the same document, I'll get it on one attempt, and not the next, without any changes to the document. We've been generating PDFs from these documents for months, with small changes, and haven't seen this error before.

I'm using the CLI on Windows 10.

I don't expect an easy answer, but do you have any suggestions for how or where to start looking for what's causing this error?
arthurattwell
We may have solved this. We were mistakenly allowing a Google webfonts script to load on the page. Since removing this, I'm not getting the error.
mikeday
If you know which script is causing the problem I wouldn't mind taking a look, perhaps it's triggered by something we can fix.