files_zip
files_zip copied to clipboard
TypeError: Unsupported operand types: array & float
After trying to create a ZIP archive from a folder name "@ABCTEST2024", the creation process fails. Same for other attemps with a) a single file and b) a set of single files.
ZIP files are created, but empty (size of 0 KB).
Let me know which information is needed. Does this app rely on 64 bit OS maybe?
[files_zip] Fehler: TypeError: Unsupported operand types: array & float at <<closure>>
0. /var/www/nextcloud/3rdparty/deepdiver/zipstreamer/src/ZipStreamer.php line 387
ZipStreamer\pack64le()
1. /var/www/nextcloud/3rdparty/deepdiver/zipstreamer/src/ZipStreamer.php line 396
ZipStreamer\ZipStreamer->buildZip64ExtendedInformationField()
2. /var/www/nextcloud/3rdparty/deepdiver/zipstreamer/src/ZipStreamer.php line 343
ZipStreamer\ZipStreamer->buildLocalFileHeader()
3. /var/www/nextcloud/3rdparty/deepdiver/zipstreamer/src/ZipStreamer.php line 212
ZipStreamer\ZipStreamer->beginFile()
4. /var/www/nextcloud/apps/files_zip/lib/Service/ZipService.php line 212
ZipStreamer\ZipStreamer->addFileFromStream()
5. /var/www/nextcloud/apps/files_zip/lib/Service/ZipService.php line 192
OCA\FilesZip\Service\ZipService->addFile()
6. /var/www/nextcloud/apps/files_zip/lib/Service/ZipService.php line 206
OCA\FilesZip\Service\ZipService->addNode()
7. /var/www/nextcloud/apps/files_zip/lib/Service/ZipService.php line 188
OCA\FilesZip\Service\ZipService->addFolder()
8. /var/www/nextcloud/apps/files_zip/lib/Service/ZipService.php line 131
OCA\FilesZip\Service\ZipService->addNode()
9. /var/www/nextcloud/apps/files_zip/lib/BackgroundJob/ZipJob.php line 68
OCA\FilesZip\Service\ZipService->zip()
10. /var/www/nextcloud/lib/public/BackgroundJob/Job.php line 81
OCA\FilesZip\BackgroundJob\ZipJob->run()
11. /var/www/nextcloud/lib/public/BackgroundJob/QueuedJob.php line 57
OCP\BackgroundJob\Job->start()
12. /var/www/nextcloud/lib/public/BackgroundJob/QueuedJob.php line 47
OCP\BackgroundJob\QueuedJob->start()
13. /var/www/nextcloud/cron.php line 152
OCP\BackgroundJob\QueuedJob->execute()
at 2024-01-19T21:15:04+01:00
By the way needing to wait for the cron run is a big downside of this app (5 minutes can be a long time). Why not start instantly with creation, especially when there's a ZIP queue and no other progress is running currently?