benadida / helios-server

Helios server

Home Page:http://heliosvoting.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem on tally process

PiahDoNeumann opened this issue · comments

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