sketch-hq / print-export-sketchplugin

Exports a PDF for printing
MIT License
85 stars 6 forks source link

Incompatible with Sketch v56.2 #12

Closed andrewharwood-rev closed 4 years ago

andrewharwood-rev commented 5 years ago

I just updated to the latest version of Sketch (56.2). Now whenever I use this plugin to export something the app crashes. This crashing behavior can be consistently reproduced.

EmmyLou522 commented 5 years ago

I am having the same issue. I updated Sketch today to 56.2 then downloaded the plugin, so I haven't been able to use it yet.

ShayMurnin commented 5 years ago

Having the same issue as @EmmyLou522. Recently upgraded to Sketch 56.2 then today downloaded the latest release v1.0.7 but it crashes when exporting. Installed previous releases of print-export-sketchplugin but all seem to crash the app when exporting.

thewholelo commented 5 years ago

I get this error in the logs after trying to run it, if it helps? This happened using it in Sketch version 53.2 also. I updated to the current version and it's still outputting this error. TypeError: undefined is not an object (evaluating 'e.sizes') at O (/Users/Lolosoltera/Library/Application Support/com.bohemiancoding.sketch3/Plugins/print-export.sketchplugin/Contents/Sketch/command.js:1:7795) at P (/Users/Lolosoltera/Library/Application Support/com.bohemiancoding.sketch3/Plugins/print-export.sketchplugin/Contents/Sketch/command.js:1:6311) at default (/Users/Lolosoltera/Library/Application Support/com.bohemiancoding.sketch3/Plugins/print-export.sketchplugin/Contents/Sketch/command.js:1:5279) at __skpm_run (/Users/Lolosoltera/Library/Application Support/com.bohemiancoding.sketch3/Plugins/print-export.sketchplugin/Contents/Sketch/command.js:1:17577) at __skpm_run[native code] (/)

fancymans commented 5 years ago

I had to revert to Sketch 55 to get it to work. Then afterwards, I updated back to 56. Not ideal, but a potential workaround if you're in a pinch.

You can download previous version of Sketch from their update page. https://www.sketch.com/updates/