UnicodeEncodeError: 'charmap' codec can't encode characters in position 63-65: character maps to <undefined> 'ab_channel' is not recognized as an internal or external command
See original GitHub issueBug report
I ran:
ytmdl https://www.youtube.com/watch?v=JWqmJh7JNS4&ab_channel=DOVA-SYNDROMEYouTubeOfficial
Version Info
- Ytmdl version: 2021.1.14.post1
- Youtube-dl version: 2021.2.22
How Ytmdl was installed?
python setuptools
Console Log
Traceback (most recent call last):
File "D:\Users\aech\AppData\Local\Programs\Python\Python36\Scripts\ytmdl", line 4, in <module>
__import__('pkg_resources').run_script('ytmdl==2021.1.14', 'ytmdl')
File "D:\Users\aech\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", line 658, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "D:\Users\aech\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", line 1445, in run_script
exec(script_code, namespace, namespace)
File "d:\users\aech\appdata\local\programs\python\python36\lib\site-packages\ytmdl-2021.1.14-py3.6.egg\EGG-INFO\scripts\ytmdl", line 456, in <module>
File "d:\users\aech\appdata\local\programs\python\python36\lib\site-packages\ytmdl-2021.1.14-py3.6.egg\EGG-INFO\scripts\ytmdl", line 451, in extract_data
File "d:\users\aech\appdata\local\programs\python\python36\lib\site-packages\ytmdl-2021.1.14-py3.6.egg\EGG-INFO\scripts\ytmdl", line 234, in main
File "d:\users\aech\appdata\local\programs\python\python36\lib\site-packages\ytmdl-2021.1.14-py3.6.egg\ytmdl\core.py", line 109, in download
File "d:\users\aech\appdata\local\programs\python\python36\lib\site-packages\simber\logger.py", line 338, in info
self._write(message, args, LEVEL_NUMBER)
File "d:\users\aech\appdata\local\programs\python\python36\lib\site-packages\simber\logger.py", line 198, in _write
self.name
File "d:\users\aech\appdata\local\programs\python\python36\lib\site-packages\simber\stream.py", line 134, in write
print(_formatted_out, **params)
File "D:\Users\aech\AppData\Local\Programs\Python\Python36\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 63-65: character maps to <undefined>
'ab_channel' is not recognized as an internal or external command,
operable program or batch file.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
UnicodeEncodeError: 'charmap' codec can't encode characters
I was getting the same UnicodeEncodeError when saving scraped web content to a file. To fix it I replaced this code:
Read more >'charmap' codec can't encode character... - YouTube
SOLVED #PYTHON #ERROR UnicodeEncodeError : ' charmap ' codec can't encode character '\u266b' in position 157411: character maps to undefined ...
Read more >UnicodeEncodeError: 'charmap' codec can't encode characters
PYTHON : UnicodeEncodeError : ' charmap ' codec can't encode characters [ Gift : Animated Search Engine ...
Read more >my fix for "UnicodeEncodeError charmap codec can't encode ...
When print() encounters unicode characters it doesn't know how to handle, it will throw an exception such as: UnicodeEncodeError: 'charmap' codec…
Read more >'charmap' codec can't encode characters in position 0-3 ...
unicodeencodeerror : 'charmap' codec can't encode characters in position 0-3: character maps to <undefined>. Add Answer | View In TPC Matrix.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
python: Python 3.6.7
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs for another 7 days. Thank you for your contributions.