Trying to push an application to the Firefox OS Marketplace and getting the detailed error "Invalid Archive"?

The App Validator works fine and reports no errors. I have pushed other apps zipped up in the same way (using WinRAR) with no issue. There are no archives included inside the archive and the same archive has been used other places eg: PhoneGap Build with no issue.

How can I resolve this?

有帮助吗?

解决方案

The Marketplace does some sanity testing on the zip file before working with it. You can see what the code does here: https://github.com/mozilla/zamboni/blob/master/apps/files/utils.py#L322-L331

If a file in the archive is either '..' or starts with a '/' it assumes it is invalid. Also, if a single file within the archive exceeds the limit set by the Marketplace (100MB) it also assumes it is invalid.

Do any of those qualify for your application?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top