------------------------…

------------------------…



------------------------------------------------------------------------------------------------------------------------
555 process_update dispatcher.py
> handler.handle_update(update, self, check, context)

---

122 handle_update handlers.py
> return self.callback(update, context)

---

454 info userinfo.py
> os.remove(f"{user.id}.jpg")

PermissionError:
13
The process cannot access the file because it is being used by another process
5029276265.jpg

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 5029276265
Chat: 🧠🥛 𖥦 𝐷𝑎𝑟𝑘 𝑃𝑎𝑟𝑎𝑑𝑖𝑠𝑒.𝖼𖦹𝗆 ִֶָ 𔘓𓂃 ִֶָ -1001138822175
Callback data: None
Message: /info

Full Traceback: Traceback (most recent call last):
File "E:\SaitamaRobot\env\lib\site-packages\telegram\ext\dispatcher.py", line 555, in process_update
handler.handle_update(update, self, check, context)
File "E:\Mob\SaitamaRobot\modules\helper_funcs\handlers.py", line 122, in handle_update
return self.callback(update, context)
File "E:\Mob\SaitamaRobot\modules\userinfo.py", line 454, in info
os.remove(f"{user.id}.jpg")
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '5029276265.jpg'

Report Page