Crashing bug "repair_imported_names"
Closed this issue · 3 comments
DaleMcGrew commented
I cleaned up all of the Politician names. I then went to the Candidates page, clicked "Repair Imported Candidate Names" which goes to this page "https://api.wevoteusa.org/c/repair_imported_names/?is_candidate=true" and immediately got this error:
/webapps/wevoteserver/WeVoteServer/candidate/views_admin.py in repair_imported_names_view
1121. short_office_name = person.contest_office_name[0:30] if person.contest_office_name != "N" else ''
SailingSteve commented
@dale is this a different issue than the one you sent me by slack?
DaleMcGrew commented
Hi @SailingSteve, yes this is different.
SailingSteve commented
Does not reproduce, on my local or on the api server.