Upload an updated version of "Extension" ERROR help

72 views
Skip to first unread message

Trent

unread,
Jul 11, 2016, 1:16:42 PM7/11/16
to Chromium-Extensions-Announce
I can't upload an updated .zip and keep getting this error: The manifest has an invalid version: “1.0.1”. Please format the version as defined <a href="https://developer.chrome.com/extensions/manifest/version" target="_blank"> here</a>.

The previous "version": was 1.0 and I've tried 2.0, 1.1, 1.0.1, and many others. What might be wrong? 

Mike Rogers

unread,
Jul 11, 2016, 2:53:33 PM7/11/16
to Chromium-Extensions-Announce
It could be something else overwriting your value, can you upload your manifest.json file?

Trent Mervine

unread,
Jul 11, 2016, 5:34:16 PM7/11/16
to Chromium-Extensions-Announce
Yes, I can only upload it if I make a brand new extension. I attached the manifest.json file here. Not sure what could be wrong. 
manifest.json

Antony Sargent

unread,
Jul 12, 2016, 4:12:35 PM7/12/16
to Trent Mervine, Chromium-Extensions-Announce
Looks like your manifest has non-utf8 characters in it - specifically, "smart" quotes instead of regular quotes around the value for version. Here's the output from running "hexdump -C" on your manifest.json on a linux machine; the smart quotes are the sequences of hex bytes "e2 80 9c" and "e2 80 9d" - those should instead just be 22 for a regular quote mark.


00000000  7b 0a 20 20 22 6d 61 6e  69 66 65 73 74 5f 76 65  |{.  "manifest_ve|
00000010  72 73 69 6f 6e 22 3a 20  32 2c 0a 20 20 22 6e 61  |rsion": 2,.  "na|
00000020  6d 65 22 3a 20 22 52 65  6d 69 6e 64 65 72 73 22  |me": "Reminders"|
00000030  2c 0a 20 20 22 64 65 73  63 72 69 70 74 69 6f 6e  |,.  "description|
00000040  22 3a 20 22 54 68 69 73  20 65 78 74 65 6e 73 69  |": "This extensi|
00000050  6f 6e 20 70 75 74 73 20  61 20 72 65 6d 69 6e 64  |on puts a remind|
00000060  65 72 20 72 69 67 68 74  20 69 6e 20 79 6f 75 72  |er right in your|
00000070  20 62 72 6f 77 73 65 72  21 22 2c 0a 20 20 22 76  | browser!",.  "v|
00000080  65 72 73 69 6f 6e 22 3a  20 e2 80 9c 31 2e 30 2e  |ersion": ...1.0.|
00000090  31 e2 80 9d 2c 0a 20 20  22 62 72 6f 77 73 65 72  |1...,.  "browser|
000000a0  5f 61 63 74 69 6f 6e 22  3a 20 7b 0a 20 20 20 20  |_action": {.    |
000000b0  22 64 65 66 61 75 6c 74  5f 69 63 6f 6e 22 3a 20  |"default_icon": |
000000c0  7b 0a 20 20 20 20 20 20  22 31 32 38 22 3a 20 22  |{.      "128": "|
000000d0  69 63 6f 6e 73 2f 31 32  38 2e 70 6e 67 22 2c 0a  |icons/128.png",.|
000000e0  20 20 20 20 20 20 22 34  38 22 3a 20 22 69 63 6f  |      "48": "ico|
000000f0  6e 73 2f 34 38 2e 70 6e  67 22 2c 0a 20 20 20 20  |ns/48.png",.    |
00000100  20 20 22 33 32 22 3a 20  22 69 63 6f 6e 73 2f 33  |  "32": "icons/3|
00000110  32 2e 70 6e 67 22 2c 0a  20 20 20 20 20 20 22 31  |2.png",.      "1|
00000120  36 22 3a 20 22 69 63 6f  6e 73 2f 31 36 2e 70 6e  |6": "icons/16.pn|
00000130  67 22 0a 20 20 20 20 7d  2c 0a 20 20 20 20 22 64  |g".    },.    "d|
00000140  65 66 61 75 6c 74 5f 70  6f 70 75 70 22 3a 20 22  |efault_popup": "|
00000150  74 6f 64 6f 73 2e 68 74  6d 6c 22 0a 20 20 7d 2c  |todos.html".  },|
00000160  0a 20 20 22 62 61 63 6b  67 72 6f 75 6e 64 22 3a  |.  "background":|
00000170  20 7b 0a 20 20 20 20 22  73 63 72 69 70 74 73 22  | {.    "scripts"|
00000180  3a 20 5b 22 6d 6f 6d 65  6e 74 2e 6d 69 6e 2e 6a  |: ["moment.min.j|
00000190  73 22 2c 22 63 68 72 6f  6d 65 2d 73 74 6f 72 61  |s","chrome-stora|
000001a0  67 65 2d 70 72 6f 6d 69  73 65 2e 6a 73 22 2c 22  |ge-promise.js","|
000001b0  62 61 63 6b 67 72 6f 75  6e 64 2e 6a 73 22 5d 2c  |background.js"],|
000001c0  0a 20 20 20 20 22 70 65  72 73 69 73 74 65 6e 74  |.    "persistent|
000001d0  22 3a 20 66 61 6c 73 65  0a 20 20 7d 2c 0a 20 20  |": false.  },.  |
000001e0  22 70 65 72 6d 69 73 73  69 6f 6e 73 22 3a 20 5b  |"permissions": [|
000001f0  0a 20 20 20 20 22 73 74  6f 72 61 67 65 22 0a 20  |.    "storage". |
00000200  20 5d 0a 7d 0a                                    | ].}.|
00000205



--
You received this message because you are subscribed to the Google Groups "Chromium-Extensions-Announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/1f7badea-8442-4945-afbf-3bbaee6ea5a2%40chromium.org.

Reply all
Reply to author
Forward
0 new messages