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

[BUG] exec have issue with non standard encodings (ex session file) #325

Open
EDM115 opened this issue Jul 29, 2024 · 0 comments
Open

[BUG] exec have issue with non standard encodings (ex session file) #325

EDM115 opened this issue Jul 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working Priority B

Comments

@EDM115
Copy link
Owner

EDM115 commented Jul 29, 2024

2024-07-28 17:32:43,361 - INFO - unzipper - asyncio_0 - ext_err :
2024-07-29 11:47:06,401 - ERROR - pyrogram.dispatcher - MainThread - 'utf-8' codec can't decode byte 0xba in position 106: invalid start byte
Traceback (most recent call last):
  File "/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.12/site-packages/pyromod/listen/listen.py", line 93, in resolve_listener
    await self.user_callback(client, message, *args)
  File "/app/unzipper/modules/commands.py", line 730, in exec_command
    o = stdout.decode()
        ^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xba in position 106: invalid start byte
2024-07-29 11:47:32,518 - ERROR - pyrogram.dispatcher - MainThread - 'utf-8' codec can't decode byte 0x84 in position 13: invalid start byte
Traceback (most recent call last):
  File "/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.12/site-packages/pyromod/listen/listen.py", line 93, in resolve_listener
    await self.user_callback(client, message, *args)
  File "/app/unzipper/modules/commands.py", line 730, in exec_command
    o = stdout.decode()
        ^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x84 in position 13: invalid start byte
2024-07-29 11:49:17,890 - ERROR - pyrogram.dispatcher - MainThread - 'utf-8' codec can't decode byte 0x84 in position 13: invalid start byte
Traceback (most recent call last):
  File "/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.12/site-packages/pyromod/listen/listen.py", line 93, in resolve_listener
    await self.user_callback(client, message, *args)
  File "/app/unzipper/modules/commands.py", line 730, in exec_command
    o = stdout.decode()
        ^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x84 in position 13: invalid start byte
@EDM115 EDM115 added bug Something isn't working Priority B labels Jul 29, 2024
@EDM115 EDM115 self-assigned this Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority B
Projects
None yet
Development

No branches or pull requests

1 participant