slashme / parliamentdiagram

Parliament diagram creator
GNU General Public License v2.0
104 stars 29 forks source link

Webservice crashing #72

Closed slashme closed 3 years ago

slashme commented 4 years ago

The Web service that the tool is running on keeps crashing. Arturo Gonzales gave a hint why this might be happening:

Try inspecting log files. For example:

tools.parliamentdiagram@tools-sgebastion-07:~$ wc -l error.log 283822 error.log

You have plenty of information there, including some "funny" things like:

Traceback (most recent call last): File "/data/project/parliamentdiagram/public_html//westminster.py", line 81, in sumdelegates['left'], sumdelegates['right'])/float(optionlist['wingrows']['left']))) ZeroDivisionError: float division by zero

slashme commented 4 years ago

Have made some changes to the code. Will monitor.