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

UnicodeEncodeError [RESOLVED]; RuntimeError: Event loop is closed [OPEN] #30

Open
bc2014 opened this issue Oct 25, 2020 · 0 comments
Open

Comments

@bc2014
Copy link

bc2014 commented Oct 25, 2020

Upon running the scipt, I got 2 errors:

  1. UnicodeEncodeError: 'charmap' codec can't encode character <some-character> in position <some-position>: character maps to <undefined>
    SOLUTION: add following parameter to output_file.write_text(...): encoding="utf-8"

  2. RuntimeError: Event loop is closed
    Did anyone resolve this error?

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