This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 256
in Docker , api = ChatGPT(session_token) not work anymore. #125
Comments
I have this error too |
HelloWorldWinning
changed the title
in Docker , WebDriverWait(self.driver, 10).until_not has error
in Docker , api = ChatGPT(session_token) not work anymore.
Feb 5, 2023
I am also getting this error on my remote Ubuntu 22.04.1 headless server.
|
I try to install chrome=110 in dockerfile ,but i got another error.
|
Same here... |
options.add_argument("--headless") ?????? not verified. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
in docker run:
api = ChatGPT(session_token)
throw error below: (exact same session_token works well in debian , )
sadly.
I cannot use Docker anymore.
i had dozens of docker images,that functioned well before today(2023-02-06 ).
=========
File "", line 1, in
File "/usr/local/lib/python3.11/site-packages/pyChatGPT/pyChatGPT.py", line 126, in init
self.__init_browser()
File "/usr/local/lib/python3.11/site-packages/pyChatGPT/pyChatGPT.py", line 223, in __init_browser
self.__ensure_cf()
File "/usr/local/lib/python3.11/site-packages/pyChatGPT/pyChatGPT.py", line 244, in __ensure_cf
WebDriverWait(self.driver, 10).until_not(
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/support/wait.py", line 110, in until_not
value = method(self._driver)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in _predicate
return driver.find_element(*locator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 861, in find_element
return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 444, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 249, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Runtime.evaluate threw exception: SyntaxError: missing ) after argument list
(Session info: chrome=109.0.5414.119)
The text was updated successfully, but these errors were encountered: