Closed KAWATAAAAAA closed 1 year ago
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.9",
What is your node version? (run node --version) Answer: v16.17.0
node --version
What os are you using Answer: Mac Os
无法监听到 login 事件
login
必定出现,我使用正常流程创建一个机器人
const puppet = new PuppetPadplus() const robot = WechatyBuilder.build() robot.start()
token是这个
puppet_padplus_2c0c20b837d7df31
robot.on("login",() => { // 无法触发 })
正常接受到登录事件
无法接受到登录事件
@KAWATAAAAAA 把这个token对应的memory-card删除后试一下。
删除了再重新登录依然有问题,有些微信号登录后能正常触发login 事件,有些不能
问题无法复现,或很难复现
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.9",
What is your node version? (run
node --version
) Answer: v16.17.0What os are you using Answer: Mac Os
2. Describe the bug
无法监听到
login
事件3. To Reproduce
必定出现,我使用正常流程创建一个机器人
token是这个
puppet_padplus_2c0c20b837d7df31
4. Expected behavior
正常接受到登录事件
5. Actual behavior
无法接受到登录事件
6. Full Output Logs
Show Logs
```shell 12:07:48 SILL Puppet Config: WECHATY_LOG set level to silly 12:07:48 INFO Config registering process.on("unhandledRejection") for development/debug 12:07:48 VERB Config constructor() 12:07:48 VERB PoolifyMixin poolifyMixin(EventEmitter) 12:07:48 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin) 12:07:48 VERB ValidationMixin validationMixin(ContactMixin) 12:07:48 VERB ValidationMixin validationMixin(ContactImplBase) 12:07:48 VERB PoolifyMixin poolifyMixin(ContactImpl) 12:07:48 VERB ValidationMixin validationMixin(ContactSelfMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(FavoriteMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EventEmitter) 12:07:48 VERB ValidationMixin validationMixin(FriendshipMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(ImageMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(LocationMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(PostMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EventEmitter) 12:07:48 VERB ValidationMixin validationMixin(MessageMixin) 12:07:48 VERB ValidationMixin validationMixin(MessageImplBase) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(MiniProgramMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(MomentMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(MoneyMixin) 12:07:48 VERB PoolifyMixin poolifyMixin(EventEmitter) 12:07:48 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin) 12:07:48 VERB ValidationMixin validationMixin(RoomMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(RoomInvitationMixin) 12:07:48 VERB PoolifyMixin poolifyMixin(Object) 12:07:48 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin) 12:07:48 VERB ValidationMixin validationMixin(TagMixin) 12:07:48 VERB ValidationMixin validationMixin(TagImplBase) 12:07:48 VERB PoolifyMixin poolifyMixin(Object) 12:07:48 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin) 12:07:48 VERB ValidationMixin validationMixin(TagGroupMixin) 12:07:48 VERB ValidationMixin validationMixin(TagGroupImplBase) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(UrlLinkMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(DelayMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(ChannelMixin) 12:07:48 VERB WechatyGErrorMixin gErrorMixin(WechatySkeleton) 12:07:48 VERB WechatifyUserModuleMixin wechatifyUserModuleMixin(GErrorMixin) 12:07:48 VERB WechatyIoMixin ioMixin(WechatifyUserModuleMixin) 12:07:48 VERB WechatyPuppetMixin puppetMixin(IoMixin) 12:07:48 VERB WechatyLoginMixin loginMixin(PuppetMixin) 12:07:48 VERB WechatyMiscMixin miscMixin(LoginMixin) 12:07:48 VERB WechatyPluginMixin pluginMixin(MiscMixin) 12:07:48 VERB ValidationMixin validationMixin(WechatyBase) 12:07:48 VERB ValidationMixin validationMixin(WechatyImplBase) 12:07:49 VERB wechaty-puppet-service monkeyPatchMetadataFromHttp2Headers() 12:07:49 SILL Config PADPLUS_LOG set level to silly 12:07:50 SILL Puppet Config: WECHATY_LOG set level to silly 12:07:50 VERB Wechaty init() Raven disabled (import("raven") failed) [2023-04-01T12:07:50.649+08:00] [WARN] [61298] [] [wuyuweideMacBook-Pro.local] [172.21.144.49] [wechaty-robot] [] [] [] [] [Sequelize [ 'Executing (default): SELECT 1+1 AS result', { plain: true, raw: true, logging: [Function: logging], showWarnings: false, type: 'SELECT' } ]] ## '' ====数据库验证连接成功==== 12:07:50 VERB PuppetSkeleton constructor({"token":"puppet_padplus_2c0c20b837d7df31","endpoint":"52.82.24.73:50666","tls":{"disable":true}}) 12:07:50 VERB PuppetMemoryMixin constructor() 12:07:50 VERB MemoryCard constructor(undefined) 12:07:50 VERB PuppetLoginMixin constructor() 12:07:50 VERB PuppetCacheMixin constructor() 12:07:50 VERB PuppetCacheAgent constructor() 12:07:50 VERB PuppetContactMixin constructor() 12:07:50 VERB PuppetRoomMemberMixin constructor() 12:07:50 VERB PuppetRoomMixin constructor() 12:07:50 VERB PuppetFriendshipMixin constructor() 12:07:50 VERB PuppetTagMixin constructor() 12:07:50 VERB PuppetRoomInvitationMixin constructor() 12:07:50 VERB PuppetMessageMixin constructor() 12:07:50 VERB PuppetMiscMixin constructor() 12:07:50 VERB ServiceCtl7. Additional context