Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

json.decoder.JSONDecodeError: Expecting value #2

Closed
QiuZiXian opened this issue Feb 10, 2023 · 5 comments
Closed

json.decoder.JSONDecodeError: Expecting value #2

QiuZiXian opened this issue Feb 10, 2023 · 5 comments

Comments

@QiuZiXian
Copy link

QiuZiXian commented Feb 10, 2023

I'm in the waiting list of bing chat. Can use this project?
image

env: win10+python39
I do follow the readme,run developer code crash into bug:

        Repo: github.com/acheong08/EdgeGPT
        By: Antonio Cheong

        !help for help

        Type !exit to exit
        Enter twice to send message
    
Initializing...
Traceback (most recent call last):
  File "D:\Users\dell\anaconda3\envs\python39\lib\site-packages\requests\models.py", line 971, in json
    return complexjson.loads(self.text, **kwargs)
  File "D:\Users\dell\anaconda3\envs\python39\lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "D:\Users\dell\anaconda3\envs\python39\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "D:\Users\dell\anaconda3\envs\python39\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)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\e\project\shida\work\chat-group\chatgpt-test\bing_web\bingai.py", line 43, in <module>
    asyncio.run(main())
  File "D:\Users\dell\anaconda3\envs\python39\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "D:\Users\dell\anaconda3\envs\python39\lib\asyncio\base_events.py", line 647, in run_until_complete
    return future.result()
  File "E:\e\project\shida\work\chat-group\chatgpt-test\bing_web\bingai.py", line 10, in main
    await bot.start()
  File "D:\Users\dell\anaconda3\envs\python39\lib\site-packages\EdgeGPT.py", line 210, in start
    self.conversation = Conversation()
  File "D:\Users\dell\anaconda3\envs\python39\lib\site-packages\EdgeGPT.py", line 129, in __init__
    self.struct = response.json()
  File "D:\Users\dell\anaconda3\envs\python39\lib\site-packages\requests\models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Whether the alternate of bing-chat has no authority

@acheong08
Copy link
Owner

You haven't been accepted into the waitlist

@QiuZiXian
Copy link
Author

You haven't been accepted into the waitlist

thanks

@mikegreen7892003
Copy link

You haven't been accepted into the waitlist

What is it like to be on the waitlist?

@acheong08
Copy link
Owner

You need to apply at https://bing.com/chat

They will email you if you get in

@acheong08
Copy link
Owner

You can now run without cookies

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants