Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'resulting': 0.04; 'python3': 0.05; 'nicely': 0.07; 'received:localnet': 0.09; '404': 0.16; 'calculates': 0.16; 'from:addr:martin': 0.16; 'out)': 0.16; 'wsgi': 0.16; 'pointer': 0.18; 'all,': 0.20; '(or': 0.21; 'recognize': 0.22; '(you': 0.23; 'errors': 0.23; "i've": 0.24; 'tried': 0.24; 'header:User-Agent:1': 0.26; 'processed': 0.27; "doesn't": 0.28; 'received:se': 0.29; 'testing.': 0.29; 'instruction': 0.29; 'server.': 0.30; 'run': 0.32; 'table': 0.32; 'anyone': 0.32; 'getting': 0.33; 'dies': 0.33; 'server': 0.34; 'to:addr:python-list': 0.35; 'but': 0.36; 'there': 0.36; 'charset :us-ascii': 0.37; 'summer': 0.38; 'application': 0.39; 'to:addr:python.org': 0.39; 'seem': 0.39; 'where': 0.40; 'clients': 0.60; 'simple': 0.61; 'times': 0.61; 'within': 0.64; 'ratings': 0.66; 'laptop': 0.67; 'bottle': 0.84; 'idiot': 0.84 X-Virus-Scanned: amavisd-new at citynetwork.se From: Martin S To: python-list@python.org Subject: bottle app "crashes" Date: Sun, 05 Jul 2015 18:45:26 +0200 User-Agent: KMail/4.14.9 (Linux/4.0.6-1-ARCH; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Mailman-Approved-At: Mon, 06 Jul 2015 10:19:23 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436170765 news.xs4all.nl 2868 [2001:888:2000:d::a6]:56103 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93518 Hi all, 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. However ... (you knew there would be a however right) 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). I've tried installting bottle deamon but I keep getting errors to the effect that it doesn't recognize bottledeamon. Also I've tried to run as a wsgi application, but I seem to missunderstand what modifications I need to do the get it to run (I get server misconfiguration errors on the latter). Do anyone have a pointer to an idiot proof instruction on how to deploy a simple bottle application to a live server. /Martin S