Closed Bug 1041321 Opened 11 years ago Closed 11 years ago

"Error extracting manifest" when icons are missing

Categories

(Marketplace Graveyard :: Validation, defect, P3)

Avenir
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: phq, Assigned: mstriemer)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 Steps to reproduce: 1. I created a package using cordova build firefoxos. 2. Upload the package to marketplace Actual results: Got this message "Error extracting manifest from zip file." The maniffest.webapp file was there in the correct place. However there were no icons specified, when I added a 60 icon I got another error message about requiring 128px(which is good). Expected results: The error message should not complain about not being able to extract the manifest but rather explain that icons are missing.
Found out that cordova generates a zip starting with a "." folder. When it is unzipped the files are placed in the current folder but I guess this is what is confusing for the validator.
Assignee: nobody → mstriemer
Priority: -- → P3
This should definitely work, thanks for the bug report. I'll look into fixing it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
So this has already been fixed in the cordova-firefox codebase but it could be a few weeks before it can be updated through cordova. You can avoid using the build command by using `prepare` instead, here's a one-liner to make a "package.zip" file in your app's root directory. cordova prepare && pushd platforms/firefoxos/www && zip -r ../../../package.zip . && popd If you would like to use the `build` command you can follow Rodrigo Silveira's description of how to run cordova-firefox locally, see the "Running it Locally" section from his blog post [1]. [1] http://blog.rodms.com/posts/Contributing-to-Firefox-OS-Cordova-initiative/
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Resolution: FIXED → WONTFIX
You need to log in before you can comment on or make changes to this bug.