Can not install FxOS Add-on (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)

RESOLVED INVALID

Status

()

Firefox
Developer Tools: WebIDE
RESOLVED INVALID
2 years ago
2 years ago

People

(Reporter: freddyb, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
STR:

1) clone https://github.com/freddyb/demotedtweets
2) select folder as packaged app in webide
3) connect to device
4) push (using the play/triangle) button
5) I get this output in the browser console:

Installing app from /home/freddy/src/demotedtweets/src app-manager.js:635
Starting bulk upload app-actor-front.js:183
File size: 11814 app-actor-front.js:185
Bulk upload done app-actor-front.js:203
"Operation failed: installing and running app (installationFailed): [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIZipReader.getInputStream]"  nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)"  location: "JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/webapps.js :: run :: line 484"  data: no]" webide.js:388:5
UI.reportError() webide.js:388
UI.busyUntil/<() webide.js:369
Handler.prototype.process() Promise-backend.js:937
this.PromiseWalker.walkerLoop() Promise-backend.js:813

Object { error: "installationFailed", message: "[Exception... "Component returned f…", appId: "f78ed75f-df6b-4313-b6b2-6b85caef1834", from: "server1.conn1.webappsActor5" } webide.js:371:11
UI.busyUntil/<() webide.js:371
Handler.prototype.process() Promise-backend.js:937
this.PromiseWalker.walkerLoop() Promise-backend.js:813

Connection status changed: disconnected app-manager.js:161
(Reporter)

Updated

2 years ago
Summary: Can not install FxOS Add-on → Can not install FxOS Add-on (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)
Can you include the build ID of your device from "More Information"?
Flags: needinfo?(fbraun)
(Reporter)

Comment 2

2 years ago
I am using a Z2C, the build id is 20150812225219. This is the latest build on the "dogfood" update channel.
Flags: needinfo?(fbraun)
Okay, that's the issue then.

The WebIDE support for the new add-on format (which also has device-side changes) was added in bug 1196734, which landed on 2015-08-27.  You need a device build on or after that date for it to work.

Hopefully a new Z3C foxfood build will be released soon.

Feel free to reopen if I've misunderstood!
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.