-
Notifications
You must be signed in to change notification settings - Fork 229
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
Method 'getRoomNameById' not found #225
Comments
What version are you running on Rocket.Chat server? |
0.56.0 |
Ok seems the PR that added it RocketChat/Rocket.Chat#7102 targeted master so was not included in the 0.57.0 release. Will try to get this resolved asap. But you will likely need to upgrade Rocket.Chat when this is resolved. 1.0.8 of the adapter shouldn't have this problem |
Thank you so much! Would the following line successfully setup the correct version of the adapter? yo hubot --adapter="rocketchat@1.0.8" |
should be! If that doesn't do it, edit the package.json file in your bots folder and change the version to 1.0.8 and then do |
@bentsea sorry I was wrong. Upgrading to Rocket.Chat server version 0.57.2 will allow that method |
@geekgonecrazy 0.57.1 already includes the method so he could also use that |
@lucasvanhalst sure, but 0.57.2 includes more bug fixes which should help in general. I'll go ahead and close this though. 👍 |
@geekgonecrazy Confused - it's not in current |
@antgel that's what got me confused as well, I've no idea why 0.57.x contains changes that aren't in develop yet |
It confused me too. 😁 basically the PR that added that targeted the master branch instead of the develop branch. No idea why that happened. It defaults to develop, so not sure why it was changed to master. So when it was merged it made it into the release.. but was never added to the develop branch. We have a pull request open we are syncing the things added in master back down. |
I've managed to work through most of the issues I've experienced when trying to get hubot running, I've got it successfully joined to all rooms, but any time a message is received incoming the following error is generated:
[Fri Jul 14 2017 19:44:02 GMT+0000 (UTC)] ERROR Unable to get room name: {"error":404,"reason":"Method 'getRoomNameById' not found","message":"Method 'getRoomNameById' not found [404]","errorType":"Meteor.Error"} Reason: Method 'getRoomNameById' not found
Here's the full log from start to first message received:
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO Starting Rocketchat adapter version 1.0.9...
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO Once connected to rooms I will respond to the name: bot
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO I will also respond to my Rocket.Chat username as an alias: hubot
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] WARNING No services ROCKETCHAT_ROOM provided to Hubot, using
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO Connecting To: localhost:3000
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO Successfully connected!
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO Logging In
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO Successfully Logged In
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO rid: []
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO All rooms joined.
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO Preparing Meteor Subscriptions..
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO Subscribing to Room: my_messages
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO Successfully subscribed to messages
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] INFO Setting up reactive message list...
[Fri Jul 14 2017 19:45:02 GMT+0000 (UTC)] WARNING Loading scripts from hubot-scripts.json is deprecated and will be removed in 3.0 (github/hubot-scripts#1113) in favor of packages for each script.
Your hubot-scripts.json is empty, so you just need to remove it.
[Fri Jul 14 2017 19:45:03 GMT+0000 (UTC)] ERROR hubot-heroku-keepalive included, but missing HUBOT_HEROKU_KEEPALIVE_URL.
heroku config:set HUBOT_HEROKU_KEEPALIVE_URL=$(heroku apps:info -s | grep web.url | cut -d= -f2)
[Fri Jul 14 2017 19:45:03 GMT+0000 (UTC)] INFO hubot-redis-brain: Using default redis on localhost:6379
[Fri Jul 14 2017 19:45:08 GMT+0000 (UTC)] INFO Message received with ID id
[Fri Jul 14 2017 19:45:08 GMT+0000 (UTC)] INFO Message receive callback id L4GYzb3v7uejDLk6h ts Fri Jul 14 2017 19:45:08 GMT+0000 (UTC)
[Fri Jul 14 2017 19:45:08 GMT+0000 (UTC)] INFO [Incoming] bentsea: hubot help
[Fri Jul 14 2017 19:45:08 GMT+0000 (UTC)] INFO Looking up Room Name for: t774jC4fPnt4ySkp7
[Fri Jul 14 2017 19:45:08 GMT+0000 (UTC)] ERROR Unable to get room name: {"error":404,"reason":"Method 'getRoomNameById' not found","message":"Method 'getRoomNameById' not found [404]","errorType":"Meteor.Error"} Reason: Method 'getRoomNameById' not found
Any help that could be provided would be appreciated :)
The text was updated successfully, but these errors were encountered: