Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Konrad Talik
    @ktalik
    Thx for the link
    Hamza Faran
    @hfaran
    Ah, well, APIError is a Tornado-JSON specific thing :P
    That is one of the example projects linked in the README
    If you ever want to raise an exception with error code and messages to propogate to the user, you should raise an APIError or use api_assert
    Konrad Talik
    @ktalik
    Brilliant
    Hamza Faran
    @hfaran
    No problem
    Konrad Talik
    @ktalik
    tornado_json.exceptions doc is missing. I think that confused me days ago ;) thanks for the examples
    Hamza Faran
    @hfaran
    Oh... so it is. How odd...
    I'll make an issue for that haha
    Konrad Talik
    @ktalik
    :+1:
    Konrad Talik
    @ktalik
    Hi Hamza. What would you recommend to imply a constant value on url, when implementing a handler? In other words I would like to have "/spam/<spamid>/eggs", where spamid is a parameter (also in python function of the handler) but "eggs" is always the same string.
    Konrad Talik
    @ktalik
    Hi @hfaran, still looking for the solution :(
    Hamza Faran
    @hfaran
    Hi @ktalik would love to help you out with this ASAP, but I am unfortunately busy with exams (amongst a number of other things) at the moment. I can hopefully look into this for you more in the last week of December. Please send me a ping around the 22nd if you haven't found a good solution by that time.
    Mustain
    @kang-mus
    hi @hfaran, i have try tornado-json, an compile my application with pyinstaller. But when i start my exe file, tornado success open port. when i try to access RequestHandler from tornado this returning normal, but when i try to access API url returned 404, can you help me please...
    Hamza Faran
    @hfaran
    @dpopcorn this only happens on the exe and not when running normally?
    Have you been doing all of your development on Windows?
    Mustain
    @kang-mus
    i developing in windows
    when i run from py file this running normal
    this error only at exefile
    after i try to compile from pyinstaller
    Mustain
    @kang-mus
    tornado_json.routes get_routes returning an empty array after I compile to exe