Open gavinrozzi opened 6 years ago
this might be as "simple" a fix as requiring 'mathn' http://ruby-doc.org/stdlib-2.1.5/libdoc/mathn/rdoc/Math.html (this instance is running 2.1.5 but that same note appears in the docs for multiple versions so I don't think this is factor)
(although my lazy reading of this implies we're asking for the square root of a negative number so it might be worth having a dig into what's happening here)
Just checked the statistics page and strangely enough this error is no longer occurring on https://opramachine.com/statistics#public_bodies No changes have been made to the site since the creation of this issue.
This also happened on Belgium recently https://groups.google.com/a/mysociety.org/forum/#!topic/cron-alaveteli/IMrvIpFUbd8
The public authority statistics page is broken for us and we have begun receiving this error as of Wednesday: