Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:form': 0.07; 'method,': 0.09; 'received:151': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'emanuele': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Tornado': 0.16; 'appropriate': 0.16; 'example': 0.22; 'header:User-Agent:1': 0.23; 'least': 0.26; 'defined': 0.27; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; 'writes:': 0.31; 'class': 0.32; 'subject:with': 0.35; 'but': 0.35; 'url:org': 0.36; 'should': 0.36; 'wrong': 0.37; 'implement': 0.38; 'question,': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'che': 0.60; 'such': 0.63; 'url:group': 0.63; 'more': 0.64; 'quando': 0.84; 'suggests.': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Lele Gaifax Subject: Re: Tornado with cgi form Date: Wed, 17 Apr 2013 16:43:15 +0200 Organization: Nautilus Entertainments References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 151.62.76.2 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:OA5WWJo6vkFgBPRpuDHVUDBknxc= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366209797 news.xs4all.nl 2194 [2001:888:2000:d::a6]:58549 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43763 Renato Barbosa Pim Pereira writes: > *I installed tornado and he is functional, but when I execute the following > script:* I think this is the wrong place to ask such a question, more appropriate would be http://groups.google.com/group/python-tornado Anyway, you defined a MainHandler class *without* any method, and you should instead implement at least a "get" or "post" method, as the "Hello, world" example on http://www.tornadoweb.org suggests. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.