utom / sketch-measure

Make it a fun to create spec for developers and teammates
http://utom.design/measure
MIT License
6.91k stars 596 forks source link

Spec export not working on Sketch 69 #679

Open chrislachance opened 4 years ago

chrislachance commented 4 years ago

Gets stuck on first element of artboard, won't progress...

heidi-lilly commented 4 years ago

Running into the same issue with Sketch 69 and this is what I see. Screen Shot 2020-10-07 at 8 27 24 AM

baakoo commented 4 years ago

I have the same problem with Version 69

biayoshizawa commented 4 years ago

Having exact same problem with Version 69

jameskachan commented 4 years ago

Indeed — nothing I do manages to address the problem. Sketch Measure hangs when exporting.

Ishakgms commented 4 years ago

Facing same problem. do we have any solution for the same?

btarsenko commented 4 years ago

Will Sketch Measure plugin be updated to be compatible with version 69? This plugin is our main resource for providing files to our software team in a consumable manner, and now we are unable to use.

Please advise on estimated update if any

arihernandez commented 4 years ago

Same issue with v69 :( anyone have a fix ?

legend185 commented 4 years ago

same issue

Flongs commented 4 years ago

same issue cant export

idsampaio commented 4 years ago

:( same issue, v69...

PastedGraphic-1

ellunium commented 4 years ago

Hi, I fixed my branch if anyone is interested.

It should be working with sketch 69.

⭢ Give it a try and let me know.

My branch is a little different from @utom's original code and I don't use Sketch anymore on a daily basis.

I hope it helps :)


By the way, the problem was with MSImmutableColor.

stringValueWithAlpha is not available anymore, it's now called stringValueIncludingAlpha.

hocza commented 4 years ago

Hi, I fixed my branch if anyone is interested.

It should be working with sketch 69.

⭢ Give it a try and let me know.

My branch is a little different from @utom's original code and I don't use Sketch anymore on a daily basis.

I hope it helps :)

By the way, the problem was with MSImmutableColor.

stringValueWithAlpha is not available anymore, it's now called stringValueIncludingAlpha.

It works, thank you! 👍

ellunium commented 4 years ago

Another solution is to use @qjebbs's fork: https://github.com/qjebbs/sketch-meaxure

Sketch MeaXure is a re-implemention of Sketch Measure with TypeScript, uses Sketch JavaScript API.

It aims to be:

  1. More stable, not likely to break down after Sketch update.
  2. Easy to maintain.

Improvements

Improvements that users can recognize:

  1. Fully works with lastest version of Sketch (v66).
  2. The latest Tint feature support.
  3. Easily resize markers, without concerns to break them. (The resizing constrain feature).
  4. Export directly with Anima stacks activated.
  5. Customize the order of exported artboards.
  6. Better display of text fragments.
  7. Re-organize functions and panels.

Notice

If you encounter problems managing (toggle hidden/locked, remove, and export) markers created by Sketch Measure, run the menu Plugin - Sketch MeaXure - Help - Rename Old Markers.

Installation

  • Download the latest release of the plugin
  • Un-zip
  • Double-click on Sketch-Meaxure.sketchplugin

It is a really nice re-implementation 🚀

chrislachance commented 4 years ago

Another solution is to use @qjebbs's fork: https://github.com/qjebbs/sketch-meaxure

Sketch MeaXure is a re-implemention of Sketch Measure with TypeScript, uses Sketch JavaScript API. It aims to be:

  1. More stable, not likely to break down after Sketch update.
  2. Easy to maintain.

Improvements

Improvements that users can recognize:

  1. Fully works with lastest version of Sketch (v66).
  2. The latest Tint feature support.
  3. Easily resize markers, without concerns to break them. (The resizing constrain feature).
  4. Export directly with Anima stacks activated.
  5. Customize the order of exported artboards.
  6. Better display of text fragments.
  7. Re-organize functions and panels.

Notice

If you encounter problems managing (toggle hidden/locked, remove, and export) markers created by Sketch Measure, run the menu Plugin - Sketch MeaXure - Help - Rename Old Markers.

Installation

  • Download the latest release of the plugin
  • Un-zip
  • Double-click on Sketch-Meaxure.sketchplugin

