-
Notifications
You must be signed in to change notification settings - Fork 128
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 completely quiet #4
Comments
type |
even "help" is silent... |
It is easy to install it incorrectly and achieve this result. How did you install it? and how are you running it.. did you use hubot -c to make a deployable version? |
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:
|
Well. my take on it is that it has something to do with hubot executing from a location where the path it constructs to the scripts folders are not valid. I am just guessing - it seems like the most obvious suspect |
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
after that:
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 Sample
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. EDIT: My logs:
|
@brunobord Try prefacing your commands with "hubot", so:
That got things working perfectly for me in the shell, and also in Campfire. Shy dog syndrome seems to be limited to IRC for me. |
@xcolour. right, it works like that, just like you. Now how can I make it work in IRC? |
Did you first created a deployable hubot like so? NOTE: The below instructions assume you have set the environments already..
then
add add any other scripts or custom scripts you want to. execute on shell first to test then with adapter. shell bot irc bot Let me know if this works for you. |
Okay, here's what I've got: In 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. |
@nandub That's exactly what I've done. |
@nandub: using your instructions, the shell bot is working. but the IRC bot still doesn't say anything. :/ |
I just upgraded to the latest versions of node and npm to rule that out, but with the same result:
|
I am experiencing the same problem. This is probably the same issue #2. |
Oh, nice. That seems to be exactly what I've observed. Shall we close this issue and mark it as a dupe? |
I have a solution to this, it's pretty simple. I'll update the documentation to implementing an adapter. |
If @nandub can push an updated version to |
I can confirm that this works for me. I suggests bumping the version before pushing to npm. |
Will bump and push to npm. |
pushed |
0.0.5 is confirmed as working for me. thanks all! |
finally works for me too... big thank you to everyone involved. |
🤘 |
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. |
Yeah thanks it worked. :D |
hi,
I've tried this hubot-irc adapter, and the result is not very encouraging.
the bot connects to my localhost IRCd, joins the correct channel, etc.
unfortunately, it's completely quiet, silent, dumb.
I've tried to talk to it via /query or on the designated channel, and I've got no answer.
it correctly reads lines on the channel, but it doesn't react at all
I've tried to load several scripts using the hubot-scripts.json file, without a result. What am I doing wrong?
The text was updated successfully, but these errors were encountered: