Coder Social home page Coder Social logo

开启debug模式想把前几天的数据同步到yobot内,已经切换yobot的档案,Traceback (most recent call last) about clanbattle_info HOT 8 CLOSED

MrRumpel avatar MrRumpel commented on September 23, 2024
开启debug模式想把前几天的数据同步到yobot内,已经切换yobot的档案,Traceback (most recent call last)

from clanbattle_info.

Comments (8)

MrRumpel avatar MrRumpel commented on September 23, 2024

关闭debug也会有这个报错,现在症状就是通过命令查询 cbi 日总表 6 数据对的,cbi boss状态 数据也对
但是cbi 状态

当前状态:运行中

出刀记录推送:关闭
索引:0

自动报刀:yobot嵌入模式
索引:0
状态:运行中

而且yobot内还是0条出刀记录,boss一周目状态

之前运行是正常的,索引都有值,并且推送刀的时候提示 [本条出刀记录距今已超过1天,无法上报至yobot.]

配置文件只改过 "debug": true
以及 "push_challenge": false,

from clanbattle_info.

MrRumpel avatar MrRumpel commented on September 23, 2024

cbi 重置推送进度
cbi 重置报刀进度
这两条命令有使用过

from clanbattle_info.

MrRumpel avatar MrRumpel commented on September 23, 2024

测试了下 "push_challenge": true,的时候

当前状态:运行中

出刀记录推送:开启
索引:526

自动报刀:yobot嵌入模式
索引:0
状态:运行中

yobot内依旧无数据

from clanbattle_info.

MrRumpel avatar MrRumpel commented on September 23, 2024

手动在yobot的数据库里造了几条数据,就可以正常自动报刀了,怀疑是 空数组 导致的数组越界

from clanbattle_info.

zyujs avatar zyujs commented on September 23, 2024

是的,确实是空数据造成的越界,我改一下

from clanbattle_info.

MrRumpel avatar MrRumpel commented on September 23, 2024

Traceback (most recent call last):
File "/ai/HoshinoBot/hoshino/modules/clanbattle_info/init.py", line 204, in group_process
await report_process(bot, group_id)
File "/ai/HoshinoBot/hoshino/modules/clanbattle_info/yobot.py", line 393, in report_process
await bot.send_group_msg(group_id=int(group_id), message = result)

还有这里

from clanbattle_info.

zyujs avatar zyujs commented on September 23, 2024

send_group_msg出错一般是因为风控发不出去消息

from clanbattle_info.

MrRumpel avatar MrRumpel commented on September 23, 2024

对的。因为同步进度的时候反复刷屏,所以把机器人禁言了。。。
禁言机器人后,yobot里的同步也停下来了。

from clanbattle_info.

Related Issues (15)

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.