Giter VIP home page Giter VIP logo

hubot-trello's People

Contributors

codeimpossible avatar misterdai avatar sato1043 avatar syntax922 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hubot-trello's Issues

No response from bot

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.

API Token not found

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

Add member only allows 1 member

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

Issues with pulling boards

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)

Cannot read property of undefined (slack+heroku issue?)

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.

Error log from heroku:

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)

ERROR ReferenceError: lists is not defined

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.