Long time from previous post. I have been quite busy with my work and other hobbies and therefore haven’t had too much time for hacking. This month I had some spare time and started migrating my VPS from Slicehost to Linode. I have one python program where I use MongoDB and Mongokit which I was installing with easy_install. For all depencies I picked lastest versions and result wast that program wasn’t working. For example code
db.user.User
returned collection object
Collection(Database(Connection('localhost', 27017), u'dbname'), u'users.User')when it should return User object.
First I thought it was Mongokit update which caused the issue but after few evenings debugging session I found that it worked with Paster but not with Gunicorn. Only after that I realized to downgrade Gunicorn back to 0.11.1 from 0.12 and ta-da! Now that program works as expected.
Good remind for not to change too many things same time :) Its much easier to debug if you only upgrade only one package at time. This way you can find out quite fast what is causing the issue. I haven’t time to look why Gunicorn version 0.12 didn’t work on this setup, but for now I’m fine with version 0.11.1.

Comments