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

Can't print output to file #5

Open
aanze opened this issue Sep 20, 2023 · 0 comments
Open

Can't print output to file #5

aanze opened this issue Sep 20, 2023 · 0 comments

Comments

@aanze
Copy link

aanze commented Sep 20, 2023

I can't print the results directly into a file which would be more practical than copy the terminal output as:
acestream_search > streams.m3u

will output the following error:
Traceback (most recent call last): File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Python310\Scripts\acestream_search.exe\__main__.py", line 7, in <module> File "C:\Python310\lib\site-packages\acestream_search\acestream_search.py", line 335, in cli print(chunk) File "C:\Python310\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 8298-8301: character maps to <undefined>

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