You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I cant run the code becuase of below error ,
Whats the problem ?
Thanks
(savebot) C:\Save-Restricted-Bot>python main.py
Traceback (most recent call last):
File "main.py", line 22, in
acc.start()
File "C:\Save-Restricted-Bot\savebot\lib\site-packages\pyrogram\sync.py", line
66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "C:\python\lib\asyncio\base_events.py", line 616, in run_until_complete
return future.result()
File "C:\Save-Restricted-Bot\savebot\lib\site-packages\pyrogram\methods\utilit
ies\start.py", line 58, in start
is_authorized = await self.connect()
File "C:\Save-Restricted-Bot\savebot\lib\site-packages\pyrogram\methods\auth\c
onnect.py", line 40, in connect
await self.load_session()
File "C:\Save-Restricted-Bot\savebot\lib\site-packages\pyrogram\client.py", li
ne 616, in load_session
await self.storage.open()
File "C:\Save-Restricted-Bot\savebot\lib\site-packages\pyrogram\storage\memory
_storage.py", line 59, in open
dc_id, api_id, test_mode, auth_key, user_id, is_bot = struct.unpack(
struct.error: unpack requires a buffer of 271 bytes
The text was updated successfully, but these errors were encountered:
Hi
I cant run the code becuase of below error ,
Whats the problem ?
Thanks
(savebot) C:\Save-Restricted-Bot>python main.py
Traceback (most recent call last):
File "main.py", line 22, in
acc.start()
File "C:\Save-Restricted-Bot\savebot\lib\site-packages\pyrogram\sync.py", line
66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "C:\python\lib\asyncio\base_events.py", line 616, in run_until_complete
return future.result()
File "C:\Save-Restricted-Bot\savebot\lib\site-packages\pyrogram\methods\utilit
ies\start.py", line 58, in start
is_authorized = await self.connect()
File "C:\Save-Restricted-Bot\savebot\lib\site-packages\pyrogram\methods\auth\c
onnect.py", line 40, in connect
await self.load_session()
File "C:\Save-Restricted-Bot\savebot\lib\site-packages\pyrogram\client.py", li
ne 616, in load_session
await self.storage.open()
File "C:\Save-Restricted-Bot\savebot\lib\site-packages\pyrogram\storage\memory
_storage.py", line 59, in open
dc_id, api_id, test_mode, auth_key, user_id, is_bot = struct.unpack(
struct.error: unpack requires a buffer of 271 bytes
The text was updated successfully, but these errors were encountered: