pmqs / Fix-OneDrive-Zip

Fix OneDrive Zip files >4Gig
264 stars 23 forks source link

Error: Nothing to do 'Total Number of Disks' field is already 1 #15

Open kpratikraj opened 1 week ago

kpratikraj commented 1 week ago

Hey there, thanks for the perl script. I tried executing it and I am getting the error "Nothing to do: 'Total Number of Disks' field is already 1". I looked at your comment on another issue and ran the zipdetails script, I get a long list of files when I run that so seems like there are files in the zip? Please help, its important data locked in this zip file. Thanks!

kpratikraj commented 1 week ago

I get the following error when I run zipdetails.

First file error: 0B2874C82 ZIP64 END CENTRAL DIR 06064B50 (101075792) RECORD 0B2874C86 Size of record 4A0360803818BC1C (5333212487550024732) #

FATAL: Offset 0xB2874C8E: Unexpected zip file truncation while reading 'Zip64 End of Central Directory Record'

Expected 0x4A0360803818BC1C (5333212487550024732) bytes, but only 0x350630994 (14233569684) available .

======== Second file error:

FATAL: Unexpected zip file truncation

Expected 0xFFFFFFFFFFFFAAEC (18446744073709529836) bytes, but only 0x0 (0) available .

pmqs commented 1 week ago

My script thinks that the error that onedrive makes with large zip files isn't present. What error do you get when you try unzipping the file?

pmqs commented 1 week ago

Also, when you run zipdetails, did it output any warning messages?

kpratikraj commented 1 week ago

My script thinks that the error that onedrive makes with large zip files isn't present. What error do you get when you try unzipping the file?

The windows unzipper says the zipped folder is empty

pmqs commented 1 week ago

Sorry, I missed a couple of yor responses. It looks like your zip file is corrupt. You need to try running a zip recovery. With info zips unzip you can use the -FF option

kpratikraj commented 1 week ago

Can you please guide me with info-zips unzip extractor? I tried downloading their UnZip6.0 but the download link ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/ is not working.