mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-01-15 05:33:26 +01:00
Unable to import: Required field date is missing / Importing UTF-8-BOM #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eitchtee on GitHub (Feb 6, 2025).
Originally posted by @andremohrmann in #41
@eitchtee commented on GitHub (Feb 6, 2025):
@andremohrmann try importing this file, and let me know if you get the same error
andremohrmann.csv
It has the same content you shared with me in the other issue. But in my instance it worked:
If this file doesn't work as well we have to start looking at other reasons this might be happening. If it works, this means your .csv file has something that isn't present on the example file, which should narrow things down. This could be some extra line(s) before the header, wrong encoding, an extra space in the heading, etc.
@andremohrmann commented on GitHub (Feb 7, 2025):
Then this seems to be an encoding error of the file I get from my bank. Edit: It's not UTF-8, it's UTF-8 with BOM...
I tried importing only the lines I shared with you and it worked.
Then I opened the original csv and just copied and pasted the full content into an empty csv file.
With that file, importing works flawlessly.
Probably nothing you can do in this case, I guess.
But if you want I can share the full csv I get from my bank with you.
Otherwise, I will just have to get used to the workaround and automate the "conversion" myself ;)
Edit: Setting
encoding: utf-8-sigin the import yaml works.Thanks for the help! Much appreciated.
@eitchtee commented on GitHub (Feb 7, 2025):
One of those cases where it's close enough to not raise an error, but different enough to not work.
I was going to tell you to try that, glad you figured it out.