-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better handle libraries with same ID #9
Comments
I think there are some hard to reproduce bugs related to library indexing and caching. Try deleting the directory |
Hey there, could you go to Plugins > Run Script, paste this, run it, and share the output?
This should basically print out the library IDs for libraries on your computer. If there are two that are the same, I think I know what the problem is :) |
With the new update I can't ever get the sections to show with the test file you provided. Any idea of whats going on? I already deleted the files |
Hey there, could you run that script and share results? My guess is you have several libraries that have a single library ID, which the plugin doesn't currently handle very well |
|
Yep, as I suspected there are several libraries with the ID D79...BD, currently Stickers can't differentiate between them and the latest version just picks one of them to show. I'm exploring better solutions for handling this but in the meantime you may want to make sure you indeed need all the libraries you have installed. I can update that script so you can see exactly which ones are conflicting if that helps? |
You say say installed libraries, does that mean libraries that are in the Sketch preferences or just the library that has the syntax to make this plugin work? |
Here's the bug I'm getting when trying add tags to artboards and they don't show up when using the plugin: https://www.dropbox.com/s/ev6wf9bcs95npj9/stickers-bug.mov?dl=0 |
Installed libraries, yes those that appear in the Libraries list in preferences, regardless of whether they have the metadata. For importing an instance, you can just tag an instance of the symbol rather than the symbol itself :-) |
Also, here's a script you can run to see which libraries you have installed + enabled that share an ID:
|
This plugin https://github.com/Ashung/Automate-Sketch/blob/master/readme.md has a script called: Fix Library ID Conflict basically every time you duplicate a file you get this issue. I don't think this plugin necessarily should fix this. Maybe just add something to the readme, or provide helpful indication on how to solve this when it happens. |
Thanks for the link! |
I must be doing something wrong. Here's what I've done.
!StickerSection @Section1 title: First section description: A description
The text was updated successfully, but these errors were encountered: