athieriot / hubot-yammer

This is the Yammer adapter for hubot that allows you to send a message to him with Yammer and he will happily reply the same way.
31 stars 26 forks source link

hubot does't start with yammer adapter #4

Closed anshumanpurohit closed 12 years ago

anshumanpurohit commented 12 years ago

bin/hubot -a yammer

results in the following exception ...

[Thu Oct 11 2012 17:20:21 GMT-0600 (MDT)] ERROR Cannot load adapter yammer - TypeError: Object # has no method 'robot' TypeError: Object # has no method 'robot' at Object. (/opt/hubot/node_modules/hubot-yammer/src/yammer.coffee:7:28) at Object. (/opt/hubot/node_modules/hubot-yammer/src/yammer.coffee:210:4) at Module._compile (module.js:446:26) at Object..coffee (/opt/hubot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/coffee-script.js:22:21) at Module.load (module.js:353:31) at Function._load (module.js:311:12) at Module.require (module.js:359:17) at require (module.js:375:17) at Robot.loadAdapter (/opt/hubot/node_modules/hubot/src/robot.coffee:215:31) at new Robot (/opt/hubot/node_modules/hubot/src/robot.coffee:47:14) TypeError: Cannot call method 'on' of null at Object. (/opt/hubot/node_modules/hubot/bin/hubot:105:19) at Object. (/opt/hubot/node_modules/hubot/bin/hubot:109:4) at Module._compile (module.js:446:26) at Object.run (/opt/hubot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/coffee-script.js:79:25) at /opt/hubot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/command.js:175:29 at /opt/hubot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/command.js:150:18 at [object Object]. (fs.js:123:5) at [object Object].emit (events.js:64:17) at Object.oncomplete (fs.js:1188:12)

athieriot commented 12 years ago

It's been a while seen the last update. Hubot interface could have change.

I will take a look.

Thank you for the report

anshumanpurohit commented 12 years ago

Thank you!

Sent from my iPhone

On Oct 12, 2012, at 1:17 AM, Aurélien Thieriot notifications@github.com wrote:

It's been a while seen the last update. Hubot interface could have change.

I will take a look.

Thank you for the report

— Reply to this email directly or view it on GitHub.

athieriot commented 12 years ago

I commit an update to handle a new requirement of Hubot version 2.3.0. It should be ok now.

The version 0.0.2 should come quickly in the npm repository.

Let me know if all works

anshumanpurohit commented 12 years ago

WOW ... what a speedy response!

I was able to use 0.0.2 and that fixed the issue. Thanks!

On Fri, Oct 12, 2012 at 9:32 AM, Aurélien Thieriot <notifications@github.com

wrote:

I commit an update to handle a new requirement of Hubot version 2.3.0. It should be ok now.

The version 0.0.2 should come quickly in the npm repository.

— Reply to this email directly or view it on GitHubhttps://github.com/athieriot/hubot-yammer/issues/4#issuecomment-9380215.

athieriot commented 11 years ago

More than happy to help :)