Python OverflowError: strings are too large to concat
python 执行报了这个错,大家帮忙看下是什么问题,谢谢了~~~
Traceback (most recent call last):
File "collect-cdn-logs-manual.py", line 220, in ?
main()
File "collect-cdn-logs-manual.py", line 209, in main
collectDilianLogs(day)
File "collect-cdn-logs-manual.py", line 80, in collectDilianLogs
mergrGzipFiles(fileList, outputGzipFilePath, True)
File "collect-cdn-logs-manual.py", line 51, in mergrGzipFiles
outGzipFile.write(gzipFile.read())
File "/usr/lib64/python2.4/gzip.py", line 218, in read
self._read(readsize)
File "/usr/lib64/python2.4/gzip.py", line 278, in _read
self._add_read_data( uncompress )
File "/usr/lib64/python2.4/gzip.py", line 295, in _add_read_data
self.extrabuf = self.extrabuf + data
OverflowError: strings are too large to concat