question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

please log in to openai chat and accept the cookies box

See original GitHub issue
~/dev/chatgpt-wrapper (main) $ chatGPT testing testing 123
Starting ... Please log in to OpenAI Chat and accept the cookies box
Press enter when you're done

not sure where the cookies box is… so when i hit enter

Done
Asking...
Traceback (most recent call last):
  File "/usr/local/bin/chatGPT", line 33, in <module>
    sys.exit(load_entry_point('chatGPT==0.1.0', 'console_scripts', 'chatgpt')())
  File "/Users/user/dev/chatgpt-wrapper/chatgpt_wrapper/chatgpt.py", line 119, in main
    print(Fore.GREEN + chatbot.ask(" ".join(sys.argv[1:])))
  File "/Users/user/dev/chatgpt-wrapper/chatgpt_wrapper/chatgpt.py", line 95, in ask
    self.__send_message(message)
  File "/Users/user/dev/chatgpt-wrapper/chatgpt_wrapper/chatgpt.py", line 67, in __send_message
    box.click()
AttributeError: 'NoneType' object has no attribute 'click'

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pjahoorkarcommented, Dec 6, 2022

You have to first initiate using chatgpt install from the command line before calling the chatGPT function. This opens up a browser (assuming playwright is installed correctly) which will ask you to login and click some cookie, disclosure info that OpenAI needs before you can start using the chat. Once you are done with the disclosure boxes, you go back to the command line and click ‘Enter’ to see a 'You: ’ prompt.

0reactions
mmabroukcommented, Dec 7, 2022

I am going to close this issue, since it seems the original issue can be solved by running install. I plan to add auto installation soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't log in to Chat - Feedback - OpenAI API Community Forum
I am stuck in an infinite login loop when I try to access ChatGPT. How do I get into this thing?
Read more >
OpenAI invites everyone to test ChatGPT, a new AI-powered ...
OpenAI invites everyone to test ChatGPT, a new AI-powered chatbot—with amusing results. ChatGPT aims to produce accurate and harmless talk—but ...
Read more >
ChatGPT: how to use the amazing AI chatbot that went viral
The ChatGPT chatbot by OpenAI is now available for testing as a free ... You have the option of choosing an easy login...
Read more >
What Is ChatGPT the OpenAI Chatbot Everyone Is Talking to?
A new AI-powered chatbot has an answer — but is it the right answer? ... Go to the sign-up page; With a Google...
Read more >
An AI chatbot went viral. Some say it's better than Google
ChatGPT, which launched this week, is a quirky chatbot developed by artificial intelligence company OpenAI. On its website, OpenAI states ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found