Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #93545
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.91.MISMATCH!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jsf80238@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.017 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'url:pypi': 0.03; 'resulting': 0.04; 'python3': 0.05; 'nicely': 0.07; 'stops': 0.07; 'cc:addr:python-list': 0.09; '404': 0.16; 'calculates': 0.16; 'out)': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; '(or': 0.23; 'errors': 0.23; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'message-id:@mail.gmail.com': 0.27; 'processed': 0.27; 'testing.': 0.29; 'table': 0.32; 'getting': 0.33; 'url:python': 0.33; 'dies': 0.33; 'similar': 0.33; 'server': 0.34; 'received:google.com': 0.35; 'url:dev': 0.35; 'but': 0.36; 'url:org': 0.36; 'subject:: ': 0.37; 'summer': 0.38; 'log': 0.38; 'why': 0.39; 'application': 0.39; 'where': 0.40; 'your': 0.60; 'clients': 0.61; 'success': 0.62; 'times': 0.63; 'within': 0.64; 'laptop': 0.67; 'ratings': 0.72; 'bottle': 0.84; 'to:none': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=U2mA3nll+8Uql61I1/EJHbhZ3yRMNujtb5JAY+Lk70I=; b=d1iIkgbspZVE2s0trKMbiyC5zP5nx8HTO7y9dgoW60yzgpd6y2TVU25Zap583IxK1q 2e/luXci3g2wGUSOgy4xec0aXdVA+7fgsfrczUhUZdnil/NSsA2hTPkRpbxPYdh9jwdo jZLESnCcXLLj6JRxL6HQs4/AGNXdl+EYwQlS3uwfHIv2xGMF/hCgsJVCONuQRddHpvwy hM9SG4fXd3jSgfAouWzsNF5sAn2EUr/7uim0CutXwxsKln5cxpYkgwCFnk+vlaGZPhGz NkQ2DjMGO0tfJvu8AP14sFcO2g65AZVf0utJa5+kpPEP+f1Vfs5ht6UrMOjoG3xgZ3TQ Pd8g== |
| MIME-Version | 1.0 |
| X-Received | by 10.180.101.233 with SMTP id fj9mr96264507wib.45.1436241441791; Mon, 06 Jul 2015 20:57:21 -0700 (PDT) |
| In-Reply-To | <1744901.sz0qzmb0Nj@homedragon> |
| References | <1744901.sz0qzmb0Nj@homedragon> |
| Date | Mon, 6 Jul 2015 21:57:21 -0600 |
| Subject | Re: bottle app "crashes" |
| From | Jason Friedman <jsf80238@gmail.com> |
| Cc | python-list <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.334.1436241444.3674.python-list@python.org> (permalink) |
| Lines | 13 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1436241444 news.xs4all.nl 2849 [2001:888:2000:d::a6]:39677 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 3802 |
| X-Received-Body-CRC | 3969620619 |
| Xref | csiph.com comp.lang.python:93545 |
Show key headers only | 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
Re: bottle app "crashes" Jason Friedman <jsf80238@gmail.com> - 2015-07-06 21:57 -0600
csiph-web