Ciao,

Il 17/11/2014 10:17, Marco Ippolito ha scritto:
-rw-rw-r--  1 marco marco 2,0G nov 17 09:56 X_Matrix
-rw-rw-r--  1 marco marco 2,0M nov 17 09:57 X_Matrix.gz

[snip]

Traceback (most recent call last):
   File "./matr_init_pickling.py", line 131, in <module>
     gzipping.get_zipped()
   File "./matr_init_pickling.py", line 95, in get_zipped
     return self.gzip_meth()
   File "./matr_init_pickling.py", line 89, in gzip_meth
     f_out.writelines(f_in)
   File "/usr/lib/python2.7/gzip.py", line 235, in write
     self.crc = zlib.crc32(data, self.crc) & 0xffffffffL
OverflowError: size does not fit in an int

google suggerisce di dire a zip di lavorare con file più grandi di 2G, perchè il default è di fermarsi ai 2G. Vedi http://bugs.python.org/issue17201

riccardo
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a