Compress/Decompress Inclustion?

J. Landman Gay jacque at hyperactivesw.com
Wed Oct 7 11:17:51 EDT 2020


Compression is part of the engine so you shouldn't need an inclusion. I've 
seen this error before and usually it's because the string has been altered 
in some way or wasn't compressed with LC or a compatible app.

Do you use binfile when retrieving the file from disk?

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 6, 2020 10:02:00 PM Bill Vlahos via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> In InfoWallet I store attachments as encrypted and compressed files on disk.
>
> When I build InfoWallet in LiveCode 9.6.1 and attempt to decompress and 
> decrypt the file, I get an error that the data is not compressed. The file 
> is definitely compressed.
>
> I’m manually selecting inclusions. Do I need to add compress and decompress 
> as an Inclusion? If so, which Inclusion would it be?
>
> Here is the error:
> Executing at 2:45:53 PM on Saturday, October 3, 2020
> Type: decompress: string is not compressed data
> Object: button 'ViewA' of card 'Records' of stack 'Bill Vlahos.ifw'
> Line: put decompress(vFile) into vFile
> Line Num: 16
> Hint: mouseUp
>
>
> Thanks,
> Bill Vlahos
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list