Chrome-Store-Foxified icon indicating copy to clipboard operation
Chrome-Store-Foxified copied to clipboard

Validation fail: Duplicate keys are not allowed in JSON files

Open ajvsol opened this issue 7 years ago • 1 comments

Not working for Tab Outliner extension.

ajvsol avatar Oct 23 '16 19:10 ajvsol

I tried looking into this.

There are some manifest issues: http://i.imgur.com/Tl2XA25.png

1477313384697   addons.xpi  DEBUG   Calling bootstrap method startup on eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned version 1.4.130
1477313384701   DeferredSave.extensions.json    DEBUG   Starting timer
1477313384774   DeferredSave.extensions.json    DEBUG   Starting write
1477313384791   addons.webextension.eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned WARN    Loading extension 'eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned': Reading manifest: Error processing permissions.3: Unknown permission "unlimitedStorage"
1477313384792   addons.webextension.eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned WARN    Loading extension 'eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned': Reading manifest: Error processing permissions.5: Unknown permission "chrome://favicon/"
1477313384793   addons.webextension.eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned WARN    Loading extension 'eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned': Reading manifest: Error processing permissions.6: Unknown permission "identity"
1477313384794   addons.webextension.eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned WARN    Loading extension 'eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned': Reading manifest: Error processing update_url: An unexpected property was found in the WebExtension manifest.
1477313384794   addons.webextension.eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned WARN    Loading extension 'eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned': Reading manifest: Error processing oauth2: An unexpected property was found in the WebExtension manifest.
1477313384794   addons.webextension.eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned WARN    Loading extension 'eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned': Reading manifest: Error processing optional_permissions: An unexpected property was found in the WebExtension manifest.
1477313384794   addons.webextension.eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned WARN    Loading extension 'eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned': Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension manifest.
1477313384794   addons.webextension.eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned WARN    Loading extension 'eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned': Reading manifest: Error processing offline_enabled: An unexpected property was found in the WebExtension manifest.
1477313384795   addons.webextension.eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned WARN    Loading extension 'eggkanocgddhmamlbiijnphhppkpkmkl@chrome-store-foxified-unsigned': Reading manifest: Error processing key: An unexpected property was found in the WebExtension manifest.
Invalid match pattern: 'chrome://favicon/'  MatchPattern.jsm:52
command.suggested_key is null  ext-commands.js:79
Invalid match pattern: 'chrome://favicon/' MatchPattern.jsm:52

Then when the addon starts up, the browser action is added, however he uses a bunch of unsupported APIs:

http://i.imgur.com/TrDkzJP.png

TypeError: window.navigator.appVersion.match(...) is null
Stack trace:
@moz-extension://be7c3854-9a4b-49fd-a4df-65dca2d52015/background.js:17:39
  background.js:19:3
TypeError: commandsMap.get(...) is undefined[Learn More]  ext-commands.js:252:9
=== TabsOutliner Background script code started ===  background.js:1222:5
TypeError: window.requestFileSystem is not a function[Learn More]  background.js:789:3
IndexedDB UnknownErr: ActorsParent.cpp:586  (unknown)
ERROR IndexedDB openRequest.onerror: undefined undefined error { target: IDBOpenDBRequest, isTrusted: true, currentTarget: IDBOpenDBRequest, eventPhase: 2, bubbles: true, cancelable: true, defaultPrevented: false, composed: false, timeStamp: 536.3742831444823, originalTarget: IDBOpenDBRequest, explicitOriginalTarget: IDBOpenDBRequest } 
SERIOUS ERROR IndexedDB folder is corrupted most likely - need manualy delete the extension IndexedDB folder to recover from this!
the folder is contained in Chrome profile (use chrome:version to learn the correct path) and has the name: 
IndexedDB/chrome-extension_eggkanocgddhmamlbiijnphhppkpkmkl_0.indexeddb.leveldb
This was very common error in Chrome v24 and Chrome v25 because of some LevelDB engine bug which was introduced in Chrome v24; 
Chrome v26 delete such corrupted database folders on open automaticaly  background.js:263:7
ERROR !!! IDB READ ERROR TabsOutlinerDB34 Error: IDB open error
Stack trace:
readOperationsFromIndexedDB/<@moz-extension://be7c3854-9a4b-49fd-a4df-65dca2d52015/background.js:382:15
openIndexedDbToUse_createStoreIfAbsent/openRequest.onerror@moz-extension://be7c3854-9a4b-49fd-a4df-65dca2d52015/background.js:265:5
EventHandlerNonNull*openIndexedDbToUse_createStoreIfAbsent@moz-extension://be7c3854-9a4b-49fd-a4df-65dca2d52015/background.js:261:3
setTimeout handler*window.onload@moz-extension://be7c3854-9a4b-49fd-a4df-65dca2d52015/background.js:1221:3
EventHandlerNonNull*@moz-extension://be7c3854-9a4b-49fd-a4df-65dca2d52015/background.js:1220:1
  background.js:397:7
IDB open error  background.js:398:7
readOperationsFromIndexedDB/<@moz-extension://be7c3854-9a4b-49fd-a4df-65dca2d52015/background.js:382:15
openIndexedDbToUse_createStoreIfAbsent/openRequest.onerror@moz-extension://be7c3854-9a4b-49fd-a4df-65dca2d52015/background.js:265:5
EventHandlerNonNull*openIndexedDbToUse_createStoreIfAbsent@moz-extension://be7c3854-9a4b-49fd-a4df-65dca2d52015/background.js:261:3
setTimeout handler*window.onload@moz-extension://be7c3854-9a4b-49fd-a4df-65dca2d52015/background.js:1221:3
EventHandlerNonNull*@moz-extension://be7c3854-9a4b-49fd-a4df-65dca2d52015/background.js:1220:1
  background.js:399:7
No valid v34 data in database, or with unknown lastSaveTime (V34DataSaveTime, localStorage.lastSessionSnapshotSaveTime): NaN undefined  background.js:578:9
TypeError: window.requestFileSystem is not a function[Learn More]  background.js:1360:3
UnknownError  background.js:254:20
Invalid chrome URI: /

I will file this duplicate key error though for the localization, as that seems it shouldn't cause error when signing, thanks for this report! I'll link the bug when as soon as I created.

Noitidart avatar Oct 24 '16 12:10 Noitidart