Content-generator-sketch-plugin icon indicating copy to clipboard operation
Content-generator-sketch-plugin copied to clipboard

Sketch crashes when using UTF-8 / Emoji / Chinese characters in Images › Flickr Keywords

Open bomberstudios opened this issue 9 years ago • 0 comments

Steps:

  • draw a rectangle
  • select it
  • choose Images › Flickr Keywords
  • use Unicode / Emoji / Chinese characters for keywords (examples: ⌘, ☂, 候) and click Ok

What happens:

  • Sketch will crash immediately, and show this in Console.app:
03/03/16 13:04:15,984 Flickr Keywords (Sketch Plugin)[83309]: 候
03/03/16 13:04:15,985 Sketch[83309]: -[NSError init] called; this results in an invalid NSError instance. It will raise an exception in a future release. Please call errorWithDomain:code:userInfo: or initWithDomain:code:userInfo:. This message shown only once.
03/03/16 13:04:15,987 Sketch[83309]: Exception: SyntaxError: JSON Parse error: Unexpected EOF
03/03/16 13:04:15,988 Flickr Keywords (Sketch Plugin)[83309]: SyntaxError: JSON Parse error: Unexpected EOF
line: 47
sourceURL: /Users/ale/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Content Generator Sketch Plugin/Images/Flickr Keywords.sketchplugin
column: 26

bomberstudios avatar Mar 03 '16 12:03 bomberstudios