Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CNSU 2022 #128

Open
Helias opened this issue May 19, 2022 · 0 comments
Open

CNSU 2022 #128

Helias opened this issue May 19, 2022 · 0 comments

Comments

@Helias
Copy link
Member

Helias commented May 19, 2022

https://www.unict.it/sites/default/files/files/Scrutinio%20CNSU%20provvisorio.pdf

making some tries I get this

Traceback (most recent call last):
  File "/Users/4009093/projects/UNICT-elezioni/jsonParser/parser.py", line 87, in <module>
    main(sys.argv[1:])
  File "/Users/4009093/projects/UNICT-elezioni/jsonParser/parser.py", line 74, in main
    str_json = target.scrape_list(formatted_text)
  File "/Users/4009093/projects/UNICT-elezioni/jsonParser/CNSU.py", line 160, in scrape_list
    list_of_seats = self.__find_list_of_seats(text, list_of_not, seggi_da_assegnare)
  File "/Users/4009093/projects/UNICT-elezioni/jsonParser/CNSU.py", line 19, in __find_list_of_seats
    seggi_da_assegnare[0] = int(split_text[2])
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant