slashme / parliamentdiagram

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

False error ("There are no delegates in your parliament. Cannot generate a diagram!" #179

Open LalOpen opened 1 month ago

LalOpen commented 1 month ago

Hi!

I'm trying to create a diagram, but when I click on "Make my diagram", it returns me a false error : "There are no delegates in your parliament. Cannot generate a diagram!"

I attach a screenshot that shows that there are several "delegates". Capture d’écran du 2024-10-05 15-48-58

Gouvernathor commented 1 month ago

The error is not the right error, but the mistake is on your side : the number of seats of "Noble Party" is not an actual number, it's a color. There should be a better error message when parseint fails, probably.