Question

I am trying to submit a new app into the firefox marketplace but I don`t know why it is showing the below error..

Your app failed validation with 1 error. Error extracting manifest from zip file.

I cannot install it through server to b2g mobile too as mentioned here.. as it is saying "Download Failed in the mobile.

Here`s my manifest file

{ "name": "Check Location", "description": "This app allows you to check your Location!", "launch_path": "/app.html", "developer": { "name": "RB", "url": "http://nothing.me" }, "icons": { "16": "/img/icon16.png", "32": "/img/icon32.png", "48": "/img/icon48.png", "64": "/img/icon64.png", "128": "/img/icon128.png" }, "default_locale": "en",  "permissions": { "geolocation": {
            "description" : "Marking out user location"
        } } }

Here`s package.manifest

{ "name": "Check Location", "description": "This app allows you to check your Location!", "launch_path": "/app.html", "developer": { "name": "RB", "url": "http://nothing.me" }, "icons": { "16": "/img/icon16.png", "32": "/img/icon32.png", "48": "/img/icon48.png", "64": "/img/icon64.png", "128": "/img/icon128.png" }, "default_locale": "en",  "permissions": { "geolocation": {
            "description" : "Marking out user location"
        } } }

I have done pasting Index.html, css and js folder into the package folder and zipped it as they have mentioned. But when I upload the zip file into the market place it is showing the error.. Please help me with this.. Check out the complete code Here

Était-ce utile?

La solution

The error simply denotes that system cannot find manifest.webapp from your zip file. https://github.com/mozilla/zamboni/blob/master/mkt/developers/forms.py#L512

You should make sure manifest.webapp is in root directory of your .zip file.

One possible mistake might be doing like below:

zip -r foo.zip foo/*

This will create a zip file whose root only contains foo folder, thus the submission system cannot find your manifest.

You should instead do:

cd foo 
zip -r foo.zip *

Hope it helps!

Autres conseils

Do not zip the main folder of the app directly.if you saved your app content in a main folder then open folder select all the contents and then select compress or Zip option.Submit it to the Marketplace.

Without seeing the zip file it is hard to say what exactly is wrong. Is this a packaged or hosted app? For hosted apps, you do not need to zip the app and can just pass the URL of you manifest to the validator. Of course, you have to first upload the app to it's unique domain.

There is a mailing list for webapp developers (dev-webapps) and one to contact app reviewers (app-reviewers). I would try dev-webapps since you have not submitter your app for review yet. But both of those channels are pretty responsive.

There are also a number of useful irc channels on irc.mozilla.org that you could use:

  • #openwebapps would probably be best place to ask about your issue
  • #marketplace also another good place to ask about marketplace issues
  • #app-reviewers any question about the review process

I hope that helps a bit. If you insist on getting an answer here, please provide the information I asked and a link to the zip file so I can take a look. Cheers!

I had the same message 2 days ago. I was confused, because it talked about manifest instead of manifest.webapp as usually documented as being required. Uncertain about my understanding I copied my manifest.webapp to manifest and included it to my Zip.
Believe it or not, the Zip was accepted now.
Later I tried to verify the issue and removed the webapp, but now the Zip was still accepted as it should have been from the beginning.
Maybe, if nothing else helps you might give it a try.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top