Sections
Daniel
Moriah
Photos
Recipes
Movies
Software
Other
About
Contact
Show/Hide Search
Wolf
Entries By:
Daniel
Moriah

Entry Type:
Audio
Blog
Chat
Code
Link
Lyrics
Picture
Quote
Thought
Video

Archives By:
2012
M
A
M
F
J
2011
D
N
O
S
A
J
J
M
A
M
F
J
2010
D
N
O
S
A
J
J
M
A
M
F
J
2009
D
N
O
S
A
J
J
M
A
M
F
J
2008
D
N
O
S
A
J
J
M
A
M
F
J
2007
D
N
O
S
A
J
J
M
A
M
F
J
2006
D
N
O
S
A
J
J
M
A
M
F
J
2005
D
N
O
S
A
J
J
M
A
M
F
J
2004
D
N
O
S
A
J
J
M
A
M
F
J
2003
D
N
O
S
A

Links:
Toast Driven
Gemstone Creations
Wagging Work
Luke
Peter
Matt
Christian
Andy
Nummy!
Arthur
Nico
Mike T.
Phil
March 20, 2007

[Daniel] Downtime

So, apparently a recent commit in the Django Subversion repository increase the version requirement in the MySQL adapter to 1.2.1p2. Those of you on Dreamhost would notice this, as I did, by the huge number of error messages that flooded into your inbox. Within the last 24 hours, I received well over 300 messages of exceptions being thrown. So if you're among the many who received the nasty purple error screen, my apologies.

The solution to this problem, at least for me, was to install my own version of Python and all the libraries I needed within my home directory, modifying my "~/.bash_profile" to point to the new binary and adapting all FastCGI handlers to point to the new binary. You can use this Turbogears article to get started, then simply symbolic link your Django into your new "site-packages" instead of installing TurboGears.

Benefits: I now control all of the version of Python-related stuff for my projects. I have waited for literally months for Dreamhost to update the "MySQLdb" library to one that handles decimals properly and now I simply don't have to wait for them. Another benefit comes from being able to migrate Wagging Work back to MySQL as things like, oh I don't know MONEY AMOUNTS, will work now.

Thank you to everyone for their patience and rest assured that the plans for world domination will now continue.

Add A Comment