| Summary: | Trying to import zip file kills server | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> | ||||
| Component: | Node | Assignee: | Silenio Quarti <Silenio_Quarti> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P3 | CC: | Olivier_Thomann, Silenio_Quarti | ||||
| Version: | 12.0 | ||||||
| Target Milestone: | 12.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Exception on the server:
events.js:141
throw er; // Unhandled 'error' event
^
Error: invalid signature: 0x80014
at /Users/silenio/git/org.eclipse.orion.client/modules/orionode/ws/org.eclipse.orion.client/modules/orionode/node_modules/unzip/lib/parse.js:59:13
at processImmediate [as _immediateCallback] (timers.js:383:17)
Perhaps we should try using: https://www.npmjs.com/package/unzip2 instead of unzip. It seems that there is no traction for the problem in unzip, see: 1. https://github.com/EvanOxfeld/node-unzip/issues/73 2. https://github.com/EvanOxfeld/node-unzip/issues/89 Thanks Mike for figuring it out. Fixed http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=427f190b724e7c87bfd9c2b6a8830298ecb80916 |
Created attachment 260869 [details] The zip file to import Try importing the attached zip file. The import appears to succeed (but really didn't) and the server will 503.