Giter Site home page Giter Site logo

slack-thel's Issues

There is a typo in 38th line

16        if not wol_id:
17              import sys
18              **print 'No config.py found exisiting...'** //existing 
19              sys.exit(0)

print 'No config.py found'
or
print 'Not found existing config.py' :)

//Or its saying 'exiting, quitting' as it`s closing sys

Random(?) Timeout and 500 Service Error

This is my 2nd time trying out a Slack Wolfram bot! First time was a clunky Python's slack-client and wolframalpha packages. Followed the tutorial, uploaded code to GitHub an deployed with Heroku. Dynos start up fine when I checked the with heroku ps, and logs show that build succeeded. But when testing the slash command Slackbot will randomly give an error (depending on the query), e.g.:

Darn - that slash command didn't work (error message: Timeout was reached).
Darn - that slash command didn't work (error message: 500_service_error).

Heroku logs would look something like this:
at=info method=POST path="/wolfa" host=wolfa.herokuapp.com request_id=5a9a5151-fdd1-4b15-94a8-4263a1b1c1ab fwd="34.234.74.21" dyno=web.1 connect=1ms service=2186ms status=500 bytes=450 protocol=https2019-02-20T18:55:43.141647+00:00 app[web.1]: 10.5.162.108 - - [20/Feb/2019 18:55:43] "POST /wolfa HTTP/1.1" 500 -

or this

at=info method=POST path="/wolfa" host=wolfa.herokuapp.com request_id=a740f3f6-51c2-47ad-bb13-56bf4edb1bcd fwd="34.239.254.200" dyno=web.1 connect=0ms service=2257ms status=500 bytes=450 protocol=https

It's quite puzzling, since I can ask Wolfram '2+2' and 'earth speed' but 'light speed' and 'inches' doesn't work. Any ideas?

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.