GithubHelp home page GithubHelp logo

Comments (12)

bomberstudios avatar bomberstudios commented on August 19, 2024

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.

thierryteyssier avatar thierryteyssier commented on August 19, 2024

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.

mattmcmanus avatar mattmcmanus commented on August 19, 2024

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.

bomberstudios avatar bomberstudios commented on August 19, 2024

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.

mattmcmanus avatar mattmcmanus commented on August 19, 2024

Yeah. I figured there was much we could do to get around sanboxing. Thanks for checking!

from sketch-commands.

uxward avatar uxward commented on August 19, 2024

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.

bomberstudios avatar bomberstudios commented on August 19, 2024

@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.

uxward avatar uxward commented on August 19, 2024

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.

bomberstudios avatar bomberstudios commented on August 19, 2024

@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.

uxward avatar uxward commented on August 19, 2024

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.

bomberstudios avatar bomberstudios commented on August 19, 2024

@uxward I'm pushing a fix right now.

from sketch-commands.

bomberstudios avatar bomberstudios commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.