sonburn / symbol-organizer

Organize your symbols page alphabetically (including layer list) and into groupings determined by your symbol names.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin stopped working after last update.

ozgurgunes opened this issue · comments

Here is the console log:

SyntaxError: JSON Parse error: Unexpected identifier "_Spec"
line: 466
sourceURL: /Users/ozgurgunes/Dropbox/Works/Library/Extensions/Sketch/Plugins/Symbol Organizer.sketchplugin/Contents/Sketch/script.js
column: 49

PS. "_Spec / " is the prefix of the Text Style I'm using for Titles.

Just found that I also have the same issue.

@ozgurgunes, @dlewand691, @davidklaw thanks for the feedback, looking into it now.

commented

Got 1 warning that I had an artboard on my symbols page, removed it. No warning, but doesnt run. This was my first try since updating.

Same. Not working at all. Uninstalling and attempting to re-install now.

Same. Not working at all. Uninstalling and attempting to re-install now.

Unsuccessful! Need to attempt installing early version.

@dlewand691, @davidklaw, @ehatle, @verys-beasond Out of curiosity, are y'all also using Symbol Organizer with titles which contain special characters in them?

@ozgurgunes I just published 15.11 which handles existing titles with special characters better, please download and confirm the plugin works for you now?

@ozgurgunes BTW, providing the log output like you did was very very helpful, thank you.

@sonburn Nope, no titles here.

If it helps, I keep my plugins updated on a daily basis. I also use this plugin many times a week. Seems isolated to changes introduced in 15.10.

@sonburn 15.11 appears to have fixed the problem for me.

@davidklaw Thanks for the feedback. In hindsight, the issue would still occur even if you aren't actively using titles, but if you used titles at some point and possibly used a style name with a special character. Regardless, glad to hear it's working for you now.

commented

@sonburn: Only special char I use would be "/"
5.11 fixed it for me =) GJ! When this broke I realized how much I am relying on this plugin to speed up my workflow. Loving it!
For next time: how do I run the plugin in console?

@ehatle hopefully there won't need to be a next time, but in case there is...

  1. In your Applications folder, open Utilities > Console.app
  2. Expand ~/Library/Logs in the left window, and select com.bohemiancoding.sketch3 (if you use an app like CleanMyMac, this log folder might be missing and you will need to either re-create it, or use Console's search - process:sketch library:sketch)
  3. If there is Plugin Output.log file in the right window, select it and select Clear in the action menu
  4. Run the plugin in Sketch, and if there was an error it will appear in the right window, in a file called Plugin Output.log

@sonburn You were on top of this man, thank you so much 🙇.