Monday, June 28, 2010

Sydney PyCon mod_wsgi talk slides available.

Sydney PyCon is over and my talk on mod_wsgi went okay. For those interested the slides can be downloaded from the mod_wsgi site.

Rather than try and explain how mod_wsgi worked, I concentrated on showing how to setup some basic things, but in doing so deliberately hit all the common problems that some people have with setting up a WSGI application under Apache and mod_wsgi. The slides therefore capture the details of various obscure error messages one will find in the Apache error logs when things do go wrong.

To illustrate issues related to the Python module search path and virtual environments I used Django as an example. The slides therefore are especially valuable if you are trying to deploy Django using mod_wsgi.

The intent is, and has been for a long time, to have a wiki page which goes through all the error scenarios. Time though is something I don't have a lot of these days and there is still so much about mod_wsgi which isn't documented properly. :-(

Tim. A few of us were talking about NZ conference and I was half joking about going over for it, which would make 3 PyCon's in 6 months for me. The only unknown to me was the location as is outside of the main centres. As such saw it as being a bit hard to get to. It would be good if the travel and accommodation parts of the NZ PyCon site could be updated sooner rather than later so a prospective presenter from outside of NZ can appreciate how much trouble or otherwise it may be.

Tim. One more thing. If was to do that, might consider a second talk more about how mod_wsgi works. Just have to work out how I can incorporate into that two 15 tonne robots so satisfy cool factor and can win prize for best talk. ;-)

Graham - great! You probably saw Danny Adair's (Conf Director) comments re. his having updated the site as tweeted here: http://twitter.com/kiwipycon/status/17488165439. One of the organising committee members is also planning on organising a bus from Auckland to Waitangi. You could try dropping him an email here: g dot kloss at massey dot ac dot nz.

@sandip For mod_wsgi that would likely only cause the process to crash in some bad way. In future you would be better off using the mailing list to start a discussion about such a thing. Here isn't the right place.