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


Groups > comp.lang.python > #93545 > unrolled thread

Re: bottle app "crashes"

Started byJason Friedman <jsf80238@gmail.com>
First post2015-07-06 21:57 -0600
Last post2015-07-06 21:57 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#93545 — Re: bottle app "crashes"

FromJason Friedman <jsf80238@gmail.com>
Date2015-07-06 21:57 -0600
SubjectRe: bottle app "crashes"
Message-ID<mailman.334.1436241444.3674.python-list@python.org>
> 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).

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web