utom / sketch-measure

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

measure color import doesn't work @Mac OS Mojave 10.14 #507

Open Jeason0228 opened 6 years ago

Jeason0228 commented 6 years ago
2018-10-24 4 02 01

can save &export color.json ,but i can't load a color.json when i pick up the color.json.there is no any react to show me .and the color doesn't imported

Jeason0228 commented 6 years ago

@ellunium can u help me to see what's the problem?

ellunium commented 6 years ago

@Jeason0228

Could you please let me know:

I have Sketch v52.2 and @utom's latest measure v2.7.7 and it works fine for me. I also tested with measure v2.7.6 from my fork and it worked as well.

Could you please provide a sample json to test?

Jeason0228 commented 6 years ago

sketch V52.2 Measure 2.7.6(@ellunium the version you fixed the text stlye show in the html ) #491 I have Sketch v52.2 and @utom's latest measure v2.7.7 and it doesn't works fine for me.

Jeason0228 commented 6 years ago

and @utom's latest measure v2.7.7 doesn't fixed the problem #491

ellunium commented 6 years ago

@Jeason0228

Since I cannot reproduce the bug, I need to see what's going on from the logs:

And if you can, please create a .json file that I can use to reproduce the bug.

Attach the files to your reply.

Thanks in advance.

Jeason0228 commented 6 years ago

Plugin Log.log You can find it in: ~/Library/Logs/com.bohemiancoding.sketch3/

not existed.

2018-10-25 2 35 53 2018-10-25 2 38 19

test.zip

Jeason0228 commented 6 years ago

test.zip has uploaded @ellunium sketch V52.2 Measure 2.7.6 by ellunium

ellunium commented 6 years ago

@Jeason0228

The only thing we have different is that I have High Sierra 10.13.6 and you have Mojave, this might be the reason I cannot reproduce. I'm upgrading my OS later only 😭 so I need to see your logs.

The crash log only has information about the crashes, not errors.

test_sketch

Could you please try with Sketch DevTools? Let's see if we can get your logs this way.

Jeason0228 commented 6 years ago
2018-10-25 3 36 28

repeat and repeat

Jeason0228 commented 6 years ago

i import the json,and select log show,but there is no any logs but a lot of error

2018-10-25 3 49 26
Jeason0228 commented 6 years ago

i have a friend's mac high sierra 10.13.x, sketch measure 2.7.7 by utom also can't imported the json

ellunium commented 6 years ago

@Jeason0228 could you please try this:

Nothing happens?

I think that we are looking at a lot of errors from another plugin, so let's try to get that out of the way to check Measure alone.

Thanks!

Jeason0228 commented 6 years ago

i have a friend's mac high sierra 10.13.x, sketch measure 2.7.7 by utom also can't imported the json

this time I have Mac at high Sierra 10.13.6 .sketch measure 2.7.7 By atom. All things go Right!. the problem I confirm is the Mac OS Mojave

ellunium commented 6 years ago

@Jeason0228 thanks for sharing!

Could you try that? https://github.com/utom/sketch-measure/issues/507#issuecomment-433171647

Just curious to know what we get in the logs if only Measure and Devtools are enabled.

Jeason0228 commented 6 years ago

Disable all the plugins Sketch > Plugins > Manage Plugins Uncheck all (including DevTools) of them, which will disable them Leve only Sketch Measure checked Restart Sketch Give a try to import the colors

it works! @ellunium

ellunium commented 6 years ago

Good @Jeason0228 , thanks for sharing 😄

I think it has to do with plugins that try to automatically compress PNGs.

Disable these (for now, until they are updated) if you have any of them enabled: Bitmap Compressor Auto PNG Compressor Plugin

Jeason0228 commented 6 years ago

you say this Bitmap Compressor is producted by Sketch offical? i has use this plugin but i feel nothing to my output files...also confuse- -#