Just testing ahead of our event:
I created a csv of projects, and uploaded it to gavel in the noted format. I got:
Uh oh.
Internal server error. Click the button below and go back. Refreshing the page from there usually fixes things.
Inspecting the logs, there is
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 222
It's a smart quote due to me editing the file in a windows environment. I resaved the file in utf-8, and the upload worked as expected.
This particular error could be solved by reading the file with encoding='cp1252'.
Just testing ahead of our event:
I created a csv of projects, and uploaded it to gavel in the noted format. I got:
Inspecting the logs, there is
It's a smart quote due to me editing the file in a windows environment. I resaved the file in utf-8, and the upload worked as expected.
This particular error could be solved by reading the file with
encoding='cp1252'.