PeachScript / sketch-plugin-monster

A Sketch plugin for managing all plugin shortcuts.
MIT License
146 stars 5 forks source link

Importing shortcuts doesn't work · v44.1 #26

Open RaphyRaph opened 7 years ago

RaphyRaph commented 7 years ago

I exported shortcuts, did a clean re-install of sketch, downloaded plugins again, imported shortcuts.... but none of the previously set shortcuts got set.

PeachScript commented 7 years ago

Oh, sounds terrible...is there any error logs in Console.app?

RaphyRaph commented 7 years ago

console log:

default 19:16:45.715185 +0100   NowPlayingTouchUI   [NowPlayingTouchUI] Reloading available apps due to workspace activating an application: NSConcreteNotification 0x61800005b6f0 {name = NSWorkspaceDidActivateApplicationNotification; object = <NSWorkspace: 0x60000001cc90>; userInfo = {
    NSWorkspaceApplicationKey = "<NSRunningApplication: 0x61800010e6a0 (com.bohemiancoding.sketch3 - 1789)>";
}}
default 19:16:45.735199 +0100   Sketch  UNIX error exception: 17
default 19:16:45.735456 +0100   Sketch  UNIX error exception: 17
default 19:16:45.735570 +0100   Sketch  0x600000c70080 opened /Users/raphaelguilleminot/Library/Keychains/login.keychain-db: 383320 bytes
default 19:16:45.739143 +0100   Sketch  0x608001c79300 opened /Library/Keychains/System.keychain: 166904 bytes
fault   19:16:54.714379 +0100   Sketch  [ERROR] Failed getting container for URL: <private>, error: <private>
default 19:16:54.714404 +0100   Sketch  [WARNING] could not find container for id: <private>
fault   19:17:01.934724 +0100   Sketch  [ERROR] Failed getting container for URL: <private>, error: <private>
default 19:17:01.934753 +0100   Sketch  [WARNING] could not find container for id: <private>
default 19:17:03.531993 +0100   Sketch  *** WebKit discarded an uncaught exception in the webView:didChangeLocationWithinPageForFrame: delegate: <MOJavaScriptException> TypeError: null is not an object (evaluating 'importConf[0]')

screencast: https://www.dropbox.com/s/7l7wvj26y2rkfx8/monster.mov?dl=0

PeachScript commented 7 years ago

Thanks! I guess the export JSON file is malformed, could you paste the JSON file on the PasteBin or upload to a temporary share website?

RaphyRaph commented 7 years ago

https://pastebin.com/eH3iCpxL