Solved! Go to Solution.
Hi all!!!
I have this problem, I use a Geoprocess Service to extract data to a SHP file and when it's over within the same geoprocess I call another python script to "ZIP" those generated files. When I try to read that ZIP file in my Flex Viewer application I receive this error:
Error: invalid block type (type == 3)
at com.cesan.common.files.zip::Inflater/inflate()
at com.cesan.common.files.zip::ZipFile/getInput()
I've made some tests and I find out that if I extract the files to a folder later on then zip them with an external tool like WINRAR, it actually works and the Flex can read that ZIP with no problem.
I'm using the zipFile library and using the example of ESRI to zip the file, I'm also trying to do it with an external application, "7z", after the creating is complete in the same geoprocess and gave me the above error... I'm clueless about what I'm doing wrong or what happens in the process. If someone have or had any advice I really appreciate it!!! It is urgent!!!
Thank you in advance for your help!!!
Hi all!!!
I have this problem, I use a Geoprocess Service to extract data to a SHP file and when it's over within the same geoprocess I call another python script to "ZIP" those generated files. When I try to read that ZIP file in my Flex Viewer application I receive this error:
Error: invalid block type (type == 3)
at com.cesan.common.files.zip::Inflater/inflate()
at com.cesan.common.files.zip::ZipFile/getInput()
I've made some tests and I find out that if I extract the files to a folder later on then zip them with an external tool like WINRAR, it actually works and the Flex can read that ZIP with no problem.
I'm using the zipFile library and using the example of ESRI to zip the file, I'm also trying to do it with an external application, "7z", after the creating is complete in the same geoprocess and gave me the above error... I'm clueless about what I'm doing wrong or what happens in the process. If someone have or had any advice I really appreciate it!!! It is urgent!!!
Thank you in advance for your help!!!