[Twisted-web] deployment with twistd of simple web application

Axel Rau Axel.Rau at Chaos1.DE
Fri Nov 8 10:19:07 MST 2013


Am 08.11.2013 um 15:53 schrieb exarkun at twistedmatrix.com:

> On 12:33 pm, axel.rau at chaos1.de wrote:
>> 
>> Am 05.11.2013 um 13:25 schrieb Laufens Van Houtven <_ at lvh.io>:
>>> You probably want to read this:
>>> 
>>> https://twistedmatrix.com/documents/current/core/howto/application.html
>>> 
>>> There's a number of ways you can use twistd web, for example with a tac file, but personally I always opt for using a Twisted plugin, so you instead do twistd mything :)
>> 
>> [snip]
>> exceptions.SyntaxError: invalid syntax (meteo_plugin.py, line 29)
> 
> Unfortunately your code was mangled beyond recognition by your email client.
> 
> Try attaching the code instead so that we can see what you actually have.
> 
Sorry.
Here it comes:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: meteo_plugin.py
Type: text/x-python-script
Size: 907 bytes
Desc: not available
URL: <http://twistedmatrix.com/pipermail/twisted-web/attachments/20131108/2a0f5138/attachment.bin>
-------------- next part --------------
..and the backtrace: 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: backtrace.txt
URL: <http://twistedmatrix.com/pipermail/twisted-web/attachments/20131108/2a0f5138/attachment.txt>
-------------- next part --------------


Axel
---
PGP-Key:29E99DD6  ? +49 151 2300 9283  ? computing @ chaos claudius



More information about the Twisted-web mailing list