Comments (15)
Thanks for the report. That seems to be an error in https://github.com/bomberstudios/sketch-sandbox, I'll take a look
from sketch-commands.
Reinstalled Sketch and it seems to have fixed the issue
from sketch-commands.
Experiencing the same issue with Export command. I reinstalled Sketch, but it didn't help. :/
Receiving this error in Console, among many others:
23. 10. 14 19:49:56,000 kernel[0]: Sandbox: Sketch(71734) deny file-write-create /Users/equiet/Desktop/Filename_export
Interestingly, after copying Filename.sketch to another folder, I am able to authorize a new export folder, but only 1 artboard is exported instead of all of them.
from sketch-commands.
@equiet I was seeing a similar issue here with only the first slice being exported. I can no longer reproduce that but I'm seeing the same issue as originally stated.
For the record I've got my own custom script but I'm leveraging the same sandbox and reinstalling Sketch did not solve the problem.
from sketch-commands.
I should also mention that I've been updating my script to automatically determine the export path. It had previously popped up the file chooser and that method had no issues whatsoever with Yosemite.
from sketch-commands.
Any solution?
I wrote to BohemianCoding and got answer: «Thanks for the report but you really have to contact it's developers, it's not directly related to Sketch, but with Yosemite, sorry.»
Now i have OSX Yosemite 10.10.1 (14B23) and issue remain
from sketch-commands.
Which plugins aren't working? The latest beta fixed a bunch of mine.
Richard
On 14 November 2014 13:41, Alexander Khramtsov [email protected]
wrote:
Any solution?
I wrote to BohemianCoding and got answer: «Thanks for the report but you
really have to contact it's developers, it's not directly related to
Sketch, but with Yosemite, sorry.»—
Reply to this email directly or view it on GitHub
#49 (comment)
.
from sketch-commands.
+1, getting the same issue as @equiet.
11/14/14 11:35:27.389 PM sandboxd[296]: ([3734]) Sketch(3734) deny file-read-data /Users/martinparets/Desktop
11/14/14 11:35:28.182 PM sandboxd[296]: ([3734]) Sketch(3734) deny file-write-create /Users/martinparets/Desktop/R.svg
this was just for exporting selection as SVG to desktop.
from sketch-commands.
@ricburton these plugins didn't work https://github.com/bomberstudios/sketch-commands/tree/master/Export
I use Sketch version 3.1.1 (8761) from App Store. Beta version is not sandboxed isn't it? The issue is only on sandboxed appstore version.
15.11.14 10:16:55,018 All Artboards as PNG (Sketch Plugin)[2041]: AppSandboxFileAccess.persistPermissionURL(file:///Users/falkeyn/Desktop/)
15.11.14 10:16:55,029 sandboxd[234]: ([2041]) Sketch(2041) deny file-read-data /Users/falkeyn/Desktop
15.11.14 10:16:55,185 sandboxd[234]: ([2041]) Sketch(2041) deny file-write-create /Users/falkeyn/Desktop/Test/Demo_export
from sketch-commands.
beta version didn't work either, but got a completely different error.
11/15/14 12:42:17.455 AM Selection to Desktop as SVG (Sketch Plugin)[915]: TypeError: undefined is not a function (evaluating 'sel.rectByAccountingForStyleSize_( sel. absoluteRect(). rect())').
Plugin “Selection to Desktop as SVG”, line 358.
» } «
11/15/14 12:42:17.455 AM Sketch Beta[915]: Exception: {
column = 45;
line = 358;
sourceURL = "/Users/martinparets/Library/Containers/com.bohemiancoding.sketch3.beta/Data/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Export/Selection to Desktop as SVG.sketchplugin";
}
from sketch-commands.
I just pushed a fix in 62da535
Let me know if it works for you.
from sketch-commands.
i appreciate you looking into it, but unfortunately that still did not work :( here's my log:
11/15/14 10:45:07.470 AM Selection to Desktop as SVG (Sketch Plugin)[617]: AppSandboxFileAccess.accessFilePath_withBlock_persistPermission
11/15/14 10:45:07.470 AM Selection to Desktop as SVG (Sketch Plugin)[617]: path: /Users/martinparets/Library/Containers/com.bohemiancoding.sketch3/Data/Desktop
11/15/14 10:45:07.470 AM Selection to Desktop as SVG (Sketch Plugin)[617]: AppSandboxFileAccess.accessFileURL_withBlock_persistPermission
11/15/14 10:45:07.470 AM Selection to Desktop as SVG (Sketch Plugin)[617]: fileUrl: file:///Users/martinparets/Library/Containers/com.bohemiancoding.sketch3/Data/Desktop/
11/15/14 10:45:07.470 AM Selection to Desktop as SVG (Sketch Plugin)[617]: block: function do_export() {
var slice = GKRect.rectWithRect_( rect);
doc.saveArtboardOrSlice_toFile_( slice ,export_filename);
com.bomberstudios.reveal_finder_in(export_filename);
}
11/15/14 10:45:07.471 AM Selection to Desktop as SVG (Sketch Plugin)[617]: persist: true
11/15/14 10:45:07.471 AM Selection to Desktop as SVG (Sketch Plugin)[617]: AppSandboxFileAccessPersist.bookmarkDataForURL('file:///Users/martinparets/Desktop/')
11/15/14 10:45:07.471 AM Selection to Desktop as SVG (Sketch Plugin)[617]: Key: bd_file:///Users/martinparets/Desktop/
11/15/14 10:45:07.472 AM Selection to Desktop as SVG (Sketch Plugin)[617]: Bookmark data found
11/15/14 10:45:07.473 AM Selection to Desktop as SVG (Sketch Plugin)[617]: Bookmark data is stale
11/15/14 10:45:07.473 AM Selection to Desktop as SVG (Sketch Plugin)[617]: AppSandboxFileAccess.persistPermissionURL(file:///Users/martinparets/Desktop/)
11/15/14 10:45:07.000 AM kernel[0]: Sandbox: Sketch(617) deny file-write-create /Users/martinparets/Desktop/reel.svg
11/15/14 10:45:07.524 AM Selection to Desktop as SVG (Sketch Plugin)[617]: Now we need to close access to the URL
11/15/14 10:45:08.301 AM sandboxd[243]: ([617]) Sketch(617) deny file-read-data /Users/martinparets/Desktop
from sketch-commands.
Unfortunately, the last patch did not fix the issue for me either. I was getting the same errors as @martinparets, so I made some changes to the code. The exporting now works for me, see PR #51.
from sketch-commands.
I'm getting the same issues as everyone above. I also tried putting the .sketch file in another folder and the plugin was only able to export one page and one artboard.
If you guys find a solution please post. Thanks.
from sketch-commands.
@equiet it works! Thank you
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.