ingrammicro / puzzle-publisher

A Sketch plugin that exports Sketch artboards into clickable HTML file and publishes it on an external site.
GNU General Public License v3.0
174 stars 19 forks source link

Export failed with errors #35

Closed yiching closed 3 years ago

yiching commented 3 years ago

TypeError: null is not an object (evaluating 'attributes. MSAttributedStringColorAttrubute.swatchID')

MaxBazarov commented 3 years ago

Please enable debug in Configure Plugin and send me a two last log pages. https://github.com/ingrammicro/puzzle-publisher/blob/master/Hints.md#hint5

yiching commented 3 years ago
$ tail -f ~/Library/Logs/com.bohemiancoding.sketch3/Plugin\ Log.log
10:0.54 exportArtboards: running...
10:0.58 [ ERROR ] TypeError: null is not an object (evaluating 'attributes.MSAttributedStringColorAttribute.swatchID')
10:0.59 exportArtboards: done!
closing...
closed
10:39.30 exportArtboards: running...
10:39.33 [ ERROR ] TypeError: null is not an object (evaluating 'attributes.MSAttributedStringColorAttribute.swatchID')
10:39.34 exportArtboards: done!
closing...
closed
MaxBazarov commented 3 years ago

Thanks. I just released 16.2.3 with workaround applied. Please try.

On Tue, 20 Apr 2021 at 05:44, yiching @.***> wrote:

Chende-MacBook-Pro-3:~ Yiching$ tail -f ~/Library/Logs/com.bohemiancoding.sketch3/Plugin\ Log.log 10:0.54 exportArtboards: running... 10:0.58 [ ERROR ] TypeError: null is not an object (evaluating 'attributes.MSAttributedStringColorAttribute.swatchID') 10:0.59 exportArtboards: done! closing... closed 10:39.30 exportArtboards: running... 10:39.33 [ ERROR ] TypeError: null is not an object (evaluating 'attributes.MSAttributedStringColorAttribute.swatchID') 10:39.34 exportArtboards: done! closing... closed

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ingrammicro/puzzle-publisher/issues/35#issuecomment-822931352, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEMQVAVGMLBWTACGS2VYEBDTJTTAZANCNFSM43FKNO7Q .

MaxBazarov commented 3 years ago

@yiching Did you try again?

yiching commented 3 years ago

yes, it passed! But some of prototyping links are not work. I don't know why, but I fixed it by deleting these 'objects' (delete prototype link doesn't work) and re-create objects with prototype link. Thanks.

MaxBazarov commented 3 years ago

Nice. Regarding links - please send me some example at the next time.