Page 1 of 1

CreatePack issue

Posted: Sat Sep 14, 2024 6:57 pm
by RichAlgeni
Has anyone run into a CreatePack issue, where the packed file ends up corrupt?

I am using the following process to pack a 100 MB QuickBooks file, and rename it to a NAS.

Code: Select all

packNumber = CreatePack(#PB_Any, "..\qb_backups\keeneStore.7z", #PB_PackerPlugin_Lzma, 7)
If packNumber
    result = AddPackFile(packNumber, "..\qb\keeneStore.qbw", "keeneStore.qbw")
    ClosePack(packNumber)
Else
    ProcedureReturn 0
EndIf
Both 7zip and WinRAR return the following: Errors: is not archive.

Just wondering if anyone has experienced this?

Note: For clarity sake, I used actual file name instead of the variable names. My process uses variable names.

Re: CreatePack issue

Posted: Sat Sep 14, 2024 7:05 pm
by Quin
I did notice a while ago that the LZMA packer on the Mac seemingly gives corrupt files sometimes, but I ended up not needing it so didn't investigate further. You're not the only one to ever run into this.

Re: CreatePack issue

Posted: Sun Sep 15, 2024 9:04 pm
by RichAlgeni
RichAlgeni wrote: Sat Sep 14, 2024 6:57 pm Has anyone run into a CreatePack issue, where the packed file ends up corrupt?
One big piece of information I just found, this is running on a bitlocked machine.