tomy0000000 / Coinc

💰💱Alfred Workflow for currencies conversion
https://alfred.app/workflows/tomy0000000/coinc/
MIT License
56 stars 6 forks source link

Error #5

Closed realliyifei closed 4 years ago

realliyifei commented 4 years ago

Hello there,

Please tell me why this error happens. I've set up app id successfully.

Image Copied on 2019-12-26 at 17 08 32 PM
tomy0000000 commented 4 years ago

This is likely a duplicate of #1 Please make sure you've updated to the latest version. (Currently 1.1.0) Also, as your screenshot indicate, your alfred is also an legacy version, try updating to the latest version to prevent anything else went wrong.

realliyifei commented 4 years ago

Thanks for the reply, but it fails.

I've updated to the last versions of both Alfred and this workflow (you can check the version number of workflow in the screenshot) and even reinstalled the workflow. It failed as usual and showed below.

image image

And I'm pretty sure the app id works, as below.

image

Also, I tried to add the favorites manually, but it didn't work, neither.

image
tomy0000000 commented 4 years ago

"favorites" is actually a "Settings" item instead of "Config". It's a JSON file located in your user library folder, for more comprehensive description, see here

Normally, Coon should create this JSON Settings file upon your installation. A default setting JSON file should look like the following:

{
  "__workflow_last_version": "1.1.0", 
  "favorites": [
    "EUR", 
    "CNY", 
    "JPY", 
    "GBP"
  ]
}

But incase anything went wrong, you can always delete the file, Coon will then create a new one for you.

Try manually delete the file, and see if that fix the problem.

If not, please kindly provide your setting file, along with the debug information, so I can dive into the problem and see what I can do.

To retrieve debug information. tap the 🕷 in Alfred as follow, and type query, logs will be generated at the bottom.

snapshots 2019-12-30 下午7 21 40
realliyifei commented 4 years ago

Thank you! It's solved!

I've opened the setting.json and pasted the default setting script provided by you.

The original one looks like this:

{
  "__workflow_last_version": "1.1.0",
}
tomy0000000 commented 4 years ago

Glad to know it's fixed ;-)