Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
hubot completely quiet #4
I've tried this hubot-irc adapter, and the result is not very encouraging.
I've tried to load several scripts using the hubot-scripts.json file, without a result. What am I doing wrong?
I'm having the same issue running hubot locally.
My Procfile looks like:
(I'm not sure if that's superfluous since I'm just running it locally.)
I'm running hubot like:
And I have exported these environment variables:
Hubot connects and joins the room, and I see every message echoed in the console, but it never responds. I've tried:
I might have done something wrong with the install... Maybe that's a good occasion to amend the README file and help poor users like me to set everything up the right way.
I'm using Ubuntu 10.04 (and yes, I need an upgrade)
nodejs : v.0.6.2
As a plus, I've set up an IRCd on my box, thus I can log on my localhost IRC
When I want to install hubot-irc:
It creates a
So it leads me to a shell. Unfortunately, this shell is very silent.
etc, etc, etc.
now if I want to add the IRC adapter, I'm adding the follwing line to the
it installs the hubot-irc adapter. Then:
Here is the traceback:
Then I'm joining the #cdc chan, where this bot is sitting. And I'm trying
It looks like this bot is trying to load scripts in the two follwing directories:
the first one doesn't exist.
I've tried to create the 1st directory and copy-paste the coffee scripts. Still the same "sound of silence"
I get the exact same behavior when deployed on Heroku.
Did you first created a deployable hubot like so?
NOTE: The below instructions assume you have set the environments already..
add any other scripts or custom scripts you want to.
execute on shell first to test then with adapter.
Let me know if this works for you.
Okay, here's what I've got:
I think the reason it's failing is that
I'm going to keep digging, but I don't really know node or coffescript, so I'm at a bit of a loss for how to proceed.
EDIT: this is in response to a since-deleted comment. I'm leaving it for posterity.
try invoking hubot with:
hubot seems to need the name it identifies as internally to match the name of its user in the chat app. i'm don't think that particular requirement is documented, though. i only discovered it by chance.