South + SQLite3 on Python 2.5

A few hours were burned trying to figure out why South would crash when performing migrations that altered column attributes. Turns out the problem is not with South, but the Sqlite3 module bundled with Python 2.5.

The solution is simple: upgrade to the latest Pysqlite version. As of this time version 2.6.0 works great, and building the module is straight forward:

python setup.py build_static install

References

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s