I am getting this error, and I dont know what it means. How can I fix this problem?
my code looks like this, I\'ve used it before and it has worked:
I had a similar problem, resulting in KeyError: '\x1f'.
KeyError: '\x1f'
In my case, if was pickled to a gzip file (ie: gzip.open(fileName,'wb')), and I was trying to read it with a normal file object (ie: open(fileName,'rb')).
gzip.open(fileName,'wb')
open(fileName,'rb')