Category Archives: Python
FreeBSD 6.3 and Turbogears
I upgraded a test server to FreeBSD 6.3 (released a few days ago) and all was working well apart from my TurboGears app. I run a TurboGears instance behind mod_wsgi and it wouldn’t start. Here is the error I got in http_errors.log [Sat Jan 19 11:32:42 2008] [error] [client 207.155.93.149] mod_wsgi (pid=1292): Exception occurred within [...]
Python Style Plugins Made Easy
Sometimes you need to write code that loads python at runtime. Plugin architectures are a good example of this. Plugins allow extensibility but more importantly (for me at least) they enforce a strict API. Anyway, I’ve written this code a few times so I thought I’d modularize it. The specific bit of code I am [...]

Recent Comments