-
Notifications
You must be signed in to change notification settings - Fork 2
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
Errors with Hubot 2.19 #28
Comments
I ran into the same thing. I'll make a PR that might be able to help. |
👍 |
Strangely, I'm no longer seeing this -- I wonder if some other dep got updated that might have fixed the underlying issue? @liquidstate can you still reproduce the problem? |
Apologies for taking so long to test this, but I'm still getting the same problem. Each incoming message on the channel generates the following error:
Trying to use
Here's the dependency tree (I've removed all non-essential modules for testing purposes):
|
@liquidstate to clarify, you reproduced the problem using my fork (commit be3673a)? |
Sorry @acrewdson - didn't spot the fork. Many thanks for your help, much appreciated! With the fork, i'm happy to report that it works! Not 100% bug free though I'm afraid! With a fresh install and an empty brain with your fork I get the following error on all incoming messages:
However, once I create an action, such as
And, when I trigger that action, I get four responses from the bot. Eg:
If I create further actions, then I get the same two confirmations and four responses when the action is triggered. After creating an action, I no longer receive the same error as before on every message to the channel though. My guess is that this block of code doesn't deal well with an empty array?
|
@liquidstate thanks for testing. I'll take another look. All signs point to some tricky race conditions that are not going to be easily fixed, since I didn't see any of what you describe last time I tested this -- but I also saw other weirdnesses that pointed to non-deterministic stuff going on. So I can't say I'm too surprised you found weird behavior, too. Will get back to you. |
Hi,
With
hubot-2.19
withredis-brain-v0.0.4
and I get the following errors when I try to usehubot-eavesdrop-2.2.1
. Any ideas on how to fix this?The text was updated successfully, but these errors were encountered: