question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0

See original GitHub issue
Traceback (most recent call last):
  File "d:\python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "d:\python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\Python38\Scripts\auto-editor.exe\__main__.py", line 7, in <module>
  File "d:\python38\lib\site-packages\auto_editor\__main__.py", line 402, in main
    main_loop(input_list, ffmpeg, args, log)
  File "d:\python38\lib\site-packages\auto_editor\__main__.py", line 379, in main_loop
    inp = FileInfo(input_path, ffmpeg)
  File "d:\python38\lib\site-packages\auto_editor\ffwrapper.py", line 139, in __init__
    info = get_stdout([ffmpeg.path, '-hide_banner', '-i', path])
  File "d:\python38\lib\site-packages\auto_editor\utils\func.py", line 13, in get_stdout
    return stdout.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 878: invalid continuation byte

Video (10 sec) https://mega.nz/file/eUdFhSDY#3KmpCpZk6dOZKkByd8LRdPUlEzE4am7iGdHwPJhIgfM

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
WyattBluecommented, Mar 29, 2022

Closing since the commit passed and it fixed the problem on my end. I’ll push this to a new release soon.

1reaction
WyattBluecommented, Mar 29, 2022

It looks like the video’s description has an invalid unicode character. All that needs to be changed is for auto-editor to throw that character away.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'utf-8' codec can't decode byte - Stack Overflow
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 183: invalid continuation byte. So this is how I fixed it.
Read more >
Python3 Fix→ UnicodeDecodeError: 'utf-8' codec can't decode ...
Python3 Fix→ UnicodeDecodeError: 'utf-8' codec can't decode byte in position. INTRO. I am in the middle of importing some D&B Business data ...
Read more >
UnicodeDecodeError utf-8 codec can t decode byte in position ...
While I importing the file it shows UnicodeDecodeError: "utf-8" codec can"t decode byte 0xa0 in position ... as pd a ...
Read more >
'utf-8' codec can't decode byte 0xd0 in position 0
Get this error: "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 0: invalid continuation byte: when trying to compare 2 ...
Read more >
'utf8' codec can't decode byte 0xa5 in position 0: invalid start ...
Introduction · Often, while reading the input files, you might encounter an UnicodeDecodeError. · Thus, the error means that the byte 0xa05 at...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found