Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20238] Build Server Zip files to not unzip on download or Finder

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-01-14T19:28:29.000+0000
Affected Version/sRelease 6.0.0, Release 5.2.0, Release 5.1.2, Release 6.1.0
Fix Version/sRelease 5.2.0
ComponentsiOS
Labelsdefect
ReporterBen Bahrenburg
AssigneeChee Kiat Ng
Created2016-01-14T12:39:28.000+0000
Updated2016-01-14T19:28:33.000+0000

Description

Hello, Recently none of the zip files downloaded from http://builds.appcelerator.com.s3.amazonaws.com/index.html unzip via browser download or from Finder. They do unzip from terminal using the unzip command. The issue seems to be related to Ti.SafariDialog/.git/COMMIT_EDITMSG not containing an end of stream entry. To recreate: 1) Use Safari or Chrome on mac and download the latest zip from Master. Please note I've only tested the OS X download 2) Once downloaded you will receive an error that your browser was not able to decompress the file. 3) Try to unzip using Finder and you will get a generic message that the file or folder does not exist. To find the issue: 1) Open terminal in the directly you've downloaded the file 2) Run the below statement. Please note I renamed the file to avoid typing $ zip -FF download.zip --out test.zip 3) You will see the following printed Fix archive (-FF) - salvage what can Found end record (EOCDR) - says expect single disk archive 4) If you scroll to the end of the output you will see the failure. copying: modules/iphone/ti.touchid/1.2.0/module.xcconfig (452 bytes) copying: Ti.SafariDialog/ (0 bytes) copying: Ti.SafariDialog/.git/ (0 bytes) copying: Ti.SafariDialog/.git/branches/ (0 bytes) copying: Ti.SafariDialog/.git/COMMIT_EDITMSG zip warning: no end of stream entry found: Ti.SafariDialog/.git/COMMIT_EDITMSG zip warning: rewinding and scanning for later entries

Comments

  1. Ingo Muschenetz 2016-01-14

    We should delete the .git folder.
  2. Chee Kiat Ng 2016-01-14

  3. Eric Wieber 2016-01-14

    Verified fixed. I am able to unzip the latest zips, without issue, using finder, the provided command, and other unarchiving apps.

JSON Source