Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93545

Re: bottle app "crashes"

References <1744901.sz0qzmb0Nj@homedragon>
Date 2015-07-06 21:57 -0600
Subject Re: bottle app "crashes"
From Jason Friedman <jsf80238@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.334.1436241444.3674.python-list@python.org> (permalink)

Show all headers | View raw


> 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).

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: bottle app "crashes" Jason Friedman <jsf80238@gmail.com> - 2015-07-06 21:57 -0600

csiph-web