PeachScript / sketch-plugin-monster

A Sketch plugin for managing all plugin shortcuts.
MIT License
146 stars 5 forks source link

Importing Shortcuts - Read configuration file error. #43

Open chaosplan opened 6 years ago

chaosplan commented 6 years ago

Version

0.4.2

Sketch version

52.1

What is expected?

To be able to import plugin_monster_export.json

What is actually happening?

After selecting desired file and clicking open an alert is presented "Read configuration file error!"

screenshot 2018-10-04 4_35pm

How to reproduce this problem?

I've had this issue for a very long time across several versions of Sketch and Plugin Monster. I've tried to remove some of the buggier plugins but nothing has helped. I don't know what to look for in the JSON file but it looks normal to my untrained eye - see pastebin link below.

The error log from Console.app when the problem occurred

Don't see anything specific in the logs, but have put the plugin monster shortcut export in pastebin to see if there any clues in the output.

https://pastebin.com/DVaaSbmM

PeachScript commented 6 years ago

I cannot reproduce it with your output file in my computer, could you tell me the path of the output file in your computer? Like /Users/Tom/Downloads/output.json, you can replace your username with *** for privacy.

elaltito commented 6 years ago

hello, I am having the same problem which occurs only when I try to import the configuration file from my Dropbox, if I copy the configuration file to my Desktop and import it from there, it works fine.

This is quite a problem because I think the main use of the import & export feature is to sync up multiple copies of Sketch, and if it does not work with Dropbox this is a real shame :(