wechaty / puppet-wechat4u

Wechat4u Puppet for Wechaty
https://www.npmjs.com/package/wechaty-puppet-wechat4u
Apache License 2.0
114 stars 38 forks source link

contact id error #2

Open huan opened 6 years ago

huan commented 6 years ago
19:08:13 SILL PuppetWechat4u initHookEvents() wechat4u.on(contacts-updated) contacts.length=1
19:08:13 VERB Message static create(2604000500415576337)
19:08:13 SILL Accessory #7<Message> constructor()
19:08:13 VERB Message constructor(2604000500415576337) for class Message
19:08:13 VERB Message ready()
19:08:13 SILL Puppet messagePayloadCache(2604000500415576337) cache MISS
19:08:13 VERB Puppet messagePayload(2604000500415576337)
19:08:13 SILL Puppet messagePayloadCache(2604000500415576337) cache MISS
19:08:13 VERB PuppetWechat4u messageRawPayload(2604000500415576337)
19:08:13 VERB PuppetWechat4u messageRawPayloadParser([object Object]) @ Puppet#0<PuppetWechat4u>(padchat-demo)
19:08:13 SILL Puppet messagePayload(2604000500415576337) cache SET
19:08:13 SILL Accessory #8<Contact> constructor()
19:08:13 SILL Contact constructor(开物 &amp; 相泰投资 王秋虎)
19:08:13 SILL Contact ready() @ Puppet#0<PuppetWechat4u>(padchat-demo)
19:08:13 SILL Puppet contactPayload(开物 &amp; 相泰投资 王秋虎) cache MISS
19:08:13 SILL Puppet contactPayload(开物 &amp; 相泰投资 王秋虎) cache MISS
19:08:13 VERB PuppetWechat4u contactRawPayload(开物 &amp; 相泰投资 王秋虎) with contacts.length=56
19:08:13 VERB PuppetWechat4u contactRawPayload(开物 &amp; 相泰投资 王秋虎) retry() attempt=1
19:08:13 VERB PuppetWechat4u contactRawPayload(开物 &amp; 相泰投资 王秋虎) retry() attempt=2
19:08:13 VERB PuppetWechat4u contactRawPayload(开物 &amp; 相泰投资 王秋虎) retry() attempt=3
19:08:13 VERB PuppetWechat4u contactRawPayload(开物 &amp; 相泰投资 王秋虎) retry() attempt=4
19:08:13 VERB PuppetWechat4u contactRawPayload(开物 &amp; 相泰投资 王秋虎) retry() attempt=5
19:08:14 VERB PuppetWechat4u contactRawPayload(开物 &amp; 相泰投资 王秋虎) retry() attempt=6
19:08:17 VERB PuppetWechat4u contactRawPayload(开物 &amp; 相泰投资 王秋虎) retry() attempt=7
19:08:19 VERB PuppetWechat4u contactRawPayload(@300a07192c771c55ccd0fb8785d0a52af0a9e4157825881cabf4249cb422abf8) retry() attempt=10
19:08:19 SILL Puppet contactPayload(@300a07192c771c55ccd0fb8785d0a52af0a9e4157825881cabf4249cb422abf8) cache MISS
19:08:19 ERR Contact ready() this.puppet.contactPayload(Contact) exception: no this.wechat4u.contacts[@300a07192c771c55ccd0fb8785d0a52af0a9e4157825881cabf4249cb422abf8]
19:08:19 ERR Config ###########################
19:08:19 ERR Config unhandledRejection: Error: no this.wechat4u.contacts[@300a07192c771c55ccd0fb8785d0a52af0a9e4157825881cabf4249cb422abf8] [object Promise]
19:08:19 ERR Config ###########################
19:08:19 ERR Config process.on(unhandledRejection) promise.catch(no this.wechat4u.contacts[@300a07192c771c55ccd0fb8785d0a52af0a9e4157825881cabf4249cb422abf8])
Config Error: no this.wechat4u.contacts[@300a07192c771c55ccd0fb8785d0a52af0a9e4157825881cabf4249cb422abf8]
    at config_1.retry (/home/zixia/chatie/wechaty/node_modules/wechaty-puppet-wechat4u/src/puppet-wechat4u.ts:399:22)
    at /home/zixia/chatie/wechaty/node_modules/promise-retry/index.js:29:24
(node:19444) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 4)
19:08:24 VERB PuppetWechat4u contactRawPayload(开物 &amp; 相泰投资 王秋虎) retry() attempt=8