ZIP does not support timestamps before 1980
Traceback (most recent call last):
File "/usr/local/bin/omeka-to-pkg", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/omekatopkg/__init__.py", line 133, in main
handle(args)
File "/usr/local/lib/python3.7/site-packages/omekatopkg/__init__.py", line 112, in handle
package.create_package_zip(package_path)
File "/usr/local/lib/python3.7/site-packages/omekatopkg/package.py", line 67, in create_package_zip
ziparchive.write(filename=filename, arcname=mediaInfo['path'])
File "/usr/local/lib/python3.7/zipfile.py", line 1730, in write
zinfo = ZipInfo.from_file(filename, arcname)
File "/usr/local/lib/python3.7/zipfile.py", line 530, in from_file
zinfo = cls(arcname, date_time)
File "/usr/local/lib/python3.7/zipfile.py", line 357, in __init__
raise ValueError('ZIP does not support timestamps before 1980')
ValueError: ZIP does not support timestamps before 1980
The files are timestamped from Epoch:
-r-xr-x--- 1 www-data www-data 7569916 Jan 1 1970 /mnt/s3/original/il_etait_une_fois_maestro_le_tutoriel_de_dessin.mp4
-r-xr-x--- 1 www-data www-data 44182595 Jan 1 1970 /mnt/s3/original/dessiner_une_main_tenant_un_verre.mp4
This should be handled gracefully.