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

我的bot停留在fetching groupmember界面 #28

Open
tshwangq opened this issue Sep 21, 2014 · 6 comments
Open

我的bot停留在fetching groupmember界面 #28

tshwangq opened this issue Sep 21, 2014 · 6 comments

Comments

@tshwangq
Copy link

请问什么问题? 多谢。

@tshwangq
Copy link
Author

获取groupmember response 200, 没有cookie

@tshwangq
Copy link
Author

然后获取一个chunk以后,一直在等待

@tshwangq
Copy link
Author

groups = @group_info.gnamelist.filter (item)->
for key ,value of options
return item[key] == value
这个没有获取到groups

@tshwangq
Copy link
Author

建议用gid判断可以解决这个问题

@tontinme
Copy link

一样的

[Thu Oct 23 2014 14:46:36 GMT+0000 (UTC)] INFO fetching group list
[Thu Oct 23 2014 14:46:37 GMT+0000 (UTC)] INFO √ group list fetched
[Thu Oct 23 2014 14:46:37 GMT+0000 (UTC)] INFO fetching groupmember qqbot群
[Thu Oct 23 2014 14:46:37 GMT+0000 (UTC)] ERROR TypeError: Cannot read property 'code' of undefined
at QQBot.update_group_member (/home/vagrant/myhubot/node_modules/hubot-qq/src/qqbot.coffee:106:5, :148:45)
at /home/vagrant/myhubot/node_modules/hubot-qq/src/qqbot.coffee:456:7, :610:22
at /home/vagrant/myhubot/node_modules/hubot-qq/src/qqbot.coffee:92:9, :127:18
at /home/vagrant/myhubot/node_modules/hubot-qq/src/qqapi.coffee:152:7, :169:16
at handle_resp_body (/home/vagrant/myhubot/node_modules/hubot-qq/src/httpclient.coffee:69:5, :77:12)
at IncomingMessage. (/home/vagrant/myhubot/node_modules/hubot-qq/src/httpclient.coffee:51:9, :53:16)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)

[Thu Oct 23 2014 14:46:37 GMT+0000 (UTC)] ERROR ReferenceError: log is not defined
at /home/vagrant/myhubot/node_modules/hubot-qq/src/hubot-qq.coffee:41:11, :75:20
at /home/vagrant/myhubot/node_modules/hubot-qq/src/qqbot.coffee:99:11, :139:18
at /home/vagrant/myhubot/node_modules/hubot-qq/src/qqapi.coffee:91:9, :97:14
at handle_resp_body (/home/vagrant/myhubot/node_modules/hubot-qq/src/httpclient.coffee:69:5, :77:12)
at IncomingMessage. (/home/vagrant/myhubot/node_modules/hubot-qq/src/httpclient.coffee:51:9, :53:16)
at IncomingMessage.emit (events.js:117:20)

@gliudong
Copy link

同样停在了这里,报如下错误:

[Mon Nov 10 2014 18:05:01 GMT+0800 (CST)] INFO 登录 step0 验证码检测
[Mon Nov 10 2014 18:05:01 GMT+0800 (CST)] INFO - 无需验证码
[Mon Nov 10 2014 18:05:01 GMT+0800 (CST)] INFO 登录 step1 密码校验
[Mon Nov 10 2014 18:05:02 GMT+0800 (CST)] INFO 登录 step2 cookie获取
[Mon Nov 10 2014 18:05:02 GMT+0800 (CST)] DEBUG response: 302
[Mon Nov 10 2014 18:05:02 GMT+0800 (CST)] INFO 登录 step3 token 获取
[Mon Nov 10 2014 18:05:02 GMT+0800 (CST)] DEBUG login token response: 200
[Mon Nov 10 2014 18:05:02 GMT+0800 (CST)] INFO 登录成功 202549114
[Mon Nov 10 2014 18:05:02 GMT+0800 (CST)] DEBUG Loading Plugin help
[Mon Nov 10 2014 18:05:02 GMT+0800 (CST)] INFO fetching group list
[Mon Nov 10 2014 18:05:02 GMT+0800 (CST)] INFO √ group list fetched
[Mon Nov 10 2014 18:05:02 GMT+0800 (CST)] INFO fetching groupmember qqbot群
[Mon Nov 10 2014 18:05:02 GMT+0800 (CST)] ERROR TypeError: Cannot call method 'filter' of undefined
at QQBot.get_group (/home/liudong/labor/myhubot/node_modules/hubot-qq/src/qqbot.coffee:58:27, :67:42)
at QQBot.update_group_member (/home/liudong/labor/myhubot/node_modules/hubot-qq/src/qqbot.coffee:99:49, :141:45)
at /home/liudong/labor/myhubot/node_modules/hubot-qq/src/qqbot.coffee:327:7, :473:22
at /home/liudong/labor/myhubot/node_modules/hubot-qq/src/qqbot.coffee:86:9, :121:18
at /home/liudong/labor/myhubot/node_modules/hubot-qq/src/qqapi.coffee:155:7, :164:16
at handle_resp_body (/home/liudong/labor/myhubot/node_modules/hubot-qq/src/httpclient.coffee:69:5, :77:12)
at IncomingMessage. (/home/liudong/labor/myhubot/node_modules/hubot-qq/src/httpclient.coffee:51:9, :53:16)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants