hubot-archive / hubot-trello Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fragcastle/hubot-trello
manage your trello board from hubot
License: MIT License
This project forked from fragcastle/hubot-trello
manage your trello board from hubot
License: MIT License
Forgive my newbness, but can you make a new card yet within a board, or am I bugging out?
I'm getting this after adding the script, setting configs correctly, etc:
/home/joe/joebot2/node_modules/hubot/src/brain.coffee:10:5: error: Can't reference 'this' before calling super in derived class constructors
'@DaTa =
^ `
I'm not getting any responses from the bot with trello commands, but it seems to be installed properly. When I say "hubot help" I see a few trello commands in the list. Not seeing any errors thrown in the heroku logs, and I have my env variables showing up.
implement the command --> hubot trello search "query"
https://trello.com/docs/api/search/
I have installed hubot, I can able to start the instance. I followed the following steps for Hubot-Trello:
npm install hubot-trello --save
Added "hubot-trello" to externalscripts.json
added the following three lines to bin/hubot:
export HUBOT_TRELLO_KEY=My api
export HUBOT_TRELLO_TOKEN=My token
export HUBOT_TRELLO_BOARD=My board id
After this when I run .\bin\hubot, I get the following error:
error unable to load hubot-trello\src\trello: Error: Application API key is required.
Please help as I am not sure what else I missed
Issue: When calling hubot to add a member to a card it removes existing users and adds only the current user
Proposed solution: Update method to first obtain a list of users and then submit the same list with the new member added
Not sure if I'm not setting up hubot-trello correctly or not but I am getting error's when loading. It also seems that Trello has changed the URL for boards to https://trello.com/b/<>/<>.
When Starting Hubot
[Thu Mar 05 2015 17:09:45 GMT-0600 (CST)] ERROR TypeError: Cannot call method 'toLowerCase' of undefined
at /opt/hubot/node_modules/hubot-trello/src/trello.coffee:76:15, :109:41
at Request._callback (/opt/hubot/node_modules/hubot-trello/node_modules/node-trello/lib/node-trello.coffee:60:16)
at Request.self.callback (/opt/hubot/node_modules/hubot-trello/node_modules/node-trello/node_modules/request/main.js:122:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (/opt/hubot/node_modules/hubot-trello/node_modules/node-trello/node_modules/request/main.js:661:16)
at Request.EventEmitter.emit (events.js:117:20)
at IncomingMessage. (/opt/hubot/node_modules/hubot-trello/node_modules/node-trello/node_modules/request/main.js:623:14)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
When attempting to hubot trello list "backlog"
[Thu Mar 05 2015 17:12:00 GMT-0600 (CST)] ERROR TypeError: Cannot read property 'id' of undefined
at showCards (/opt/hubot/node_modules/hubot-trello/src/trello.coffee:51:14, :50:40)
at TextListener.callback (/opt/hubot/node_modules/hubot-trello/src/trello.coffee:95:5, :133:14)
at TextListener.Listener.call (/opt/hubot/node_modules/hubot/src/listener.coffee:27:7, :23:14)
at Robot.receive (/opt/hubot/node_modules/hubot/src/robot.coffee:197:9, :143:33)
at SlackBot.Adapter.receive (/opt/hubot/node_modules/hubot/src/adapter.coffee:66:5, :47:25)
at SlackBot.message (/opt/hubot/node_modules/hubot-slack/src/slack.coffee:154:20, :189:21)
at Client. (/opt/hubot/node_modules/hubot-slack/src/slack.coffee:1:1, :3:61)
at Client.EventEmitter.emit (events.js:95:17)
at Client.onMessage (/opt/hubot/node_modules/hubot-slack/node_modules/slack-client/src/client.js:477:14)
at WebSocket. (/opt/hubot/node_modules/hubot-slack/node_modules/slack-client/src/client.js:140:24)
at WebSocket.EventEmitter.emit (events.js:98:17)
at Receiver.self._receiver.ontext (/opt/hubot/node_modules/hubot-slack/node_modules/slack-client/node_modules/ws/lib/WebSocket.js:697:10)
at Receiver.opcodes.1.finish (/opt/hubot/node_modules/hubot-slack/node_modules/slack-client/node_modules/ws/lib/Receiver.js:397:14)
at Receiver.expectHandler (/opt/hubot/node_modules/hubot-slack/node_modules/slack-client/node_modules/ws/lib/Receiver.js:384:31)
at Receiver.add (/opt/hubot/node_modules/hubot-slack/node_modules/slack-client/node_modules/ws/lib/Receiver.js:93:24)
at CleartextStream.firstHandler (/opt/hubot/node_modules/hubot-slack/node_modules/slack-client/node_modules/ws/lib/WebSocket.js:678:22)
at CleartextStream.EventEmitter.emit (events.js:95:17)
at CleartextStream. (stream_readable.js:746:14)
at CleartextStream.EventEmitter.emit (events.js:92:17)
at emitReadable (_stream_readable.js:408:10)
at _stream_readable.js:401:7
at process._tickCallback (node.js:415:13)
Any chance of getting a release pushed to npm with the list lists
command? Seems like it would be quite helpful. :)
Any suggestions on this?
It's probably just me, but integration with slack doesn't seem to be working too clearly. I'm able to use hubot to create lists in slack, but that's about it. I cannot create cards or even list lists. I can however list lists and create cards on the command line.
The errors are always at https://github.com/hubot-scripts/hubot-trello/blob/master/src/trello.coffee#L49 and https://github.com/hubot-scripts/hubot-trello/blob/master/src/trello.coffee#L57.
2016-05-18T09:25:55.681568+00:00 app[web.1]: [Wed May 18 2016 09:25:55 GMT+0000 (UTC)] ERROR TypeError: Cannot read property 'id' of undefined
2016-05-18T09:25:55.681580+00:00 app[web.1]: at createCard (/app/node_modules/hubot-trello/src/trello.coffee:49:14, <js>:34:40)
2016-05-18T09:25:55.681582+00:00 app[web.1]: at TextListener.callback (/app/node_modules/hubot-trello/src/trello.coffee:161:5, <js>:289:14)
2016-05-18T09:25:55.681582+00:00 app[web.1]: at executeListener (/app/node_modules/hubot/src/listener.coffee:65:11, <js>:53:19)
2016-05-18T09:25:55.681583+00:00 app[web.1]: at allDone (/app/node_modules/hubot/src/middleware.coffee:44:37, <js>:34:16)
2016-05-18T09:25:55.681584+00:00 app[web.1]: at Object.async.eachSeries (/app/node_modules/hubot/node_modules/async/lib/async.js:142:20)
2016-05-18T09:25:55.681584+00:00 app[web.1]: at /app/node_modules/hubot/node_modules/async/lib/async.js:274:13
2016-05-18T09:25:55.681585+00:00 app[web.1]: at Object.async.reduce (/app/node_modules/hubot/node_modules/async/lib/async.js:268:15)
2016-05-18T09:25:55.681586+00:00 app[web.1]: at /app/node_modules/hubot/src/middleware.coffee:49:7, <js>:37:22
2016-05-18T09:25:55.681587+00:00 app[web.1]: at process._tickCallback (node.js:458:13)
I can connect slack and trello (when I say "trello help",it can response me)
but when I use trello help command like trello list lists always got error
[Fri Feb 24 2017 15:59:57 GMT+0800 (PHT)] ERROR ReferenceError: lists is not defined at TextListener.callback (/Users/Ann/myhubot/node_modules/hubot-trello-ddx/src/trello.coffee:93:5, <js>:99:26) at executeListener (/Users/Ann/myhubot/node_modules/hubot/src/listener.coffee:65:11, <js>:53:19) at allDone (/Users/Ann/myhubot/node_modules/hubot/src/middleware.coffee:44:37, <js>:34:16) at /Users/Ann/myhubot/node_modules/async/lib/async.js:274:13 at Object.async.eachSeries (/Users/Ann/myhubot/node_modules/async/lib/async.js:142:20) at Object.async.reduce (/Users/Ann/myhubot/node_modules/async/lib/async.js:268:15) at /Users/Ann/myhubot/node_modules/hubot/src/middleware.coffee:49:7, <js>:37:22 at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.