Tried to get it working with python 2.6