Closed KAWATAAAAAA closed 1 year ago
@KAWATAAAAAA 该问题已经定位,是由于多个队列消费事件顺序异常导致状态没有正确同步,已经安排修复。预计今天晚上修复上线。
@KAWATAAAAAA 该问题已经定位,是由于多个队列消费事件顺序异常导致状态没有正确同步,已经安排修复。预计今天晚上修复上线。
谢谢
已更新,麻烦再测试下这个问题。
如果仍有问题,请提供对应信息。如果问题被解决,麻烦关闭该issue。
已更新,麻烦再测试下这个问题。
如果仍有问题,请提供对应信息。如果问题被解决,麻烦关闭该issue。
仍然存在这个问题,我是否需要升级相应依赖?
今天反馈后,没有复现该问题, @KAWATAAAAAA 后续再关注下。
reproduce step:
full silly log :
10:28:56 SILL GRPC_GATEWAY keepHeartbeat()
10:28:56 SILL GRPC_GATEWAY GRPC Request ApiType: HEARTBEAT
10:28:56 SILL GRPC_GATEWAY throttleQueue emit heartbeat.
10:28:56 VERB Watchdog <Puppet> feed({"data":"842b2a00-6b7c-4665-99e8-9a8976e7a17c"})
10:28:56 VERB Watchdog <Puppet> timerLeft() = 19943
10:28:56 VERB Watchdog <Puppet> stopTimer()
10:28:56 VERB Watchdog <Puppet> startTimer()
10:28:56 SILL PadplusManager setContactAndRoomData()
10:28:57 SILL PadplusManager setContactAndRoomData() initialize contact and room data.
10:28:58 SILL ==P==A==D==P==L==U==S==<GRPC DATA>==P==A==D==P==L==U==S==
10:28:58 SILL GRPC_GATEWAY responseType: ACCOUNT_LOGOUT, data : {"code":200,"logoutCode":-2023,"uin":1103245599,"message":"你已退出微信","mqType":1100}
10:28:58 SILL ==P==A==D==P==L==U==S==<GRPC DATA>==P==A==D==P==L==U==S==
10:28:58 INFO PuppetPadplus logout(你已退出微信, true)
10:28:58 VERB PuppetLoginMixin logout(你已退出微信)
10:28:58 SILL PuppetLoginMixin get currentUserId()
10:28:58 SILL StateSwitch <WechatyReady> inactive() is true
10:28:58 VERB StateSwitch <WechatyReady> inactive(true) <- (true)
10:28:58 SILL Contact find({"id":"wxid_00j4zrd47usu12"})
10:28:58 SILL PuppetLoginMixin get currentUserId()
10:28:58 SILL Contact ready() @ Puppet<PuppetPadplus>(./remember-me/puppet_padplus_803f4f5edcc8f6a7) with id="wxid_00j4zrd47usu12"
10:28:58 SILL Contact ready() isReady() true
10:28:58 SILL PuppetLoginMixin get currentUserId()
10:28:58 INFO -- logout, reason: 你已退出微信
你已退出微信
退出了登录
退出了登录
10:30:54 VERB ContactSelf name()
10:30:54 INFO PuppetPadplus stop()
10:30:54 INFO PuppetPadplus logout(logout in wechaty, true)
10:30:54 VERB PuppetLoginMixin logout(logout in wechaty)
10:30:54 VERB PuppetLoginMixin logout() isLoggedIn === false, do nothing
10:30:54 SILL PadplusManager stop()
10:30:54 SILL GRPC_GATEWAY stop()
10:30:54 SILL GRPC_GATEWAY GRPC Request ApiType: CLOSE
10:30:54 SILL GRPC_GATEWAY GRPC Request ApiType: CLOSE catch error.
10:30:54 VERB Watchdog <Puppet> startTimer() setTimeout() after 60000
10:30:54 WARN PuppetWatchdogAgent start() reset() reason: {"data":"842b2a00-6b7c-4665-99e8-9a8976e7a17c","timeoutMilliseconds":60000}
10:30:54 ERR Config ###########################
10:30:54 ERR Config Wechaty uncaughtException: Error: WatchdogAgent reset: lastFood: "{"data":"842b2a00-6b7c-4665-99e8-9a8976e7a17c","timeoutMilliseconds":60000}"
at Watchdog.reset (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet/dist/cjs/src/agents/watchdog-agent.js:48:39)
at Watchdog.emit (node:events:513:28)
at Timeout._onTimeout (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/watchdog/dist/cjs/src/watchdog.js:84:18)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7) uncaughtException
10:30:54 ERR Config ###########################
10:30:54 SILL GRPC_GATEWAY keepHeartbeat()
10:30:54 SILL GRPC_GATEWAY GRPC Request ApiType: HEARTBEAT
10:30:54 SILL GRPC_GATEWAY GRPC Request ApiType: HEARTBEAT catch error.
[2023-03-29T10:30:54.542+08:00] [WARN] [79916] [] [wuyuweideMacBook-Pro.local] [172.21.144.49] [wechaty-robot] [] [] [] [] [Sequelize [
"Executing (default): SELECT `wxid`, `token`, `createdAt`, `updatedAt` FROM `robot` AS `robot` WHERE `robot`.`wxid` = 'wxid_00j4zrd47usu12';",
{
plain: true,
raw: false,
logging: [Function: logging],
showWarnings: false,
where: "`robot`.`wxid` = 'wxid_00j4zrd47usu12'",
hooks: true,
rejectOnEmpty: false,
originalAttributes: [ 'wxid', 'token', 'createdAt', 'updatedAt' ],
attributes: [ 'wxid', 'token', 'createdAt', 'updatedAt' ],
tableNames: [ 'robot' ],
type: 'SELECT',
model: robot
}
]] ## ''
[2023-03-29T10:30:54.555+08:00] [WARN] [79916] [] [wuyuweideMacBook-Pro.local] [172.21.144.49] [wechaty-robot] [] [] [] [] [Sequelize [
"Executing (default): DELETE FROM `robot` WHERE `wxid` = 'wxid_00j4zrd47usu12'",
{
plain: false,
raw: false,
logging: [Function: logging],
showWarnings: false,
where: { wxid: 'wxid_00j4zrd47usu12' },
hooks: true,
individualHooks: false,
force: false,
cascade: false,
restartIdentity: false,
type: 'BULKDELETE',
model: robot,
limit: null
}
]] ## ''
10:30:59 VERB CacheManager release()
10:30:59 VERB CacheManager releaseCache()
10:30:59 SILL CacheManager releaseCache() closing caches ...
10:30:59 SILL CacheManager releaseCache() cache closed.
10:30:59 VERB PadplusManager stop() finished
10:30:59 INFO PuppetPadplus stop() stopped
10:30:59 INFO PuppetPadplus onStart()
10:30:59 VERB PadplusManager on(scan, function) registered
10:30:59 VERB PadplusManager on(login, function) registered
10:30:59 VERB PadplusManager on(message, function) registered
10:30:59 VERB PadplusManager on(ready, function) registered
10:30:59 VERB PadplusManager on(reset, function) registered
10:30:59 VERB PadplusManager on(heartbeat, function) registered
10:30:59 VERB PadplusManager on(logout, function) registered
10:30:59 VERB PadplusManager on(room-leave, function) registered
10:30:59 VERB PadplusManager on(error, function) registered
10:30:59 SILL PadplusManager start()
10:30:59 SILL GRPC_GATEWAY init()
10:30:59 SILL GRPC_GATEWAY initSelf()
10:30:59 SILL GRPC_GATEWAY initGrpcGateway()
10:30:59 ERR GRPC_GATEWAY can not get heartbeat from grpc server
10:30:59 VERB MemoryCard <puppet> get(WECHATY_PUPPET_PADPLUS)
10:31:00 SILL PadplusUser initInstance()
10:31:00 SILL RequestClient request()
10:31:00 SILL DedupeApi dedupe() no need to dedupe api INIT.
10:31:00 SILL GRPC_GATEWAY GRPC Request ApiType: INIT
10:31:00 SILL ==P==A==D==P==L==U==S==<GRPC DATA>==P==A==D==P==L==U==S==
10:31:00 SILL GRPC_GATEWAY responseType: AUTO_LOGIN, data : {"uin":1103245599,"online":true}
10:31:00 SILL ==P==A==D==P==L==U==S==<GRPC DATA>==P==A==D==P==L==U==S==
10:31:00 SILL GRPC_GATEWAY throttleQueue emit heartbeat.
10:31:00 VERB Watchdog <Puppet> feed({"data":""})
10:31:00 VERB Watchdog <Puppet> timerLeft() = -64091
10:31:00 VERB Watchdog <Puppet> stopTimer()
10:31:00 VERB Watchdog <Puppet> stopTimer() first run(or after sleep)
10:31:00 VERB Watchdog <Puppet> startTimer()
10:31:00 SILL PadplusManager setContactAndRoomData()
10:31:00 VERB PadplusManager setContactAndRoomData() can not proceed due to no cache.
10:31:00 SILL PadplusManager user name : { uin: 1103245599, online: true }
10:31:00 ERR Config ###########################
10:31:00 ERR Config Wechaty unhandledRejection: Error:
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
at PadplusManager.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:394:47)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:4:12)
at GrpcEventEmitter.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:274:53)
at GrpcEventEmitter.emit (node:events:513:28)
at GrpcGateway.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:488:41)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:8:71 [object Promise]
10:31:00 ERR Config ###########################
10:31:00 ERR Config process.on(unhandledRejection) promise.catch(
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
)
Config Error:
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
at PadplusManager.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:394:47)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:4:12)
at GrpcEventEmitter.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:274:53)
at GrpcEventEmitter.emit (node:events:513:28)
at GrpcGateway.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:488:41)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:8:71
(node:79916) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 3)
(Use `node --trace-warnings ...` to show where the warning was created)
10:31:01 SILL GRPC_GATEWAY GRPC Request ApiType: INIT catch error.
10:31:06 INFO PadplusManager ready to restart due to receive event: reconnect
10:31:06 SILL PadplusManager start()
10:31:06 SILL GRPC_GATEWAY init()
10:31:06 SILL GRPC_GATEWAY stop()
10:31:06 SILL GRPC_GATEWAY GRPC Request ApiType: CLOSE
10:31:06 SILL GRPC_GATEWAY GRPC Request ApiType: CLOSE catch error.
10:31:06 ERR PadplusUser can not get callback result of INIT
10:31:06 VERB MemoryCard <puppet> get(WECHATY_PUPPET_PADPLUS)
10:31:11 SILL GRPC_GATEWAY initSelf()
10:31:11 SILL GRPC_GATEWAY initGrpcGateway()
10:31:11 VERB MemoryCard <puppet> get(WECHATY_PUPPET_PADPLUS)
10:31:12 SILL PadplusUser initInstance()
10:31:12 SILL RequestClient request()
10:31:12 SILL DedupeApi dedupe() no need to dedupe api INIT.
10:31:12 SILL GRPC_GATEWAY GRPC Request ApiType: INIT
10:31:12 SILL ==P==A==D==P==L==U==S==<GRPC DATA>==P==A==D==P==L==U==S==
10:31:12 SILL GRPC_GATEWAY responseType: AUTO_LOGIN, data : {"uin":1103245599,"online":true}
10:31:12 SILL ==P==A==D==P==L==U==S==<GRPC DATA>==P==A==D==P==L==U==S==
10:31:12 SILL GRPC_GATEWAY throttleQueue emit heartbeat.
10:31:12 VERB Watchdog <Puppet> feed({"data":""})
10:31:12 VERB Watchdog <Puppet> timerLeft() = 47898
10:31:12 VERB Watchdog <Puppet> stopTimer()
10:31:12 VERB Watchdog <Puppet> startTimer()
10:31:12 SILL PadplusManager setContactAndRoomData()
10:31:12 VERB PadplusManager setContactAndRoomData() can not proceed due to no cache.
10:31:12 SILL PadplusManager user name : { uin: 1103245599, online: true }
10:31:12 ERR Config ###########################
10:31:12 ERR Config Wechaty unhandledRejection: Error:
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
at PadplusManager.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:394:47)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:4:12)
at GrpcEventEmitter.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:274:53)
at GrpcEventEmitter.emit (node:events:513:28)
at GrpcGateway.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:488:41)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:8:71 [object Promise]
10:31:12 ERR Config ###########################
10:31:12 ERR Config process.on(unhandledRejection) promise.catch(
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
)
Config Error:
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
at PadplusManager.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:394:47)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:4:12)
at GrpcEventEmitter.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:274:53)
at GrpcEventEmitter.emit (node:events:513:28)
at GrpcGateway.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:488:41)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:8:71
(node:79916) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 5)
10:31:13 SILL GRPC_GATEWAY GRPC Request ApiType: INIT catch error.
10:31:18 INFO PadplusManager ready to restart due to receive event: reconnect
10:31:18 SILL PadplusManager start()
10:31:18 SILL GRPC_GATEWAY init()
10:31:18 SILL GRPC_GATEWAY stop()
10:31:18 SILL GRPC_GATEWAY GRPC Request ApiType: CLOSE
10:31:18 SILL GRPC_GATEWAY GRPC Request ApiType: CLOSE catch error.
10:31:18 ERR PadplusUser can not get callback result of INIT
10:31:18 VERB MemoryCard <puppet> get(WECHATY_PUPPET_PADPLUS)
10:31:23 SILL GRPC_GATEWAY initSelf()
10:31:23 SILL GRPC_GATEWAY initGrpcGateway()
10:31:23 VERB MemoryCard <puppet> get(WECHATY_PUPPET_PADPLUS)
10:31:24 SILL PadplusUser initInstance()
10:31:24 SILL RequestClient request()
10:31:24 SILL DedupeApi dedupe() no need to dedupe api INIT.
10:31:24 SILL GRPC_GATEWAY GRPC Request ApiType: INIT
10:31:24 SILL ==P==A==D==P==L==U==S==<GRPC DATA>==P==A==D==P==L==U==S==
10:31:24 SILL GRPC_GATEWAY responseType: AUTO_LOGIN, data : {"uin":1103245599,"online":true}
10:31:24 SILL ==P==A==D==P==L==U==S==<GRPC DATA>==P==A==D==P==L==U==S==
10:31:24 SILL GRPC_GATEWAY throttleQueue emit heartbeat.
10:31:24 VERB Watchdog <Puppet> feed({"data":""})
10:31:24 VERB Watchdog <Puppet> timerLeft() = 47943
10:31:24 VERB Watchdog <Puppet> stopTimer()
10:31:24 VERB Watchdog <Puppet> startTimer()
10:31:24 SILL PadplusManager setContactAndRoomData()
10:31:24 VERB PadplusManager setContactAndRoomData() can not proceed due to no cache.
10:31:24 SILL PadplusManager user name : { uin: 1103245599, online: true }
10:31:24 ERR Config ###########################
10:31:24 ERR Config Wechaty unhandledRejection: Error:
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
at PadplusManager.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:394:47)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:4:12)
at GrpcEventEmitter.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:274:53)
at GrpcEventEmitter.emit (node:events:513:28)
at GrpcGateway.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:488:41)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:8:71 [object Promise]
10:31:24 ERR Config ###########################
10:31:24 ERR Config process.on(unhandledRejection) promise.catch(
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
)
Config Error:
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
at PadplusManager.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:394:47)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:4:12)
at GrpcEventEmitter.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:274:53)
at GrpcEventEmitter.emit (node:events:513:28)
at GrpcGateway.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:488:41)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:8:71
(node:79916) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 7)
10:31:25 SILL GRPC_GATEWAY GRPC Request ApiType: INIT catch error.
10:31:30 INFO PadplusManager ready to restart due to receive event: reconnect
10:31:30 SILL PadplusManager start()
10:31:30 SILL GRPC_GATEWAY init()
10:31:30 SILL GRPC_GATEWAY stop()
10:31:30 SILL GRPC_GATEWAY GRPC Request ApiType: CLOSE
10:31:30 SILL GRPC_GATEWAY GRPC Request ApiType: CLOSE catch error.
10:31:30 ERR PadplusUser can not get callback result of INIT
10:31:30 VERB MemoryCard <puppet> get(WECHATY_PUPPET_PADPLUS)
10:31:35 SILL GRPC_GATEWAY initSelf()
10:31:35 SILL GRPC_GATEWAY initGrpcGateway()
10:31:35 VERB MemoryCard <puppet> get(WECHATY_PUPPET_PADPLUS)
10:31:36 SILL PadplusUser initInstance()
10:31:36 SILL RequestClient request()
10:31:36 SILL DedupeApi dedupe() no need to dedupe api INIT.
10:31:36 SILL GRPC_GATEWAY GRPC Request ApiType: INIT
10:31:36 SILL ==P==A==D==P==L==U==S==<GRPC DATA>==P==A==D==P==L==U==S==
10:31:36 SILL GRPC_GATEWAY responseType: AUTO_LOGIN, data : {"uin":1103245599,"online":true}
10:31:36 SILL ==P==A==D==P==L==U==S==<GRPC DATA>==P==A==D==P==L==U==S==
10:31:36 SILL GRPC_GATEWAY throttleQueue emit heartbeat.
10:31:36 VERB Watchdog <Puppet> feed({"data":""})
10:31:36 VERB Watchdog <Puppet> timerLeft() = 47926
10:31:36 VERB Watchdog <Puppet> stopTimer()
10:31:36 VERB Watchdog <Puppet> startTimer()
10:31:36 SILL PadplusManager setContactAndRoomData()
10:31:36 VERB PadplusManager setContactAndRoomData() can not proceed due to no cache.
10:31:36 SILL PadplusManager user name : { uin: 1103245599, online: true }
10:31:36 ERR Config ###########################
10:31:36 ERR Config Wechaty unhandledRejection: Error:
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
at PadplusManager.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:394:47)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:4:12)
at GrpcEventEmitter.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:274:53)
at GrpcEventEmitter.emit (node:events:513:28)
at GrpcGateway.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:488:41)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:8:71 [object Promise]
10:31:36 ERR Config ###########################
10:31:36 ERR Config process.on(unhandledRejection) promise.catch(
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
)
Config Error:
===========================================================================================
WARNING!!! Something wrong with your memory-card file!
Please remove it and restart the bot, then it will be ok.
This default path of memory-card file in the root dir of your project,
Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
MemoryCard文件出现问题,请删除后重启bot,即可正常使用。
MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json
===========================================================================================
at PadplusManager.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:394:47)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:4:12)
at GrpcEventEmitter.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/padplus-manager/padplus-manager.js:274:53)
at GrpcEventEmitter.emit (node:events:513:28)
at GrpcGateway.<anonymous> (/Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:488:41)
at Generator.next (<anonymous>)
at /Users/wuyuwei/MyWork/wechaty-robot/node_modules/@juzi/wechaty-puppet-padplus/dist/src/server-manager/grpc-gateway.js:8:71
(node:79916) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 9)
10:31:37 SILL GRPC_GATEWAY GRPC Request ApiType: INIT catch error.
10:31:42 INFO PadplusManager ready to restart due to receive event: reconnect
10:31:42 SILL PadplusManager start()
10:31:42 SILL GRPC_GATEWAY init()
10:31:42 SILL GRPC_GATEWAY stop()
10:31:42 SILL GRPC_GATEWAY GRPC Request ApiType: CLOSE
10:31:42 SILL GRPC_GATEWAY GRPC Request ApiType: CLOSE catch error.
10:31:42 ERR PadplusUser can not get callback result of INIT
10:31:42 VERB MemoryCard <puppet> get(WECHATY_PUPPET_PADPLUS)
1. Versions
What is your wechaty version? Answer: "@juzi/wechaty": "1.0.47"
What is your wechaty-puppet-padplus version? Answer: "@juzi/wechaty-puppet-padplus": "1.2.4",
What is your node version? (run
node --version
) Answer: v16.17.0What os are you using Answer: Mac Os
2. Describe the bug
控制台不停的报错,显示MemoryCard文件出现问题,请删除后重启bot,即可正常使用
3. To Reproduce
步骤
WECHATY_LOG = silly
手机微信app点击退出登录
控制台显示 logout 与 stop
控制台不停的报错,显示MemoryCard文件出现问题,请删除后重启bot,即可正常使用
4. Expected behavior
不应该无限提示,应该在stop后就不做操作了,这样会导致重新登录的弹出又出现
5. Actual behavior
控制台不停的报错
6. Full Output Logs
Show Logs
```shell This default path of memory-card file in the root dir of your project, Path like: /Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json MemoryCard文件出现问题,请删除后重启bot,即可正常使用。 MemoryCard文件默认在项目根目录下,路径示例:/Users/wuyuwei/MyWork/wechaty-robot/your-name-memory-card.json =========================================================================================== at PadplusManager.7. Additional context