Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

puppetPadchat.reset() should call start() after stop() #1385

Closed
huan opened this issue Jun 24, 2018 · 3 comments
Closed

puppetPadchat.reset() should call start() after stop() #1385

huan opened this issue Jun 24, 2018 · 3 comments
Labels

Comments

@huan
Copy link
Member

huan commented Jun 24, 2018

Currently, it seems when we have a reset event, the puppet just stop all and then idle over there...

It should call start() but it seems that there have some bugs which had prevented the start() to be called.

17:06:59 SILL Contact ready() isReady() true
17:06:59 VERB Room ready()
17:06:59 SILL Contact ready() @ Puppet#0<PuppetPadchat>(cjii0d6uu00003269dqohde8r)/PuppetPadchat#0
17:06:59 SILL Contact ready() isReady() true
17:06:59 SILL Io ioMessage() is a nop function before be overwriten from cloud
17:06:59 SILL Message toString() for message type: Attachment(1)
17:06:59 INFO Bot (message) Message#Attachment(👥Room<德耀中华,一个高素质群体!>🗣Contact<嵩山艺术品研究院>👤Contact<李卓桓>)<3907826949494822931-to-be-implement.txt>
17:07:03 VERB PadchatRpc reset(ws.on(close, 1006)
17:07:03 VERB PuppetPadchatManager stop()
17:07:03 VERB PuppetPadchatManager stopCheckScan()
17:07:03 VERB PuppetPadchat reset(ws.on(close, 1006)
17:07:03 VERB PuppetPadchat stop()
17:07:03 SILL StateSwitch <PuppetPadchat> off() is false
17:07:03 SILL StateSwitch <PuppetPadchat> off() is false
17:07:03 VERB StateSwitch <PuppetPadchat> off(pending) <- (false)
17:07:03 VERB PuppetPadchat logout()
17:07:03 SILL Contact ready() @ Puppet#0<PuppetPadchat>(cjii0d6uu00003269dqohde8r)/PuppetPadchat#0
17:07:03 SILL Contact ready() isReady() true
17:07:03 VERB PuppetPadchatManager logout()
17:07:03 VERB PuppetPadchatManager releaseCache()
17:07:03 VERB PadchatRpc stop()
17:07:03 VERB PadchatRpc stopQueues()
17:07:03 SILL Io send({"name":"logout","payload":{"domain":null,"_events":{},"_eventsCount":0,"id":"wxid_a8d806dzznm822"}})
17:07:03 INFO Bot 李卓桓 logouted
17:07:03 INFO IoClient 李卓桓 logouted
17:07:03 VERB PuppetPadchatManager releaseCache()
17:07:03 SILL Io initWebSocket() ws.on(message): {"name":"sys","payload":"roger"}
17:07:09 SILL Io start() setInterval() ws.ping()
17:07:19 SILL Io start() setInterval() ws.ping()
17:07:29 SILL Io start() setInterval() ws.ping()
17:07:39 SILL Io start() setInterval() ws.ping()
17:07:49 SILL Io start() setInterval() ws.ping()
17:07:59 SILL Io start() setInterval() ws.ping()
@huan huan added the bug label Jun 24, 2018
@huan
Copy link
Member Author

huan commented Jun 24, 2018

02:35:03 SILL PuppetPadchatManager syncContactsAndRooms() updating Room PA Dec 茶馆(4659057837@chatroom)
02:35:08 VERB PadchatRpc reset(ws.on(close, 1006)
02:35:08 VERB PuppetPadchatManager stop()
02:35:08 VERB PuppetPadchatManager stopCheckScan()
02:35:08 VERB PuppetPadchat reset(ws.on(close, 1006)
02:35:08 SILL PuppetPadchat reset() before stop
02:35:08 VERB PuppetPadchat stop()
02:35:08 SILL StateSwitch <PuppetPadchat> off() is false
02:35:08 SILL StateSwitch <PuppetPadchat> off() is false
02:35:08 VERB StateSwitch <PuppetPadchat> off(pending) <- (false)
02:35:08 VERB PuppetPadchat logout()
02:35:08 SILL Contact ready() @ Puppet#0<PuppetPadchat>(cjii0d6uu00003269dqohde8r)/PuppetPadchat#0
02:35:08 SILL Contact ready() isReady() true
02:35:08 VERB PuppetPadchatManager logout()
02:35:08 VERB PuppetPadchatManager releaseCache()
02:35:08 VERB PadchatRpc stop()
02:35:08 VERB PadchatRpc stopQueues()
02:35:08 SILL Io send({"name":"logout","payload":{"domain":null,"_events":{},"_eventsCount":0,"id":"wxid_a8d806dzznm822"}})
02:35:08 INFO Bot 李卓桓 logouted
02:35:08 INFO IoClient 李卓桓 logouted
02:35:08 VERB PuppetPadchatManager releaseCache()
02:35:08 SILL Io initWebSocket() ws.on(message): {"name":"sys","payload":"roger"}
02:35:10 SILL Io start() setInterval() ws.ping()
02:35:17 SILL PuppetPadchatManager syncRoomMember(4659057837@chatroom)
02:35:17 SILL PadchatRpc rpcCall(WXGetChatRoomMember, ["4659057837@chatroom"])
02:35:20 SILL Io start() setInterval() ws.ping()
02:35:30 SILL Io start() setInterval() ws.ping()
02:35:40 SILL Io start() setInterval() ws.ping()

huan added a commit that referenced this issue Jun 24, 2018
@huan
Copy link
Member Author

huan commented Jul 3, 2018

Have no idea about this issue but it seems work as expected for now.

@huan
Copy link
Member Author

huan commented Jul 12, 2018

Close this issue because no meet this bug for two weeks...

@huan huan closed this as completed Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant