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

Bug in preview path #5

Closed
christianboyle opened this issue Apr 30, 2014 · 5 comments
Closed

Bug in preview path #5

christianboyle opened this issue Apr 30, 2014 · 5 comments

Comments

@christianboyle
Copy link

I'm having trouble getting the plugin working with Sketch 3 and CloudApp 2. Whenever I try to upload it says it fails to find the preview and to make sure I have Cloud installed (I do, and it's running). I noticed this:

https://github.com/jelias/sketch-upload/blob/master/Upload.sketchplugin line 38

var PREVIEW_DIRECTORY_NAME = "com.jelias.sketch-upload";

Should that path be hardcoded? Guessing not, but I tried several different approaches (creating my own com.name.sketch-upload dir, etc.) without any luck.

@jelias
Copy link
Owner

jelias commented Apr 30, 2014

I will test the plugin with CloudApp tonight. It should work,  I used CloudApp.Could you turn debugging on and follow the troubleshooting steps in the read me? If you don't understand something just mention me on twitter @_jelias_On Wed, Apr 30, 2014 at 9:47 AM, jelias/sketch-upload reply@reply.github.com wrote: I'm having trouble getting the plugin working with Sketch 3 and CloudApp 2. Whenever I try to upload it says it fails to find the preview and to make sure I have Cloud installed (I do, and it's running). I noticed this:

https://github.com/jelias/sketch-upload/blob/master/Upload.sketchplugin line 38

var PREVIEW_DIRECTORY_NAME = "com.jelias.sketch-upload";

Should that path be hardcoded? Guessing not, but I tried several different approaches (creating my own com.name.sketch-upload dir, etc.) without any luck.

—Reply to this email directly or view it on GitHub.

@christianboyle
Copy link
Author

When I watch the system console while trying to upload an artboard the plugin is trying to find Cloud.app in a strange location:
screen shot 2014-05-01 at 5 38 43 pm

CloudStation is a local NAS backup package, but it has a local directory on my HD. Could it somehow be confusing the plugin such that it travels down the wrong path because it sees this "Cloud*" directory before it sees Cloud.app?

@jelias
Copy link
Owner

jelias commented May 1, 2014

try specifying the path to the CloudApp like this:

var PREVIEW_APPLICATION = "/Applications/Cloud.app";

I tested it, and that should work. Let me know.

@christianboyle
Copy link
Author

Perfect, works like a champ now.

@jelias
Copy link
Owner

jelias commented May 1, 2014

Glad to help!

@jelias jelias closed this as completed May 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants