Home » Blog

Setuptools Zipimport IOError

After installing Python’s Pygments module on my slice I ran into the following error when trying to run a django app.

IOError: zipimport: can not open file /usr/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg

Django Gotchas when moving to a Production Server

If you’re a developer learning Python/Django then you’re almost certain to run into some of the same issues that I did. In particular, when deploying to a production server, the admin throws a 500 error and when trying to troubleshoot, your changes have no effect.

Python Module on Import Path Won't Import

I just ran into an interesting issue whilst implementing Akismet spam protection on my contact form. Although the akismet.py module was on my import path, the module wouldn’t import in a python shell.

Changing File Names with the Keyboard in Textmate

I’ve been using Textmate for well over a year and it took me a significant portion of that time to work out (because I couldn’t find any documentation) that you can actually edit a filename using the keyboard. Just select it and hit <space> This might be construed ...

Problems with python-twitter

Although python-twitter was working fine on my local development machine, I couldn’t get it working on my Slicehost Ubuntu VPS. The error Django/Python would throw was:

‘module’ object has no attribute ‘Api’ twitter

A New Chapter in Django

I’ve been keen to breathe some life into my blog for a while. As with all things, there just never seemed an opportunity until that is, I was introduced to the rapid web application development framework, Django. So, to coincide with my taking on a full time position at Lift Interactive here in deep freeze Edmonton, I’ve rebuilt everything using what is certainly one of the finest frameworks out there.

Latest Tweet

Even if you use a third party client, all your chat logs are still stored in Gmail. Nice. about 13 hours ago

Recent Posts

Elsewhere