Skip to main content
Question

ZipExtractor failed

  • February 25, 2021
  • 1 reply
  • 52 views

Hello,

I've tried to use ZipExtractor to unzip file (zip available here: https://drive.google.com/file/d/1BTSAYP5dJ86T5LV1-vM3ayRTkUNuiDVZ/view?usp=sharing)

and error occured ("error_file" in attachment).

I obtained messages:

"Unexpected error: [Errno 2] No such file or directory: 'C:\\\\Users\\\\eliza\\\\Desktop\\\\S2A_OPER_MSI_L1C_TL_EPA__20150715T095303_20160812T015357_A000319_T34UFA_N02_04_01\\\\S2A_OPER_PRD_MSIL1C_PDMC_20160812T191123_R036_V20150715T094306_20150715T094315.SAFE\\\\S2A_OPER_MTD_SAFL1C_PDMC_20160812T191123_R036_V20150715T094306_20150715T094315.xml'"

and

"|ERROR |Error encountered while calling method `input'

|FATAL |ZipExtractor_PythonCaller (PythonFactory): PythonFactory failed to process feature"

 

I've tried to search Python script in ZipExtractor but I could not find solution.

When I browse unziped file by ZipExtractor I can't find all files that I can find when I unzip zip file myself.

 

It's my ZipExtractor:

ZipExtractorThanks for any advice

Cheers

Ann

1 reply

  • Author
  • February 25, 2021

I can see that there is step into 'extract' function in Python script in ZipExtractor but program break at line:

    with zipfile.ZipFile(zipPath) as z: z.extractall(destPath)

sriptand he didn't execute line self.findFiles(destPath, depth)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings