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

gtalk adapter connects then disconnects #25

Open
grim235 opened this issue Feb 21, 2013 · 1 comment
Open

gtalk adapter connects then disconnects #25

grim235 opened this issue Feb 21, 2013 · 1 comment

Comments

@grim235
Copy link

grim235 commented Feb 21, 2013

when I run hubot -a gtalk I can see both in the console and on my messenger that hubot connects to gmail for less then a second. I get the following error. Running on Ubuntu. Thanks for any help.

/opt/hubot/node_modules/hubot-gtalk/node_modules/hubot/src/adapter.coffee:47
return this.robot.brain.userForId(id, options);
^
TypeError: Object # has no method 'userForId'
at Gtalkbot.Adapter.userForId (/opt/hubot/node_modules/hubot-gtalk/node_modules/hubot/src/adapter.coffee:47:31)
at Gtalkbot.getUser (/opt/hubot/node_modules/hubot-gtalk/src/gtalk.coffee:204:19)
at Gtalkbot.handlePresence (/opt/hubot/node_modules/hubot-gtalk/src/gtalk.coffee:192:23)
at Gtalkbot.readStanza (/opt/hubot/node_modules/hubot-gtalk/src/gtalk.coffee:112:14)
at Client.Gtalkbot.run (/opt/hubot/node_modules/hubot-gtalk/src/gtalk.coffee:75:22)
at Client.EventEmitter.emit (events.js:96:17)
at Client.onRawStanza (/opt/hubot/node_modules/node-xmpp/lib/xmpp/client.js:159:14)
at Client.EventEmitter.emit (events.js:96:17)
at Client.Connection.onStanza (/opt/hubot/node_modules/node-xmpp/lib/xmpp/connection.js:237:14)
at StreamParser.Connection.startParser (/opt/hubot/node_modules/node-xmpp/lib/xmpp/connection.js:136:14)

@pyro2927
Copy link

pyro2927 commented Mar 1, 2013

I had that same issue when using hubot 2.2.0. Try with hubot 2.4.7 and it should connect.

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

2 participants