Giter Site home page Giter Site logo

Comments (2)

RayWangQvQ avatar RayWangQvQ commented on May 13, 2024 1

明显时触发器里附加信息没填。。。

https://github.com/RayWangQvQ/BiliBiliToolPro/blob/0.0.7/tencentScf/README.md#323-%E6%89%8B%E5%8A%A8%E8%BF%90%E8%A1%8C%E6%B5%8B%E8%AF%95

附加信息里填Daily

from bilibilitoolpro.

JsiAng233 avatar JsiAng233 commented on May 13, 2024

确实我也是这个问题 用的腾讯云函数
日志:

START RequestId: 211deb7e-ad7e-450d-8019-76f9e97ca8eb

[step 1]初始化,开始加载函数文件 index.sh

成功加载index.sh函数文件

=>完成

[step 2]初始化完成,开始发送ready信号

Init Report RequestId: 211deb7e-ad7e-450d-8019-76f9e97ca8eb Coldstart: 539ms (PullCode: 450ms InitRuntime: 11ms InitFunction: 78ms) Memory: 64MB MemUsage: 3.47MB

=>完成

[step 3]开始循环监听处理事件调用

=>长轮询获取事件

=>监听到事件:{"Message":"","Time":"2022-03-23T00:00:00Z","TriggerName":"SCF-timer-1647915268","Type":"Timer"}

=>调用函数,开始处理事件

进入main_handler

{"Message":"","Time":"2022-03-23T00:00:00Z","TriggerName":"SCF-timer-1647915268","Type":"Timer"}

触发事件中的附加消息(任务编码)为:,

开始运行BiliBiliTool......

[00:00:02 INF] BiliBiliToolPro 开始运行...

2022-03-23T00:00:02.7554948Z File target /var/user/Logs/log20220323.txt was locked, attempting to open next in sequence (attempt 1)

2022-03-23T00:00:02.7647925Z File target /var/user/Logs/log20220323_001.txt was locked, attempting to open next in sequence (attempt 2)

2022-03-23T00:00:02.7649223Z File target /var/user/Logs/log20220323_002.txt was locked, attempting to open next in sequence (attempt 3)

[00:00:02 INF] 【目标任务】,

[00:00:02 INF] 【账号个数】1个

[00:00:02 INF] 随机休眠8分钟

[00:08:02 INF] 账号 1 :

[00:08:02 WRN] 异常:System.Collections.Generic.KeyNotFoundException: The given key ',' was not present in the dictionary.

at Ray.BiliBiliTool.Console.BiliBiliToolHostedService.DoTasks(String[] tasks) in /home/runner/work/BiliBiliToolPro/BiliBiliToolPro/src/Ray.BiliBiliTool.Console/BiliBiliToolHostedService.cs:line 146

at Ray.BiliBiliTool.Console.BiliBiliToolHostedService.StartAsync(CancellationToken cancellationToken) in /home/runner/work/BiliBiliToolPro/BiliBiliToolPro/src/Ray.BiliBiliTool.Console/BiliBiliToolHostedService.cs:line 67

[00:08:02 INF] 运行结束

函数结束

=>返回 {"Message":"","Time":"2022-03-23T00:00:00Z","TriggerName":"SCF-timer-1647915268","Type":"Timer"}

=>推送函数处理结果

Response RequestId:211deb7e-ad7e-450d-8019-76f9e97ca8eb RetMsg:{"Message":"","Time":"2022-03-23T00:00:00Z","TriggerName":"SCF-timer-1647915268","Type":"Timer"}

END RequestId:211deb7e-ad7e-450d-8019-76f9e97ca8eb

Report RequestId:211deb7e-ad7e-450d-8019-76f9e97ca8eb Duration:481476ms Memory:64MB MemUsage:30.150482MB

大佬 这个怎么解决啊

from bilibilitoolpro.

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.