Python serializer error

This sounds like the problem mentioned here:

I have not tried the suggested workaround.