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
convert_ipynb UnicodeEncodeError #1880
Comments
The issue can be easily solved, in fact, I have already a solution for it so I could make a PR if you need to. The solution is just as simple as change the code line 29 to include the with open(str(i + 1) + ".md", "w", encoding='utf-8') as f: |
Hello @albertovilla, thank you! Let's make sure it works on the CI too: we use that script almost exclusively there. By the way, if I may ask, how come you found yourself building our documentation locally? |
Hi @ZanSara initially I planned to correct the issue with the documentation but before doing the commit I tried to rebuild the documentation, that's when I saw that bug. |
Describe the bug
When executing
python convert_ipynb.py
to generate the Markdown documentation the converter halts with an error.Error message
Expected behavior
The Markdown documentation should be generated without errors.
Additional context
Executing on Windows 10 with a newly created conda Python 3.9 environment; installation of the packages with the recommended command
pip install --editable .
To Reproduce
git clone https://github.com/deepset-ai/haystack.git cd haystack pip install --editable .
convert_ipynb.py
file i.e.docs\_src\tutorials\tutorials\
python convert_ipynb.py
FAQ Check
System:
The text was updated successfully, but these errors were encountered: