Zero6992 / chatGPT-discord-bot

Integrate ChatGPT into your own discord bot
GNU General Public License v2.0
2.67k stars 704 forks source link

TypeError: expected str, bytes or os.PathLike object, not NoneType [Error] #50

Closed birdup000 closed 1 year ago

birdup000 commented 1 year ago

Screenshot 2022-12-12 170033

After I fill out config.json

and run the main.py with "python3 main.py" I get error I also install the dependencies with "pip install -r requirements.txt"

Zero6992 commented 1 year ago

What revChatGPT you used? It's should be revChatGPT==0.0.a42

refer to #281

Zero6992 commented 1 year ago

Do not fill cf-clearance and user-agent in version 0.0.a42

birdup000 commented 1 year ago

What revChatGPT you used? It's should be revChatGPT==0.0.a42

refer to #281

Yes I am using that version of revChatGPT

birdup000 commented 1 year ago

Do not fill cf-clearance and user-agent in version 0.0.a42

I'll try this thanks

birdup000 commented 1 year ago

Do not fill cf-clearance and user-agent in version 0.0.a42

I tried and I'm getting error still this is what it says ss

birdup000 commented 1 year ago

I found the fix to the issue I didn't have Google Chrome installed so it wasn't opening it for authentication.