Midjourney-Telegram-Wrapper icon indicating copy to clipboard operation
Midjourney-Telegram-Wrapper copied to clipboard

Bro I need help, pls...

Open Juranik opened this issue 1 year ago • 6 comments

whats wrong?

C:\Users\Administrator\AppData\Local\Programs\Python\Python310\python.exe C:\Users\Administrator\Desktop\Midjourney-Telegram-Wrapper-main\main.py Traceback (most recent call last): File "C:\Users\Administrator\Desktop\Midjourney-Telegram-Wrapper-main\main.py", line 659, in driver = create_chrome_driver(user_data_dir) File "C:\Users\Administrator\Desktop\Midjourney-Telegram-Wrapper-main\main.py", line 106, in create_chrome_driver driver = webdriver.Chrome(options=options) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in init super().init( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 56, in init super().init( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 206, in init self.start_session(capabilities) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 290, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 345, in execute self.error_handler.check_response(response) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn't exist Stacktrace: GetHandleVerifier [0x00007FF73B7B52A2+57122] (No symbol) [0x00007FF73B72EA92] (No symbol) [0x00007FF73B5FE3AB] (No symbol) [0x00007FF73B629878] (No symbol) [0x00007FF73B625005] (No symbol) [0x00007FF73B622FE1] (No symbol) [0x00007FF73B65EA4F] (No symbol) [0x00007FF73B65E5B0] (No symbol) [0x00007FF73B656DB3] (No symbol) [0x00007FF73B62D2B1] (No symbol) [0x00007FF73B62E494] GetHandleVerifier [0x00007FF73BA5EF82+2849794] GetHandleVerifier [0x00007FF73BAB1D24+3189156] GetHandleVerifier [0x00007FF73BAAACAF+3160367] GetHandleVerifier [0x00007FF73B846D06+653702] (No symbol) [0x00007FF73B73A208] (No symbol) [0x00007FF73B7362C4] (No symbol) [0x00007FF73B7363F6] (No symbol) [0x00007FF73B7267A3] BaseThreadInitThunk [0x00007FF9C54C7604+20] RtlUserThreadStart [0x00007FF9C6B626A1+33]

Process finished with exit code 1

When running this code, for some reason, the chrome browser opens, and when I wrote to the bot / start, this error appears after some time

and there was also an error, but I fixed it, just created a file in the folder 'user_times.json'

EDITED: THIS ERROR APPEAR ANYWAY FOR SOME TIME BROWSER CLOSING, and appears this error

C:\Users\Administrator\AppData\Local\Programs\Python\Python310\python.exe C:\Users\Administrator\Desktop\Midjourney-Telegram-Wrapper-main\main.py Traceback (most recent call last): File "C:\Users\Administrator\Desktop\Midjourney-Telegram-Wrapper-main\main.py", line 659, in driver = create_chrome_driver(user_data_dir) File "C:\Users\Administrator\Desktop\Midjourney-Telegram-Wrapper-main\main.py", line 106, in create_chrome_driver driver = webdriver.Chrome(options=options) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in init super().init( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 56, in init super().init( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 206, in init self.start_session(capabilities) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 290, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 345, in execute self.error_handler.check_response(response) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn't exist Stacktrace: GetHandleVerifier [0x00007FF73B7B52A2+57122] (No symbol) [0x00007FF73B72EA92] (No symbol) [0x00007FF73B5FE3AB] (No symbol) [0x00007FF73B629878] (No symbol) [0x00007FF73B625005] (No symbol) [0x00007FF73B622FE1] (No symbol) [0x00007FF73B65EA4F] (No symbol) [0x00007FF73B65E5B0] (No symbol) [0x00007FF73B656DB3] (No symbol) [0x00007FF73B62D2B1] (No symbol) [0x00007FF73B62E494] GetHandleVerifier [0x00007FF73BA5EF82+2849794] GetHandleVerifier [0x00007FF73BAB1D24+3189156] GetHandleVerifier [0x00007FF73BAAACAF+3160367] GetHandleVerifier [0x00007FF73B846D06+653702] (No symbol) [0x00007FF73B73A208] (No symbol) [0x00007FF73B7362C4] (No symbol) [0x00007FF73B7363F6] (No symbol) [0x00007FF73B7267A3] BaseThreadInitThunk [0x00007FF9C54C7604+20] RtlUserThreadStart [0x00007FF9C6B626A1+33]

anyway if I wouldnt write /start command

Juranik avatar Aug 28 '23 10:08 Juranik