Page 1 of 1

Problem with AddPackMemory and UseZipPacker

Posted: Fri Feb 01, 2013 10:43 am
by peterb
Hi,

I have a problem with function AddPackMemory which use UseZipPacker. I run external apps and catch their outputs and then add them in to the zip. But result zip contains only a few of added outputs. I don't know whats wrong and why result zip not contains all of added outputs.

Thanks PeterB

here is my code - http://dl.dropbox.com/u/39103740/report_collector.pb and http://dl.dropbox.com/u/39103740/report.ini

Re: Problem with AddPackMemory and UseZipPacker

Posted: Sat Feb 02, 2013 8:06 pm
by idle
I just tested it on XP vm with 5.10b2 and it seemed to work
all the outputs seemed to appear under the wmi folder of the zip

Re: Problem with AddPackMemory and UseZipPacker

Posted: Sat Feb 02, 2013 8:31 pm
by peterb
I run it several times and here is the number of files in result zip.

73 of 73
73 of 73
73 of 73
73 of 73
12 of 73 !!!
18 of 73 !!!
73 of 73
12 of 73 !!!
12 of 73 !!!
73 of 73
73 of 73
12 of 73 !!!

I don't know why number of files is 12 or 18. :-(

My system is Windows 7 Professional 64bit and PureBasic 5.10 Beta 5 (Windows - x86)

Re: Problem with AddPackMemory and UseZipPacker

Posted: Sat Feb 02, 2013 9:12 pm
by idle
I ran it multiple times without problem but all I can think of is perhaps
it's failing with the calls to wmic