Closed
Bug 1255503
Opened 9 years ago
Closed 9 years ago
"jpm sign" returns an XPI which is just a JSON blob
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: vng, Unassigned)
Details
When I sign my addon from commmand line, I get back an XPI which is just a JSON blob with just "{"detail": "Not found"}" in the file.
```
$ jpm sign --api-key user:<some_user> --api-secret <some_password>
Creating XPI
JPM [info] XPI created at /var/folders/b3/wz8byszx531_gwwzp7bzx8yw0000gn/T/tmp-unsigned-xpi-61428W7uEa2TtEBjc/@mls-offline-0.0.13.xpi (396ms)
Created XPI at /var/folders/b3/wz8byszx531_gwwzp7bzx8yw0000gn/T/tmp-unsigned-xpi-61428W7uEa2TtEBjc/@mls-offline-0.0.13.xpi
JPM [info] Created XPI for signing: /var/folders/b3/wz8byszx531_gwwzp7bzx8yw0000gn/T/tmp-unsigned-xpi-61428W7uEa2TtEBjc/@mls-offline-0.0.13.xpi
Validating add-on [.............................................................................................................................]JPM [info] Validation results: https://addons.mozilla.org/en-US/developers/upload/56e8dcc50384444384406ae3558b91bf
Downloading signed files: 100%
JPM [info] Downloaded:
JPM [info] ./privacy_enhanced_locations-0.0.13-an+fx.xpi
JPM [info] SUCCESS
$ cat privacy_enhanced_locations-0.0.13-an+fx.xpi
{"detail": "Not found"}
```
This occurs for my addon in https://github.com/crankycoder/libmarisa/tree/dev/libraries/marisa/addon
Building the addon with just "jpm xpi" will give me a normal (but obviously unsigned) XPI:
$ ls -l *.xpi
-rw-r--r-- 1 victorng staff 5737141 10 Mar 12:54 @mls-offline-0.0.13.xpi
-rw-r--r-- 1 victorng staff 23 10 Mar 12:48 privacy_enhanced_locations-0.0.13-an+fx.xpi
Comment 1•9 years ago
|
||
Moved over to https://github.com/mozilla-jetpack/jpm/issues/515.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•