Archive for the ‘Mac OS X’ Category

The Leopard 10.5.7 update, the keychain and the clock.

I installed the 10.5.7 update for Mac OS X Leopard and after logging in i got a prompt that the system date was reset (to 1990-something). I am using the automatic date setting which gets the current date and time from apple.com so I figured that it was no biggie. But after a short while [...]

Python 2.6, Leopard 10.5.6 and psycopg 2.0.10

Psycopg2 is the postgreSQL adapter for Django. If you are trying to set it up on Mac OSX (using the supplied setup.py script) you may run into an error saying
File "setup.py", line 219, in finalize_options
NameError: global name 'w' is not defined

This is a simple thing to fix: open the setup.py file coming with psycopg2 and [...]