MrShandy

proxy usage

Feb 24th, 2020
828
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. C:\Users\MrSha\Desktop\TM бот\TG_AutoPoster-2.0-dev>python TG_AutoPoster.py
  2. Socket error: Connection closed unexpectedly
  3. Socket error: Connection closed unexpectedly
  4. Socket error: Connection closed unexpectedly
  5. Connection failed! Trying again...
  6. Socket error: Connection closed unexpectedly
  7. Socket error: Connection closed unexpectedly
  8. Socket error: Connection closed unexpectedly
  9. Connection failed! Trying again...
  10. Socket error: Connection closed unexpectedly
  11. Socket error: Connection closed unexpectedly
  12. Socket error: Connection closed unexpectedly
  13. Connection failed! Trying again...
  14. Socket error: Connection closed unexpectedly
  15. Socket error: Connection closed unexpectedly
  16. Socket error: Connection closed unexpectedly
  17. Connection failed! Trying again...
  18. Socket error: Connection closed unexpectedly
  19. Socket error: Connection closed unexpectedly
  20. Socket error: Connection closed unexpectedly
  21. Connection failed! Trying again...
  22. Socket error: Connection closed unexpectedly
  23. Socket error: Connection closed unexpectedly
  24. Socket error: Connection closed unexpectedly
  25. Connection failed! Trying again...
  26. Traceback (most recent call last):
  27. File "TG_AutoPoster.py", line 162, in <module>
  28. autoposter.run()
  29. File "TG_AutoPoster.py", line 115, in run
  30. with self.bot:
  31. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\client\client.py", line 222, in __enter__
  32. return self.start()
  33. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\client\client.py", line 825, in start
  34. is_authorized = self.connect()
  35. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\client\client.py", line 261, in connect
  36. self.load_session()
  37. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\client\client.py", line 1476, in load_session
  38. self.storage.auth_key(Auth(self, self.storage.dc_id()).create())
  39. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\session\auth.py", line 256, in create
  40. raise e
  41. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\session\auth.py", line 82, in create
  42. self.connection.connect()
  43. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\connection\connection.py", line 72, in connect
  44. raise TimeoutError
  45. TimeoutError
  46. Traceback (most recent call last):
  47. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 606, in _rmtree_unsafe
  48. os.unlink(fullname)
  49. PermissionError: [WinError 32] Процесс не может получить доступ к файлу, так как этот файл занят другим процессом: 'C:\\Users\\MrSha\\AppData\\Local\\Temp\\TG_AutoPosteraaeqf02q\\TG_AutoPoster.session'
  50.  
  51. During handling of the above exception, another exception occurred:
  52.  
  53. Traceback (most recent call last):
  54. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\tempfile.py", line 800, in onerror
  55. _os.unlink(path)
  56. PermissionError: [WinError 32] Процесс не может получить доступ к файлу, так как этот файл занят другим процессом: 'C:\\Users\\MrSha\\AppData\\Local\\Temp\\TG_AutoPosteraaeqf02q\\TG_AutoPoster.session'
  57.  
  58. During handling of the above exception, another exception occurred:
  59.  
  60. Traceback (most recent call last):
  61. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\weakref.py", line 642, in _exitfunc
  62. f()
  63. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\weakref.py", line 566, in __call__
  64. return info.func(*info.args, **(info.kwargs or {}))
  65. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\tempfile.py", line 815, in _cleanup
  66. cls._rmtree(name)
  67. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\tempfile.py", line 811, in _rmtree
  68. _shutil.rmtree(name, onerror=onerror)
  69. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 730, in rmtree
  70. return _rmtree_unsafe(path, onerror)
  71. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 608, in _rmtree_unsafe
  72. onerror(os.unlink, fullname, sys.exc_info())
  73. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\tempfile.py", line 803, in onerror
  74. cls._rmtree(path)
  75. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\tempfile.py", line 811, in _rmtree
  76. _shutil.rmtree(name, onerror=onerror)
  77. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 730, in rmtree
  78. return _rmtree_unsafe(path, onerror)
  79. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 589, in _rmtree_unsafe
  80. onerror(os.scandir, path, sys.exc_info())
  81. File "C:\Users\MrSha\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 586, in _rmtree_unsafe
  82. with os.scandir(path) as scandir_it:
  83. NotADirectoryError: [WinError 267] Неверно задано имя папки: 'C:\\Users\\MrSha\\AppData\\Local\\Temp\\TG_AutoPosteraaeqf02q\\TG_AutoPoster.session'
Advertisement
Add Comment
Please, Sign In to add comment