Comments (12)
Which of them? None? Do you have multiple artboards / pages?
Could you attach a .sketch file where it doesn't work?
Thanks in advance : )
from sketch-commands.
Hi Ale,
thank you for your quickly answer.
Plug-ins are
here: /Users/thierryteyssier/Library/Containers/com.bohemiancoding.sketch/Data/Library/Application
Support/sketch/Plugins
Please find attached a very simple example
Best
Thierry
2013/5/13 Ale Muñoz [email protected]
Which of them? None? Do you have multiple artboards / pages?
Could you attach a .sketch file where it doesn't work?
Thanks in advance : )
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-17820821
.
from sketch-commands.
I'm not sure if this is related but it looks like it's a sandboxing issue.
From my console:
12/18/13 3:50:22.454 PM sandboxd[133]: ([303]) Sketch(303) deny file-write-create /Users/matt/Dropbox/Projects/Sungard/Sungard Wireframes_export/Wireframes
Sketch(303) deny file-write-create /Users/matt/Dropbox/Projects/Sungard/Sungard Wireframes_export/Wireframes
Process: Sketch [303]
Path: /Applications/Sketch.app/Contents/MacOS/Sketch
Load Address: 0x10cbef000
Identifier: com.bohemiancoding.sketch
Version: 5302 (2.4.2)
Code Type: x86_64 (Native)
Parent Process: launchd [250]
Date/Time: 2013-12-18 15:50:22.432 -0500
OS Version: Mac OS X 10.9.1 (13B3116)
Report Version: 8
Thread 0:
0 libsystem_kernel.dylib 0x00007fff8275d79a mkdir + 10
1 Foundation 0x00007fff8dfcd2a6 -[NSFileManager createDirectoryAtPath:withIntermediateDirectories:attributes:error:] + 295
2 Sketch 0x000000010cd1e095
3 Sketch 0x000000010cc2651b
4 Sketch 0x000000010cc2611f
5 libffi.dylib 0x00007fff8ddf4f9c ffi_call_unix64 + 76
Binary Images:
0x10cbef000 - 0x10ced8ff7 com.bohemiancoding.sketch (2.4.2 - 5302) <abeb2036-2e64-32dc-8a49-b463a3535cac> /Applications/Sketch.app/Contents/MacOS/Sketch
0x7fff82747000 - 0x7fff82763ff7 libsystem_kernel.dylib (2422.75.4) <f5c190da-a845-3ade-9b50-161a881bc136> /usr/lib/system/libsystem_kernel.dylib
0x7fff8ddf4000 - 0x7fff8ddf5fff libffi.dylib (18.1) <feb76c94-97ba-39bc-b713-d086b9757ba5> /usr/lib/libffi.dylib
0x7fff8dfa4000 - 0x7fff8e2a3fff com.apple.Foundation (6.9 - 1056) <110e4f97-8cfc-35ea-95d1-b34a0ef41203> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
from sketch-commands.
Yeah, I'm getting multiple reports of errors when exporting, mostly due to the fact that sandboxing prevents Sketch from making new folders.
I'm looking into it with the Bohemian Coding guys, but so far the best workaround is to use the non-sandboxed beta version.
Sorry about that.
from sketch-commands.
Yeah. I figured there was much we could do to get around sanboxing. Thanks for checking!
from sketch-commands.
I've been trying to Export "All Slices As PNG In..." with no luck. I tried downloading and using the latest beta 2.4.2 (5310) but still no dice.
I've got multiple slices on multiple pages.
from sketch-commands.
@uxward this is probably due to a long running bug in Sketch. I'm still waiting for a fix, but meanwhile I'll upload a version with a workaround. I'll let you know when it's up : )
from sketch-commands.
Thanks for posting the workaround - and so fast! But now, for some reason, export doesn't even pop open the 'choose' dialog box. Still can't export anything w/ the script. (I downloaded the master ZIP ... should I check out the code instead?)
Still using Version 2.4.2 (5310).
from sketch-commands.
@uxward that's totally my fault. I hurried the fix and ended up breaking the whole thing : ) A proper fix has just landed on 78eaba8
from sketch-commands.
Thanks for the update. Most of the exports are working now! Export As PNG In... still doesn't work, but Export As PNG does - so great progress there! I can live w/ that for a while :-)
from sketch-commands.
@uxward I'm pushing a fix right now.
from sketch-commands.
A quick heads up to everybody: I just found a good workaround for the sandbox issues, and will push a fix for this soon, when it's properly tested on all commands.
Thanks for your patience. I would've given up on this long time ago were it not for your passionate support : )
from sketch-commands.
Related Issues (20)
- Export selection to desktop does not work in latest Sketch version
- Title Case Plugin not working. HOT 1
- Not working "Move..." commands in 3.4 HOT 10
- Update project structure to follow new Sketch plugin guidelines HOT 7
- export doesn't see all artboards HOT 1
- "Export All Artboards as png in..." doesn't give a prompt HOT 8
- Height/Width in Size menu doesn't work in Sketch 39 HOT 3
- Set radius broken
- Export Selection to Desktop HOT 2
- Duplicate Artboard no longer offsets the duplicated artboard in Sketch 40 HOT 2
- How to scale exports in New versions of sketch (41+) HOT 1
- Export Page to PDF / PNG no longer works HOT 6
- Support Sketch 45 plugin update system HOT 1
- Update README to include command information HOT 2
- Select Current Artboard broken HOT 2
- “Select / All Layers in Current Artboard” doesn't work HOT 1
- Export Whole Page to Desktop doesn't honor dark mode HOT 2
- Text layer within group unclickable after moving 100px (Sketch 52.5) HOT 1
- Space Vertical & Space Horizontal Spacing field isn't keyboard focusable (Sketch 53) HOT 3
- Sketch Commands causing severe performance issues and crash to desktop HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sketch-commands.