This is a migrated thread and some comments may be shown as answers.

unzip failed with exit code 9

6 Answers 2230 Views
Command-Line Interface
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
IE
Top achievements
Rank 1
IE asked on 28 Sep 2017, 03:21 PM
Running `appbuilder simulate` leads to `unzip failed with exit code 9`,

Is there anything that can be done to resolve this?

$ appbuilder simulate
Updating Telerik.BlackDragon.Client.Mobile.Tools.Package package...
Download completed.
Command C:\Program Files\Git\usr\local\node_modules\appbuilder\lib\common\resources\platform-tools\unzip\win32\unzip failed with exit code 9

6 Answers, 1 is accepted

Sort by
0
Garo
Telerik team
answered on 03 Oct 2017, 10:06 AM
Hello,

I have addressed this issue in the separate support ticket that you have opened. I would suggest we keep our communication there as this will ensure a more consistent and easy to follow conversation.

Regards,
Garo
Progress Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Martin
Top achievements
Rank 1
answered on 24 Jan 2018, 09:37 AM

Hey Garo,

Unfortunately I have the same issue.
Is there a sulition/fix?

Starting the simulator with VS Extansion works.
Starting the simulator with CLI throws error:
"Command C:\Users\......\unzip\win32\unzip failed with exit code 9"

System:

Dell Latitude E6540
Windows 10 Pro 64-Bit (verion: 1607; build: 14393.1593)
Intel i7-4800MQ

Already re-installed the appbuilder cli.

Best Regards
Martin Weber

 

0
Garo
Telerik team
answered on 26 Jan 2018, 02:03 PM
Hello Martin,

I cannot reproduce the reported behavior when testing locally with the AppBuilder CLI, however, the issue might be related to corrupted cache. If this is the case, to clear the local cache of the AppBuilder CLI, you need to do the following:

1) Open Windows explorer and navigate to %localappdata%\Telerik\BlackDragon\.appbuilder-cli.
2) Delete the Cache folder located there.
3) Open a the command prompt and run the appbuilder simulate command again.

If the above is not helpful, I would ask you to run the appbuilder simulate --log trace command and share the whole produced log in your next response.

Regards,
Garo
Progress Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Martin
Top achievements
Rank 1
answered on 29 Jan 2018, 10:28 AM

Hey Garo,

thanks for the quick response. 

I'm afraid, but your introduction didn't solve my problem.

D:\Entwickl\proDoppikMobile\auftragMobile\app>appbuilder simulate --log trace > appbuilder_simulate1.log
Error: Command C:\Users\martin_w\AppData\Roaming\npm\node_modules\appbuilder\lib\common\resources\platform-tools\unzip\win32\unzip failed with exit code 9
    at ChildProcess.childProcess.on (C:\Users\martin_w\AppData\Roaming\npm\node_modules\appbuilder\lib\common\child-process.js:112:36)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:886:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

 

In the attachment, you will find the log file.

Thank you so far for your time and help.

Best,
Martin Weber

 

 

 

0
Garo
Telerik team
answered on 01 Feb 2018, 09:41 AM
Hello Martin,

Thank you for sharing the requested logs.

It seems that for some reason the simulator package is not fully downloaded and attempting to extract the corrupted archive is causing the error. Are you by any chance working behind a proxy? If this is the case, the proxy most likely has some sort of file size restriction and it is cutting the download before it is completed. To resolve such issue you need to ensure that the proxy allows the download of larger files (~100MB for the simulator).

Alternatively, you might download the package manually and place it in the correct folder:
// Link to download the simulator
 
// Folder in which to extract the simulator
C:\Users\martin_w\AppData\Local\Telerik\BlackDragon\.appbuilder-cli\Cache\Telerik.BlackDragon.Client.Mobile.Tools.Package

Please, let me know if this helps.

Regards,
Garo
Progress Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Martin
Top achievements
Rank 1
answered on 01 Feb 2018, 02:40 PM

Hey Garo,

 

Yeah the proxy serverand the fireall has changed over the time. And it looks like, that our firewall detect the file as trojan.

Thank you so far for zout help, now I know the problem is In-house. I already informed our system admins.

 

Best,
Martin Weber

Tags
Command-Line Interface
Asked by
IE
Top achievements
Rank 1
Answers by
Garo
Telerik team
Martin
Top achievements
Rank 1
Share this question
or