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

Ingestion error (and solution): UnicodeDecodeError: 'charmap' codec can't decode byte #25

Open
DanielThaumazo opened this issue Apr 16, 2023 · 0 comments

Comments

@DanielThaumazo
Copy link

I received this error on a Windows 11 setup while trying to ingest exported notion files.

If anyone else gets this, you can modify ingest.py:
with open(p) as f:
to
with codecs.open(p, encoding='utf-8') as f:

(or whichever encoding you need) to solve things.

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