bottle app "crashes"

Martin S martin at skjoldebrand.eu
Wed Jul 8 18:59:55 CEST 2015


On Monday 06 July 2015 21.57.21 Jason Friedman wrote:
> > Last summer I fumbled together a small appplication that calculates both
> > LASK and Elo ratings for chess. I managed to "webify" it using Bottle.
> > This works nicely on my laptop for testing.
> > 
> > Once I log off (or my user session times out) my server where I've started
> > the application with python3 LASKweb.py & the application dies within a 
> > minute, resulting in clients getting 404 errors when accessing the page
> > (a simple table that's processed by the application).
> 
> Similar to other answers here, I do not know why your application
> stops serving, but I have had success using waitress
> (https://pypi.python.org/pypi/waitress) with bottle
> (http://bottlepy.org/docs/dev/deployment.html#switching-the-server-backend).

Now it seems to be working properly. Thanks all.

/Martin S


More information about the Python-list mailing list