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

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 0: invalid start byte #20

Open
igorir3 opened this issue Apr 8, 2024 · 1 comment

Comments

@igorir3
Copy link

igorir3 commented Apr 8, 2024

The library cannot decode this character: §

:|

@igorir3
Copy link
Author

igorir3 commented Apr 8, 2024

Traceback (most recent call last):
File "C:\Users\kiril\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\discord\ext\commands\core.py", line 235, in wrapped
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kiril\Desktop\BotАнкитирование\main.py", line 301, in minecraftlist
responce = RCON.command("list")
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kiril\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\mcrcon.py", line 129, in command
result = self._send(2, command)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kiril\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\mcrcon.py", line 122, in _send
in_data += in_data_partial.decode("utf8")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 0: invalid start byte

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