for the record, with the aid of Chris and Robert we managed to pin this down to a bug in python. Apparently python 2.6.2 as I had is too old. python 2.6.6 is fine Chris and Robert, thanks for your help! Frans