It is a really nice re-implementation 🚀

Yes, this is working awesome. Thanks for the find!

idsampaio commented 4 years ago

Hi,

When executing the plugin with a project with 6 pages and 2 of them with +56 artboards when the plugin is executing, it puts the Sketch down.

ezgif com-gif-maker (2)

Someone with the same problem...

:(

ellunium commented 4 years ago

@idsampaio is that MeaXure by @qjebbs?

idsampaio commented 4 years ago

@ellunium Yes, I downloaded ( https://github.com/qjebbs/sketch-meaxure ) deleted the old plugin and install meaXure. In documents with few pages /artboards it works well and does not go down, but in more extensive projects the application closes.

ellunium commented 4 years ago

For MeaXure, we need @qjebbs to take a look. For the bigger files try my fork although there’s no support for tint for now.

qjebbs commented 4 years ago

Hi,

When executing the plugin with a project with 6 pages and 2 of them with +56 artboards when the plugin is executing, it puts the Sketch down.

@idsampaio Tested with 10k layers good, try export only some of the artboards to located who cause the problem.

It turns out that the problem you encountered is probably an issue of Sketch API: https://github.com/sketch-hq/SketchAPI/issues/810

And the latest release has bypass it. You can help to test it.

ellunium commented 4 years ago

Maybe old notes created with old Measure?

idsampaio commented 4 years ago

Hi,

I don't know what's going on, however I noticed that it is only with that sketch file. I exported another big project with 21k layers and there was no problem with the export ...

Captura de ecrã 2020-10-16, às 14 39 39

Thanks, @qjebbs & @ellunium

idsampaio commented 4 years ago

Maybe old notes created with old Measure?

No ... There was no note created in the document in question ...

wesleylin commented 4 years ago

same issue

note4 commented 4 years ago

遇到同样的问题,等待新版发布。

Encountered the same problem, waiting for the new version to be released.

stephanie-walter commented 4 years ago

Hi, I fixed my branch if anyone is interested.

It should be working with sketch 69.

⭢ Give it a try and let me know.

My branch is a little different from @utom's original code and I don't use Sketch anymore on a daily basis.

I hope it helps :)

By the way, the problem was with MSImmutableColor.

stringValueWithAlpha is not available anymore, it's now called stringValueIncludingAlpha.

Same bug and this helped, thanks a lot!!

noood commented 4 years ago

Another solution is to use @qjebbs's fork: https://github.com/qjebbs/sketch-meaxure

Sketch MeaXure is a re-implemention of Sketch Measure with TypeScript, uses Sketch JavaScript API. It aims to be:

  1. More stable, not likely to break down after Sketch update.
  2. Easy to maintain.

Improvements

Improvements that users can recognize:

  1. Fully works with lastest version of Sketch (v66).
  2. The latest Tint feature support.
  3. Easily resize markers, without concerns to break them. (The resizing constrain feature).
  4. Export directly with Anima stacks activated.
  5. Customize the order of exported artboards.
  6. Better display of text fragments.
  7. Re-organize functions and panels.

Notice

If you encounter problems managing (toggle hidden/locked, remove, and export) markers created by Sketch Measure, run the menu Plugin - Sketch MeaXure - Help - Rename Old Markers.

Installation

  • Download the latest release of the plugin
  • Un-zip
  • Double-click on Sketch-Meaxure.sketchplugin

It is a really nice re-implementation 🚀

Yes, this is working awesome. Thanks for the find!

thanks a lot!!

gerrisavova commented 4 years ago

Hi, also same issue on my end: https://github.com/utom/sketch-measure/issues/498#issuecomment-715260806

qjebbs commented 3 years ago

@idsampaio It turns out that the problem you encountered is probably an issue of Sketch API: sketch-hq/SketchAPI#810

And the latest release has bypass it. You can help to test it.

idsampaio commented 3 years ago

@idsampaio It turns out that the problem you encountered is probably an issue of Sketch API: sketch-hq/SketchAPI#810

And the latest release has bypass it. You can help to test it.

Fixed! It was really a sketch api problem.

Thanks @qjebbs .

Hey, this file "proto.html" is something we really need, we are waiting for new developments.

🤗

chesongsong commented 2 years ago
image

export html not work