'utf-8' codec can't decode byte 0xdd in position 55: invalid continuation byte
See original GitHub issueHello,
i try to run but come across error output
❯ miniplayer
Traceback (most recent call last):
File "/home/ahloi/.local/bin/miniplayer", line 455, in loop
self.handleKeypress()
File "/home/ahloi/.local/bin/miniplayer", line 263, in handleKeypress
if self.checkSongUpdate() == 1:
File "/home/ahloi/.local/bin/miniplayer", line 220, in checkSongUpdate
song = self.client.currentsong()
File "/usr/lib/python3.9/site-packages/mpd/base.py", line 435, in mpd_command
return wrapper(self, name, args, callback)
File "/usr/lib/python3.9/site-packages/mpd/base.py", line 498, in _execute
return retval()
File "/usr/lib/python3.9/site-packages/mpd/base.py", line 420, in command_callback
res = function(self, self._read_lines())
File "/usr/lib/python3.9/site-packages/mpd/base.py", line 360, in _parse_object
objs = list(self._parse_objects(lines))
File "/usr/lib/python3.9/site-packages/mpd/base.py", line 206, in _parse_objects
for key, value in self._parse_pairs(lines)
:
File "/usr/lib/python3.9/site-packages/mpd/base.py", line 201, in _parse_pairs
for line in lines:
File "/usr/lib/python3.9/site-packages/mpd/base.py", line 552, in _read_lines
line = self._read_line()
File "/usr/lib/python3.9/site-packages/mpd/base.py", line 534, in _read_line
line = self._rbfile.readline().decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 55: invalid continuation byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ahloi/.local/bin/miniplayer", line 487, in <module>
player.loop()
File "/home/ahloi/.local/bin/miniplayer", line 482, in loop
if error:
UnboundLocalError: local variable 'error' referenced before assignment
~
❯
this happened both build install (miniplayer-git on arch repo and PyPi) any help is appreciated, thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top 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 >UnicodeDecodeError: 'utf-8' codec can't decode byte in ...
The Python "UnicodeDecodeError: 'utf-8' codec can't decode byte in position: invalid continuation byte" occurs when we specify an incorrect encoding when ...
Read more >`UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 ...
Encoding error : UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 2: invalid continuation byte #976.
Read more >UnicodeDecodeError: 'utf-8' codec can't decode byte [...] in ...
In this blog post, we're solving UnicodeDecodeError: 'utf-8' codec can't decode byte […] in position […]: invalid continuation byte. Important, ...
Read more >How to resolve a UnicodeDecodeError for a CSV file
_string_box_utf8() UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcc in position 1: invalid continuation byte During handling of the above exception, ...
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 Free
Top 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

Hey it finally works!
Thanks for taking your time and helping out, i appreciate it! THANK YOU !!! i hope the projects reach to many people, i don’t know why mod remove it on reddit.
I will close the issue.
i see, ok i’ll be back in a second