Thursday, July 29, 2010

python zipfile.py MemoryError

Was getting the following error on zipfile.py (actually while attempting to run a cascadenik script):
newdata = self.dc.decompress(newdata)
MemoryError

I fixed this error by changing the compression algorithm that my .zip was being created with to "STORE" (i.e. no compression).