Coder Social home page Coder Social logo

启动后报错 about chatgpt-mirai-qq-bot HOT 10 CLOSED

lss233 avatar lss233 commented on May 13, 2024
启动后报错

from chatgpt-mirai-qq-bot.

Comments (10)

lss233 avatar lss233 commented on May 13, 2024

重新初始化下看看,估计是初始化的时候有东西丢了

from chatgpt-mirai-qq-bot.

TaoXiaoBai avatar TaoXiaoBai commented on May 13, 2024

重新初始化下看看,估计是初始化的时候有东西丢了

重新初始化了好几次,还是一样的结果...

from chatgpt-mirai-qq-bot.

Micro5oft avatar Micro5oft commented on May 13, 2024

Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\bot.py", line 19, in
import chatbot
File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\chatbot.py", line 15, in
config = Config.parse_obj(json.loads(str(guessed_json)))
File "json_init_.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 353, in raw_decode
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 9 (char 50)

from chatgpt-mirai-qq-bot.

lss233 avatar lss233 commented on May 13, 2024

Traceback (most recent call last): File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\bot.py", line 19, in import chatbot File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\chatbot.py", line 15, in config = Config.parse_obj(json.loads(str(guessed_json))) File "json__init__.py", line 346, in loads File "json\decoder.py", line 337, in decode File "json\decoder.py", line 353, in raw_decode json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 9 (char 50)

config.json 有语法问题

from chatgpt-mirai-qq-bot.

Micro5oft avatar Micro5oft commented on May 13, 2024

Traceback (most recent call last): File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\bot.py", line 19, in import chatbot File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\chatbot.py", line 15, in config = Config.parse_obj(json.loads(str(guessed_json))) File "json__init__.py", line 346, in loads File "json\decoder.py", line 337, in decode File "json\decoder.py", line 353, in raw_decode json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 9 (char

Traceback (most recent call last): File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\bot.py", line 19, in import chatbot File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\chatbot.py", line 15, in config = Config.parse_obj(json.loads(str(guessed_json))) File "json__init__.py", line 346, in loads File "json\decoder.py", line 337, in decode File "json\decoder.py", line 353, in raw_decode json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 9 (char 50)

config.json 有语法问题

"session_token": 后边的token超大一串 换了好几行 不知道是不是这个的问题 token需要加引号吗”

from chatgpt-mirai-qq-bot.

lss233 avatar lss233 commented on May 13, 2024

Traceback (most recent call last): File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\bot.py", line 19, in import chatbot File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\chatbot.py", line 15, in config = Config.parse_obj(json.loads(str(guessed_json))) File "json__init__.py", line 346, in loads File "json\decoder.py", line 337, in decode File "json\decoder.py", line 353, in raw_decode json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 9 (char

Traceback (most recent call last): File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\bot.py", line 19, in import chatbot File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\chatbot.py", line 15, in config = Config.parse_obj(json.loads(str(guessed_json))) File "json__init__.py", line 346, in loads File "json\decoder.py", line 337, in decode File "json\decoder.py", line 353, in raw_decode json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 9 (char 50)

config.json 有语法问题

"session_token": 后边的token超大一串 换了好几行 不知道是不是这个的问题 token需要加引号吗”

那就改成不换行的。引号肯定要加……
https://jsonlint.com/
可以在这里验证你的 JSON

from chatgpt-mirai-qq-bot.

Micro5oft avatar Micro5oft commented on May 13, 2024

Traceback (most recent call last): File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\bot.py", line 19, in import chatbot File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\chatbot.py", line 15, in config = Config.parse_obj(json.loads(str(guessed_json))) File "json__init__.py", line 346, in loads File "json\decoder.py", line 337, in decode File "json\decoder.py", line 353, in raw_decode json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 9 (char

Traceback (most recent call last): File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\bot.py", line 19, in import chatbot File "C:\Users\Administrator\Desktop\quickstart-windows-amd64\chatgpt\chatbot.py", line 15, in config = Config.parse_obj(json.loads(str(guessed_json))) File "json__init__.py", line 346, in loads File "json\decoder.py", line 337, in decode File "json\decoder.py", line 353, in raw_decode json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 9 (char 50)

config.json 有语法问题

"session_token": 后边的token超大一串 换了好几行 不知道是不是这个的问题 token需要加引号吗”

那就改成不换行的。引号肯定要加…… https://jsonlint.com/ 可以在这里验证你的 JSON

搞定了,原来是填自己qq的时候把逗号弄丢了。感谢美女!

from chatgpt-mirai-qq-bot.

Micro5oft avatar Micro5oft commented on May 13, 2024

为什么会启动chromium浏览器的无痕模式呢?我用谷歌账号登录chatgpt,提示浏览器不安全,被拒绝登录了

from chatgpt-mirai-qq-bot.

Micro5oft avatar Micro5oft commented on May 13, 2024

为什么会启动chromium浏览器的无痕模式呢?我用谷歌账号登录chatgpt,提示浏览器不安全,被拒绝登录了

服务器是winserver 2022

from chatgpt-mirai-qq-bot.

lss233 avatar lss233 commented on May 13, 2024

请更新至最新版,然后重试。如果还有问题,请重新打开此 issue。

from chatgpt-mirai-qq-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.