MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接
    1. 主页
    2. SkilledExtractor
    3. 帖子
    S
    • 资料
    • 关注 0
    • 粉丝 0
    • 主题 0
    • 帖子 3
    • 最佳 0
    • 有争议的 0
    • 群组 0

    SkilledExtractor 发布的帖子

    • RE: ChatLearning——让bot学会你的群聊

      原来是我把http的端口填成ws的了,麻了

      发布在 插件发布
      S
      SkilledExtractor
    • RE: ChatLearning——让bot学会你的群聊

      在关闭了websocket的验证后报错变成这个了

      Traceback (most recent call last):
        File "ChatClass.py", line 393, in run
          self._target(*self._args, **self._kwargs)
        File "Chatmain.py", line 1965, in getcommand_chat
          message = simuse.Fetch_Message(data)
        File "simuse.py", line 88, in Fetch_Message
          res = json.loads(res.text)
        File "json\__init__.py", line 346, in loads
        File "json\decoder.py", line 337, in decode
        File "json\decoder.py", line 355, in raw_decode
      json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
      
      
      ChatLearning ->
      
      发布在 插件发布
      S
      SkilledExtractor
    • RE: ChatLearning——让bot学会你的群聊

      启动项目就报错,下面是报错代码。

      Traceback (most recent call last):
        File "Chatmain.py", line 2202, in <module>
          data = simuse.Get_Session(data)
        File "simuse.py", line 64, in Get_Session
          res = json.loads(res.text)
        File "json\__init__.py", line 346, in loads
        File "json\decoder.py", line 337, in decode
        File "json\decoder.py", line 355, in raw_decode
      json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
      [1792] Failed to execute script 'Chatmain' due to unhandled exception!
      

      因为没怎么学Python,所以根本不会修。麻烦作者大大帮我看看是什么问题。
      Python版本是3.11.4我下载时的最新版,系统为Windows Server 2016

      发布在 插件发布
      S
      SkilledExtractor
    • 1 / 1