pyeve / eve-demo

A fully functional REST Web API. Powered by Eve.
Other
256 stars 78 forks source link

Live demo 500 error #19

Closed pedro2555 closed 6 years ago

pedro2555 commented 6 years ago

I've managed to break something I believe.

The live demo is returning a 500 on GET requests.

nicolaiarocci commented 6 years ago

It's fixed now. The problem was with a date which was changed to a value with a year prior to 1900, which is not supported by python's strftime

pedro2555 commented 6 years ago

ok, thanks for reporting that. I wass really wonderingwhat happened.

Glad to know.

Do you think a check on this should be added, and return a bad request instead?

nicolaiarocci commented 6 years ago

There is an open ticket on the Eve repository abou this. Btw if you run your eve instance on Python 3.3+ it won't happen (should probably upgrade the eve demo instance)

s-eswar commented 5 years ago

It's fixed now. The problem was with a date which was changed to a value with a year prior to 1900, which is not supported by python's strftime

@nicolaiarocci In attempt to attempt sample api using python eve, I get 500 error. How can it be fixed??