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

hubot下登陆成功,update_group_member报错 #38

Open
hueidou opened this issue Jul 10, 2015 · 2 comments
Open

hubot下登陆成功,update_group_member报错 #38

hueidou opened this issue Jul 10, 2015 · 2 comments

Comments

@hueidou
Copy link

hueidou commented Jul 10, 2015

奇怪的是单独用qqbot不报这个错误。

[Fri Jul 10 2015 15:01:20 GMT+0800 (CST)] INFO 登录 step0 验证码检测
[Fri Jul 10 2015 15:01:21 GMT+0800 (CST)] INFO - 无需验证码
[Fri Jul 10 2015 15:01:21 GMT+0800 (CST)] INFO 登录 step1 密码校验
[Fri Jul 10 2015 15:01:21 GMT+0800 (CST)] INFO 登录 step2 cookie获取
[Fri Jul 10 2015 15:01:21 GMT+0800 (CST)] DEBUG response: 302
[Fri Jul 10 2015 15:01:21 GMT+0800 (CST)] INFO 登录 step3 token 获取
[Fri Jul 10 2015 15:01:21 GMT+0800 (CST)] DEBUG login token response: 200
[Fri Jul 10 2015 15:01:21 GMT+0800 (CST)] INFO 登录成功 
[Fri Jul 10 2015 15:01:21 GMT+0800 (CST)] DEBUG Loading Plugin help
[Fri Jul 10 2015 15:01:21 GMT+0800 (CST)] INFO fetching group list
[Fri Jul 10 2015 15:01:21 GMT+0800 (CST)] INFO √ group list fetched
[Fri Jul 10 2015 15:01:21 GMT+0800 (CST)] INFO fetching groupmember 
[Fri Jul 10 2015 15:01:22 GMT+0800 (CST)] ERROR TypeError: Cannot read property
'code' of undefined
  at QQBot.update_group_member (/home/san/totoro/node_modules/hubot-qq/src/qqbot
.coffee:106:5, <js>:149:45)
  at /home/san/totoro/node_modules/hubot-qq/src/qqbot.coffee:471:7, <js>:638:22
  at /home/san/totoro/node_modules/hubot-qq/src/qqbot.coffee:92:9, <js>:128:18
  at /home/san/totoro/node_modules/hubot-qq/src/qqapi.coffee:182:5, <js>:206:16
  at handle_resp_body (/home/san/totoro/node_modules/hubot-qq/src/httpclient.cof
fee:69:5, <js>:77:12)
  at IncomingMessage.<anonymous> (/home/san/totoro/node_modules/hubot-qq/src/htt
pclient.coffee:51:9, <js>:53:16)
  at IncomingMessage.emit (events.js:129:20)
  at _stream_readable.js:908:16
  at process._tickCallback (node.js:355:11)

[Fri Jul 10 2015 15:01:22 GMT+0800 (CST)] INFO √ buddy list fetched
@npk48
Copy link

npk48 commented Aug 7, 2015

我也遇到了这个问题 貌似是群名片获取的协议有误 qqapi.coffee:182:5

@elprup
Copy link

elprup commented Jan 21, 2017

遇到这种情况的一种可能是创建了“群聊”而不是“群”。

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