benadida / helios-server

Helios server
http://heliosvoting.org
Apache License 2.0
721 stars 343 forks source link

Problem on tally process #360

Open PiahDoNeumann opened 2 years ago

PiahDoNeumann commented 2 years ago

How correct this error? Is possible to repair?

File "/var/voting/helios/tasks.py", line 91, in election_compute_tally election.compute_tally() File "/var/voting/helios/models.py", line 418, in compute_tally tally.add_vote(voter.vote, verify_p=False) File "/var/voting/helios/workflows/homomorphic.py", line 320, in add_vote enc_vote_choice = encrypted_vote.encrypted_answers[question_num].choices[answer_num] IndexError: list index out of range

Have one question and 700 answer. Only 42 people voted.

python3 --version Python 3.8.10