Open interminabilis opened 1 year ago
/content/drive/MyDrive/pyttitools Generating video from default/default.png found 50 frames matching imagesout/default/default.png
100% 50/50 [00:38<00:00, 1.12it/s] 10% 5/50 [00:01<00:12, 3.70it/s]
AttributeError Traceback (most recent call last)
/usr/local/lib/python3.9/dist-packages/PIL/ImageFile.py in _save(im, fp, tile, bufsize) 503 try: --> 504 fh = fp.fileno() 505 fp.flush()
AttributeError: '_idat' object has no attribute 'fileno'
During handling of the above exception, another exception occurred:
BrokenPipeError Traceback (most recent call last)
5 frames
in 86 p = Popen(cmd, stdin=PIPE) 87 for im in tqdm(frames): ---> 88 im.save(p.stdin, 'PNG') 89 p.stdin.close() 90
/usr/local/lib/python3.9/dist-packages/PIL/Image.py in save(self, fp, format, **params) 2238 2239 try: -> 2240 save_handler(self, fp, filename) 2241 finally: 2242 # do what we can to clean up
/usr/local/lib/python3.9/dist-packages/PIL/PngImagePlugin.py in _save(im, fp, filename, chunk, save_all) 1346 _write_multiple_frames(im, fp, chunk, rawmode) 1347 else: -> 1348 ImageFile._save(im, _idat(fp, chunk), [("zip", (0, 0) + im.size, 0, rawmode)]) 1349 1350 if info:
/usr/local/lib/python3.9/dist-packages/PIL/ImageFile.py in _save(im, fp, tile, bufsize) 517 while True: 518 l, s, d = e.encode(bufsize) --> 519 fp.write(d) 520 if s: 521 break
/usr/local/lib/python3.9/dist-packages/PIL/PngImagePlugin.py in write(self, data) 1042 1043 def write(self, data): -> 1044 self.chunk(self.fp, b"IDAT", data) 1045 1046
/usr/local/lib/python3.9/dist-packages/PIL/PngImagePlugin.py in putchunk(fp, cid, *data) 1029 1030 fp.write(o32(len(data)) + cid) -> 1031 fp.write(data) 1032 crc = _crc32(data, _crc32(cid)) 1033 fp.write(o32(crc))
BrokenPipeError: [Errno 32] Broken pipe
/content/drive/MyDrive/pyttitools Generating video from default/default.png found 50 frames matching imagesout/default/default.png
100% 50/50 [00:38<00:00, 1.12it/s] 10% 5/50 [00:01<00:12, 3.70it/s]
AttributeError Traceback (most recent call last)
/usr/local/lib/python3.9/dist-packages/PIL/ImageFile.py in _save(im, fp, tile, bufsize) 503 try: --> 504 fh = fp.fileno() 505 fp.flush()
AttributeError: '_idat' object has no attribute 'fileno'
During handling of the above exception, another exception occurred:
BrokenPipeError Traceback (most recent call last)
5 frames
/usr/local/lib/python3.9/dist-packages/PIL/Image.py in save(self, fp, format, **params) 2238 2239 try: -> 2240 save_handler(self, fp, filename) 2241 finally: 2242 # do what we can to clean up
/usr/local/lib/python3.9/dist-packages/PIL/PngImagePlugin.py in _save(im, fp, filename, chunk, save_all) 1346 _write_multiple_frames(im, fp, chunk, rawmode) 1347 else: -> 1348 ImageFile._save(im, _idat(fp, chunk), [("zip", (0, 0) + im.size, 0, rawmode)]) 1349 1350 if info:
/usr/local/lib/python3.9/dist-packages/PIL/ImageFile.py in _save(im, fp, tile, bufsize) 517 while True: 518 l, s, d = e.encode(bufsize) --> 519 fp.write(d) 520 if s: 521 break
/usr/local/lib/python3.9/dist-packages/PIL/PngImagePlugin.py in write(self, data) 1042 1043 def write(self, data): -> 1044 self.chunk(self.fp, b"IDAT", data) 1045 1046
/usr/local/lib/python3.9/dist-packages/PIL/PngImagePlugin.py in putchunk(fp, cid, *data) 1029 1030 fp.write(o32(len(data)) + cid) -> 1031 fp.write(data) 1032 crc = _crc32(data, _crc32(cid)) 1033 fp.write(o32(crc))
BrokenPipeError: [Errno 32] Broken pipe