Comments (5)
Cool, it is great to hear that! Thank you for the letting me know about the bug.
from talkingheads.
I couldn't reproduce the error unfortunately, everything works as expected on my end. However, with commit 4fadd67 I add an extra step in case of failure on tag search. Please pull and install the latest version and let me know if the problem persists.
from talkingheads.
Thank you for your fast reply !
This is not working; I am still encountering this error.
art@afk chatgpt % python3 main.py
2023/07/10 19:15:18 INFO Verbose mode active
2023/07/10 19:15:18 INFO Loading undetected Chrome
2023/07/10 19:15:19 INFO patching driver executable /Users/art/Library/Application Support/undetected_chromedriver/undetected_chromedriver
2023/07/10 19:15:20 INFO Loaded Undetected chrome
2023/07/10 19:15:20 INFO Opening chatgpt
2023/07/10 19:15:21 INFO Element //button[//div[text()="Log in"]] has found
2023/07/10 19:15:21 INFO Clicked login button
2023/07/10 19:15:23 INFO Element username has found
2023/07/10 19:15:23 INFO Filled email box
2023/07/10 19:15:23 INFO Element //button[text()="Continue"] has found
2023/07/10 19:15:25 INFO Clicked continue button
2023/07/10 19:15:25 INFO Element password has found
2023/07/10 19:15:25 INFO Filled password box
2023/07/10 19:15:26 INFO Logged in
2023/07/10 19:15:32 INFO Info screen skipped
2023/07/10 19:15:32 INFO ChatGPT is ready to interact
2023/07/10 19:15:32 INFO Unable to locate text area tag. Switching to ID search
Traceback (most recent call last):
File "/Users/art/Dropbox/dev/chatgpt/main.py", line 7, in <module>
answer = chatgpt.interact("Hello, how are you today")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/chatgpt_automation/chatgpt_client.py", line 262, in interact
raise RuntimeError('Unable to find the text prompt area. Please raise an issue with verbose=True')
RuntimeError: Unable to find the text prompt area. Please raise an issue with verbose=True
from talkingheads.
That seems strange because I have the tags and everything the same in my end.
I can help you further but I need more information. Please follow the steps below:
- If you running it from a script, try to run it from jupyter notebook or an interactive environment to keep chrome open.
- Pass
headless=False
to the constructor and reproduce the error. - When you hit the error once more please right click the Text prompt area and click inspect. (see image below)
- Developer tools will show up on the screen. Please select the highligthed area and add here. (see image below)
Hopefully, I can address the issue after that.
from talkingheads.
Ok, after setting headless=False, I realized that there was a mistake in my credentials, now it's working great!
from talkingheads.
Related Issues (20)
- Nothing is happening HOT 2
- Does this support GPT-4 vision? HOT 2
- How to start a new chat? HOT 1
- [Question] How to change the chat? HOT 1
- [BUG] Error: Unable to find the text prompt area. Please raise an issue with verbose=True
- [BUG] Login Hugging Faces HOT 3
- [BUG] Error: list index out of range in ChatGPT
- [BUG] Answer includes ChatGPT name HOT 2
- [Bug] Only return ChatGPT HOT 5
- 2023/11/27 17:55:42 ERROR It is not possible to pass verification HOT 6
- Exception occurred: WebDriverException (Windows 10) HOT 2
- Cannot change to GPT-4
- Consider using find_chrome_executable from undetected_chromedriver in detect_chrome_version
- SyntaxError: invalid decimal literal HOT 3
- Update to Gemini HOT 2
- Unable to find the text prompt area. Please raise an issue with verbose=True HOT 6
- INFO:root:Waiting element username to appear. AttributeError: 'NoneType' object has no attribute 'send_keys'
- Fix ChatGPT and Claude HOT 5
- ChatGPT unable to locate TextArea HOT 3
- PiClient Not Working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from talkingheads.