SoraRoseous / ChatSydney-react

帮黑暗大佬暂时维护下,已支持图像生成(需cookie)和图像识别,不过图像识别结果仅在当次对话有效。可以进下面的链接体验一下(建议使用自己的cookie,不填默认是用我的,容易上限),这个地址可能会变动。
https://80c9-38-207-143-112.ngrok-free.app
The Unlicense
81 stars 34 forks source link

我在一个新电脑上部署出现了如下报错…… #18

Open lioensky opened 11 months ago

lioensky commented 11 months ago

Traceback (most recent call last): File "C:\MyFiles\App\ChatSydney-react-react\EdgeGPT\conversation.py", line 121, in create self.struct = response.json() ^^^^^^^^^^^^^^^ File "C:\Users\xueji\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\httpx_models.py", line 756, in json return jsonlib.loads(self.text, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64qbz5n2kfra8p0\Lib\json\init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64qbz5n2kfra8p0\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "C:\MyFiles\App\ChatSydney-react-react\main.py", line 33, in sydney_process_message chatbot = await Chatbot.create(cookies=cookies, proxy=args.proxy, imgid=imgid) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\MyFiles\App\ChatSydney-react-react\EdgeGPT\EdgeGPT.py", line 43, in create await Conversation.create(self.proxy, cookies=cookies, imgid=imgid), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\MyFiles\App\ChatSydney-react-react\EdgeGPT\conversation.py", line 125, in create raise Exception( Exception: Authentication failed. You have not been accepted into the beta.

SoraRoseous commented 11 months ago

检查一下账号是否能在官网正常使用,如果可以的话就更新一下cookie再试试