EdgeGPT icon indicating copy to clipboard operation
EdgeGPT copied to clipboard

TypeError: expected str, bytes or os.PathLike object, not NoneType

Open IbrahimLakhzine opened this issue 1 year ago • 0 comments

Initializing... Traceback (most recent call last): File "C:\Users\ibrahim.l\Desktop\MicroEdgeGPT.py", line 61, in asyncio.run(main()) File "C:\Users\ibrahim.l\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\ibrahim.l\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete return future.result() File "C:\Users\ibrahim.l\Desktop\MicroEdgeGPT.py", line 33, in main bot = Chatbot() File "C:\Users\ibrahim.l\AppData\Local\Programs\Python\Python310\lib\site-packages\EdgeGPT.py", line 213, in init self.chat_hub: ChatHub = ChatHub(Conversation()) File "C:\Users\ibrahim.l\AppData\Local\Programs\Python\Python310\lib\site-packages\EdgeGPT.py", line 113, in init open(os.environ.get("COOKIE_FILE"), "r", encoding="utf-8").read() TypeError: expected str, bytes or os.PathLike object, not NoneType

IbrahimLakhzine avatar Feb 15 '23 13:02 IbrahimLakhzine