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

ValueError: invalid literal for int() with base 10: 'default' #409

Open
jarofgreen opened this issue Jan 7, 2025 · 0 comments
Open

ValueError: invalid literal for int() with base 10: 'default' #409

jarofgreen opened this issue Jan 7, 2025 · 0 comments

Comments

@jarofgreen
Copy link

Describe the bug

Python Crash.

  File "/home/iatidatastoreclassic/iatidatastoreclassic/iati_datastore/iatilib/frontend/serialize/csv.py", line 202, in description
    return select_description_type(activity.description_all_values['default'], desc_type_name)
  File "/home/iatidatastoreclassic/iatidatastoreclassic/iati_datastore/iatilib/frontend/serialize/csv.py", line 189, in select_description_type
    return description_most_general(all_values)
  File "/home/iatidatastoreclassic/iatidatastoreclassic/iati_datastore/iatilib/frontend/serialize/csv.py", line 179, in description_most_general
    elif int(desc_type) < int(out):
ValueError: invalid literal for int() with base 10: 'default'

To Reproduce

Download a XLSX of everything

jarofgreen added a commit to jarofgreen/iati-datastore that referenced this issue Jan 7, 2025
jarofgreen added a commit to jarofgreen/iati-datastore that referenced this issue Jan 7, 2025
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