Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not login at new version of ChatGPT [BUG] #18

Closed
isMMa opened this issue Jul 1, 2023 · 7 comments
Closed

Not login at new version of ChatGPT [BUG] #18

isMMa opened this issue Jul 1, 2023 · 7 comments

Comments

@isMMa
Copy link

isMMa commented Jul 1, 2023

The scripts send:

Traceback (most recent call last):
  File "code.py", line 14, in <module>
    chatgpt = ChatGPT_Client(OPENAI_EMAIL, OPENAI_PASSWORD)
  File "/usr/local/lib/python3.8/site-packages/chatgpt_automation/chatgpt_client.py", line 72, in __init__
    self.login(username, password)
  File "/usr/local/lib/python3.8/site-packages/chatgpt_automation/chatgpt_client.py", line 146, in login
    continue_button.click()
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 346, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
  (Session info: chrome=114.0.5735.133)

ChatGPT change the main login page:

imagen

@ugorsahin
Copy link
Owner

ugorsahin commented Jul 1, 2023

Kudos mate for the report, with commit cb0214f, you should be able to continue as expected. Let me know if everything is working on your end so I can close the issue.

@isMMa
Copy link
Author

isMMa commented Jul 1, 2023

Thanks for the job. It is a great project.

@isMMa
Copy link
Author

isMMa commented Jul 1, 2023

I think it keeps failing, it keeps giving me this error, after reinstalling in my Docker

Traceback (most recent call last):
  File "code.py", line 14, in <module>
    chatgpt = ChatGPT_Client(OPENAI_EMAIL, OPENAI_PASSWORD)
  File "/usr/local/lib/python3.8/site-packages/chatgpt_automation/chatgpt_client.py", line 72, in __init__
    self.login(username, password)
  File "/usr/local/lib/python3.8/site-packages/chatgpt_automation/chatgpt_client.py", line 146, in login
    continue_button.click()
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 346, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
  (Session info: chrome=114.0.5735.133)

My Docker:

# syntax=docker/dockerfile:1

FROM python:3.8

RUN apt-get update -y
RUN apt install python3-pip -y

RUN pip install python-dotenv
RUN pip install undetected-chromedriver

RUN cd /tmp/
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN apt install ./google-chrome-stable_current_amd64.deb -y


RUN pip install git+https://github.com/ugorsahin/ChatGPT_Automation

CMD tail -f /dev/null

@ugorsahin
Copy link
Owner

I am afraid you are using cached version, try to pass --no-cache-dir to pip install

@hugothomel
Copy link

hugothomel commented Jul 3, 2023

Hey there! Thanks for everything you're doing, it's really been a great help on some prototype projects :)

I'm encountering the same issue as isMMa. Reinstalled with the recommended argument but to no avail. I checked the package script, it is up to date but the issue persists :(

EDIT: I recommend just not using pip and cloning the repo inside your directory, it works for me now :)

@isMMa
Copy link
Author

isMMa commented Jul 3, 2023

Thanks, now its works. You can use my Dockerfile to your project if you need. Great Job!

@ugorsahin
Copy link
Owner

I'm encountering the same issue as isMMa. Reinstalled with the recommended argument but to no avail. I checked the package script, it is up to date but the issue persists :(

@Karajan421 I don't know how it fails in your environment but it shouldn't be the same error anymore. Feel free to open an issue with a screenshot or exception information I would be happy to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants