ZIP64 extensions error
Opened this issue · 1 comments
ExtReMLapin commented
I remember having this error in before but it wasn't (somehow) causing any issue :
Dec 1 14:42:16 OpenScanPi Node-RED[269]: 1 Dec 14:42:16 - [error] [python3-function:Run Routine] Traceback (most recent call last):
Dec 1 14:42:16 OpenScanPi Node-RED[269]: File "<string>", line 269, in <module>
Dec 1 14:42:16 OpenScanPi Node-RED[269]: 1 Dec 14:42:16 - [error] [python3-function:Run Routine] File "<string>", line 248, in python_function
Dec 1 14:42:16 OpenScanPi Node-RED[269]: File "<string>", line 166, in zip
Dec 1 14:42:16 OpenScanPi Node-RED[269]: File "/usr/lib/python2.7/zipfile.py", line 824, in __exit__
Dec 1 14:42:16 OpenScanPi Node-RED[269]: 1 Dec 14:42:16 - [error] [python3-function:Run Routine] self.close()
Dec 1 14:42:16 OpenScanPi Node-RED[269]: File "/usr/lib/python2.7/zipfile.py", line 1371, in close
Dec 1 14:42:16 OpenScanPi Node-RED[269]: 1 Dec 14:42:16 - [error] [python3-function:Run Routine] " would require ZIP64 extensions")
Dec 1 14:42:16 OpenScanPi Node-RED[269]: zipfile.LargeZipFile: Central directory offset would require ZIP64 extensions
Dec 1 14:42:16 OpenScanPi Node-RED[269]: 1 Dec 14:42:16 - [error] [python3-function:Run Routine] Python Function process exited with code 1
Dec 1 14:42:16 OpenScanPi Node-RED[269]: 1 Dec 14:42:16 - [info] [python3-function:Run Routine] Python function 'Run Routine' running on PID 3146
I fixed it by going into Run Routine module on scan tab
line 101
with ZipFile("/home/pi/shared/temp.zip", "a", allowZip64=True) as zip:
to
with ZipFile("/home/pi/shared/temp.zip", "a") as zip:
ExtReMLapin commented