Fixing setuptools "TypeError: swig_sources()" error

I was trying to update to a newer version of Jinja2 on osx to meet Zine dependencies and I got the following error: Traceback (most recent call last): […snip…] File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/build_ext.py", line 77,…

Install lxml on OSX

Thanks to this post on lxml from Ian Bicking [http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/] I've found the following command is all that's required to install lxml on Mac OSX: STATIC_DEPS=true easy_install 'lxml>=2.2beta4'…

EuroDjangoCon Prague

Rob Lofthouse is putting on a European DjangoCon event in the beautiful city of Prague: > EuroDjangoCon is a Django conference that aims to bring together the community and provide a wide range of sessions, panels, lightning talks and showcases of Django usage within various businesses. We aim to educate,…

Unix Permissions Calculator

Project Fondue [http://projectfondue.com/] have been busy once again and we've just put live a Permissions Calculator [http://permissions-calculator.org/], a tool to make it simple to generate the syntax for the chmod (change mode) command. > Remembering the syntax for the chmod command can be tricky.…

Favicon Generator Launched

The first of several projects I've been working on with former colleagues Ed Eliot [http://ejeliot.com] and Cyril Doussin [http://cyril.doussin.name] is now live as part of Project Fondue [http://projectfondue.com/], which is a place where we're collaborating on various projects both…

Bazaar: Moving files after the fact

I recently came across a useful flag that can be use with Bazaar's move command. --after can be used to update bazaar's internal reference to the file after you've already moved the file. The syntax is as follows: $ mv foo bar # Doh should have…

Puppet: Server Configuration Made Easy

I've been working on a few collaborative side-projects in my spare time which has ended up requiring several servers provisioned by a couple of different providers. The majority of them are Slicehost VMs but we also use Bytemark as a way of distributing risk for the unlikely event…

Large Temporary Files Left Behind by ImageMagick

Recently since moving the CSS Sprite Generator [http://spritegen.website-performance.org/ ] to a new server we've had a couple of cases where the site has stopped working due to running out of disk-space. The cause was due to some epic temporary files being left behind by ImageMagick [http:…