Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\MrSha\Desktop\TM бот\TG_AutoPoster-2.0-dev>python TG_AutoPoster.py
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Connection failed! Trying again...
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Connection failed! Trying again...
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Connection failed! Trying again...
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Connection failed! Trying again...
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Connection failed! Trying again...
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Socket error: Connection closed unexpectedly
- Connection failed! Trying again...
- Traceback (most recent call last):
- File "TG_AutoPoster.py", line 162, in <module>
- autoposter.run()
- File "TG_AutoPoster.py", line 115, in run
- with self.bot:
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\client\client.py", line 222, in __enter__
- return self.start()
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\client\client.py", line 825, in start
- is_authorized = self.connect()
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\client\client.py", line 261, in connect
- self.load_session()
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\client\client.py", line 1476, in load_session
- self.storage.auth_key(Auth(self, self.storage.dc_id()).create())
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\session\auth.py", line 256, in create
- raise e
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\session\auth.py", line 82, in create
- self.connection.connect()
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\connection\connection.py", line 72, in connect
- raise TimeoutError
- TimeoutError
- Traceback (most recent call last):
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 606, in _rmtree_unsafe
- os.unlink(fullname)
- PermissionError: [WinError 32] Процесс не может получить доступ к файлу, так как этот файл занят другим процессом: 'C:\\Users\\MrSha\\AppData\\Local\\Temp\\TG_AutoPosteraaeqf02q\\TG_AutoPoster.session'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\tempfile.py", line 800, in onerror
- _os.unlink(path)
- PermissionError: [WinError 32] Процесс не может получить доступ к файлу, так как этот файл занят другим процессом: 'C:\\Users\\MrSha\\AppData\\Local\\Temp\\TG_AutoPosteraaeqf02q\\TG_AutoPoster.session'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\weakref.py", line 642, in _exitfunc
- f()
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\weakref.py", line 566, in __call__
- return info.func(*info.args, **(info.kwargs or {}))
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\tempfile.py", line 815, in _cleanup
- cls._rmtree(name)
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\tempfile.py", line 811, in _rmtree
- _shutil.rmtree(name, onerror=onerror)
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 730, in rmtree
- return _rmtree_unsafe(path, onerror)
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 608, in _rmtree_unsafe
- onerror(os.unlink, fullname, sys.exc_info())
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\tempfile.py", line 803, in onerror
- cls._rmtree(path)
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\tempfile.py", line 811, in _rmtree
- _shutil.rmtree(name, onerror=onerror)
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 730, in rmtree
- return _rmtree_unsafe(path, onerror)
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 589, in _rmtree_unsafe
- onerror(os.scandir, path, sys.exc_info())
- File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 586, in _rmtree_unsafe
- with os.scandir(path) as scandir_it:
- NotADirectoryError: [WinError 267] Неверно задано имя папки: 'C:\\Users\\MrSha\\AppData\\Local\\Temp\\TG_AutoPosteraaeqf02q\\TG_AutoPoster.session'
Advertisement
Add Comment
Please, Sign In to add comment