hasadna / datacity-k8s

1 stars 0 forks source link

CSV -> XLSX conversion fails with an error #230

Open niryariv opened 3 years ago

niryariv commented 3 years ago
  1. Uploaded CSV file, views correctly here
  2. Attempting to upload to datastore via admin UI fails with a UnicodeEncodeError message: Screen Shot 2021-06-06 at 12 08 51
OriHoch commented 3 years ago

duplicate of #213 explanation in this comment: https://github.com/hasadna/datacity-k8s/issues/213#issuecomment-830843900

niryariv commented 3 years ago

@OriHoch Since this happens when we do the conversion (users are instructed to avoid uploading XLS files) and it seems to break on specific characters like " (other files with Hebrew headers convert ok) is it possible to add some code that removes these characters from the header row before starting the XLSX conversion? How much work do you estimate?

OriHoch commented 3 years ago

I don't see how it is related to XLSX conversion, this is the bug as I understand it:

reproduction steps

expected

actual

OriHoch commented 3 years ago

I estimate 5-10 hours to fix the bug I described in previous comment