simonw / big-local-datasette

Publishing a Datasette of open projects from biglocalnews.org
https://biglocal.datasettes.com/
2 stars 0 forks source link

TypeError: argument of type 'NoneType' is not iterable #24

Closed simonw closed 4 years ago

simonw commented 4 years ago

https://github.com/simonw/big-local-datasette/runs/700498993?check_suite_focus=true

wisconsin_warn_raw 58236
  File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/sqlite_utils/db.py", line 1360, in validate_column_names
    "[" not in column and "]" not in column
TypeError: argument of type 'NoneType' is not iterable

I got this once on my laptop but then didn't get it the second time, which is odd.

simonw commented 4 years ago

I'm not at all happy with this fix - I'm not convinced this code addresses the right issue because I wasn't able to reliably duplicate it on my laptop. But I want to get the build unbroken.