CreatePack issue

Just starting out? Need help? Post your questions and find answers here.
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

CreatePack issue

Post 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.
Last edited by RichAlgeni on Sat Sep 14, 2024 8:03 pm, edited 2 times in total.
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: CreatePack issue

Post 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.
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Re: CreatePack issue

Post 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.
Post Reply