Skip to content
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

Linked libraries from other Abstract projects can't be chosen as a library #6

Open
emarvegt opened this issue Dec 13, 2017 · 8 comments

Comments

@emarvegt
Copy link

Symbol Libraries within the same Abstract project can be used with this plugin, by finding them manually in ~/Library/Application Support/Abstract/Documents/Edits/XXXXXXXXXX/...

For that to work, you need to have opened the library file at least once, so Abstract has created a local copy.

So that's very cool!

However, though Abstract supports using library files from other Abstract projects, this plugin doesn't allow selecting a such a linked library. Instead, it tells me that the file I selected is not a library.

In Sketch, replacing a local symbol with a symbol from a linked library that actually lives in another project works when done manually without the plugin.

@robintindale
Copy link
Contributor

I don't have Abstract, sorry, so I'm unable to test this.

The "not a library" error means the file you're trying to link with hasn't been added to the Libraries preferences pane. Does it work if you add the file manually to the preference pane, and then retry the plugin?

@kibinchi
Copy link

I am also running into the issue of not being able to access the Abstract specific library under Library files. Not sure if this is a plug-in end issue though.

@nathangross
Copy link

I'm having similar issues. Here is some additional info. Hopefully it helps!

The "not a library" error means the file you're trying to link with hasn't been added to the Libraries preferences pane. Does it work if you add the file manually to the preference pane, and then retry the plugin?

When you have a Sketch Library file that was generated from Abstract open, it will appear, temporarily, in the Preferences pane as a Library. Once you close that Library, it disappears from the Preferences pane. You can add that same file manually and it will show as an added Library in the Preferences pane until that file is opened then closed, or until Sketch is closed.

It does not seem like there is a way to keep Abstract generated Sketch Library files persistent in the Preferences pane.

@robintindale
Copy link
Contributor

So does the plugin work if the Abstract library you want to use is open in the background?

@nathangross
Copy link

nathangross commented Mar 16, 2018

Not in my experience, currently.

Oddly though, I have had success with the plugin working with Abstract files—just yesterday. I'm trying to figure out what I was doing different then vs now. So far I have not been able to reproduce the same result.

I did update to 49.1 this morning. Not sure if that has anything to do with it or not.

@EricKramp
Copy link

EricKramp commented May 23, 2018

I can confirm that it is still broken in Sketch 50.2.

Libraries connected via Abstract do appear as "normal" libraries in the Sketch preferences, but they do have the branch name in parentheses. That's the only thing that makes them abnormal that I can tell from the UI.

I tried selecting the library both with the target library file open and not, and consistently in both cases it isn't recognized as a library.

I'm using the free plan of Abstract, so you wouldn't need to subscribe to reproduce the problem.

@robintindale
Copy link
Contributor

Yep I've since downloaded Abstract 👍 will look into this when I get some free time

@EricKramp
Copy link

That would be great. I randomly got it to work today by using the "Replace Symbols from Previous Library" option, I guess that I didn't think to try that before...?

So, it may be that if it successfully found the file previously it still works, but just can't find new files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants