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

Decode problems with json.loads #67

Open
chrisoraruf opened this issue Jul 14, 2021 · 2 comments
Open

Decode problems with json.loads #67

chrisoraruf opened this issue Jul 14, 2021 · 2 comments

Comments

@chrisoraruf
Copy link

I'm simply running "osc-blog.ipynb" inside "hello-ltr/notebooks/elasticsearch/osc-blog/" with jupyter notebook. I can run only the first cell, because in the second one, where is json.loads, comes

UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1780: character maps to

I read that with python 3.9 encoding argument has been removed, so I don't know how to resolve the problem.

@worleydl
Copy link
Contributor

Hello,

What version of Python are you currently on? I get lots of other problems with the project dependencies when I try to use 3.9.6 so we may just be incompatible with that version for the time being until the dependencies are updated. So far I haven't been able to replicate the specific error you ran into.

Regarding the docker issues you mentioned in relevance slack: If you edit the docker compose file to remove the solr service and edit your Docker for Desktop settings to allocate more RAM you may have more luck with that route.

@chrisoraruf
Copy link
Author

Hello,

I've created a virtual environment to run the program, and I also have some problems with the dependecies; anyway, in this environment I'm using python 3.9, I think 3.9.1.

Regarding docker, I'll try this way. I hope that I'll not need to use docker in my project.
Thanks

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

2 participants