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

Whenever one replicates the development setup in local an 'UnicodeEncodeError' occurs. #92

Open
Abinash-bit opened this issue Oct 6, 2024 · 0 comments · May be fixed by #93
Open

Whenever one replicates the development setup in local an 'UnicodeEncodeError' occurs. #92

Abinash-bit opened this issue Oct 6, 2024 · 0 comments · May be fixed by #93

Comments

@Abinash-bit
Copy link

Steps to replicate the issue.

Step 1:

git clone https://github.com/OpenAstronomy/Universe_OA.git

Step 2:

cd Universe_OA

Step 3:

pip install -r requirements.txt

Step 4:

rm -rf .doit.db.* && rm -rf cache && nikola clean && nikola forget && rm -rf __pycache__ && rm -rf output

Step 5:

python grab.py

Issue Description:

Traceback (most recent call last): File "C:\Users\user\Desktop\Universe_OA\grab.py", line 128, in <module> students_times[student] = grab_student(students_times[student], File "C:\Users\user\Desktop\Universe_OA\grab.py", line 101, in grab_student post.write(TEMPLATE.format(title=title_post, File "C:\Users\user\miniconda3\envs\aligner\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u0393' in position 1193: character maps to <undefined>

@Abinash-bit Abinash-bit linked a pull request Oct 6, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant