Giter VIP home page Giter VIP logo

Comments (8)

orta avatar orta commented on August 31, 2024

This might be related to a re-named flow.

from hubot-flowdock.

phindmarsh avatar phindmarsh commented on August 31, 2024

Just had the exact same error on a fresh install of both hubot, flowdock and the flowdock adapter. Did you solve this?

from hubot-flowdock.

orta avatar orta commented on August 31, 2024

Nope, afraid not, I did the same from scratch, and tried deleting my renamed flow. I tried only giving access to one flow to the bot but still got no-where.

from hubot-flowdock.

anttipitkanen avatar anttipitkanen commented on August 31, 2024

I'm sorry for the delay in responding to this issue.

It does indeed look like the flow variable is not being set properly. It may be that the initial request for fetching the available flows for your Hubot user account returns empty set of flows. Can you verify that you receive some flow data with curl "https://HUBOT_EMAIL:[email protected]/flows"? The @ symbol in the email address needs to be escaped as %40 in the URL.

from hubot-flowdock.

phindmarsh avatar phindmarsh commented on August 31, 2024

I can confirm I get data back from that query (a JSON payload)

I've just rolled back my version numbers of hubot and the flowdock adapter and it works correctly, so I'd assume its just to do with the latest version of hubot and the adapter.

It works correctly with this dependencies config:

  "dependencies": {
    "hubot": "=2.3.x",
    "hubot-scripts": ">= 2.4.1",
    "hubot-flowdock": "=0.3.x",
    "optparse": "1.0.3"
  },

from hubot-flowdock.

orta avatar orta commented on August 31, 2024

I also get data back from curl https://orta+irtsybot%40artsymail.com:[email protected]/flows

from hubot-flowdock.

anttipitkanen avatar anttipitkanen commented on August 31, 2024

Alright, it seems that there's clearly something wrong with the compatibility of the new version. I'll look into this and get back to you as soon as I have a fix / workaround. Thanks for reporting and debugging!

from hubot-flowdock.

anttipitkanen avatar anttipitkanen commented on August 31, 2024

It seems that hubot 2.4.2 introduced an API change that resulted in the issue described above. I fixed the hubot-flowdock compatibility with different hubot versions and released new version (0.4.0). Let me know if you are still experiencing compatibility issues with latest versions.

from hubot-flowdock.

Related Issues (20)

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.