tomy0000000 / Coinc

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

ETH not working @1.3.1 #16

Closed kimklai closed 3 years ago

kimklai commented 3 years ago

How to reproduce

  1. type command "cur eth"
  2. voila

Debug message

[19:03:51.754] STDERR: Coinc[Script Filter] . 19:03:51 workflow.py:2061 DEBUG ---------- Coinc (1.3.1) ---------- 19:03:51 workflow.py:1468 DEBUG reading settings from /Users/kimk/Library/Application Support/Alfred/Workflow Data/tech.tomy.coinc/settings.json 19:03:51 workflow.py:2343 DEBUG update check not due . 19:03:51 workflow.py:2061 DEBUG ---------- Coinc (1.3.1) ---------- 19:03:51 workflow.py:2343 DEBUG update check not due 19:03:51 query.py:124 INFO Run Pattern 2 19:03:51 init.py:67 INFO Python: KeyError 19:03:51 init.py:68 INFO 'ETH' 19:03:51 workflow.py:2254 DEBUG set last run version: 1.3.1 19:03:51 workflow.py:2103 DEBUG ---------- finished in 0.004s ---------- 19:03:51 workflow.py:2254 DEBUG set last run version: 1.3.1 19:03:51 workflow.py:2103 DEBUG ---------- finished in 0.026s ---------- [19:03:51.759] Coinc[Script Filter] { "items": [ { "mods": { "alt": { "valid": true, "subtitle": "Copy '$60958.0831411' to clipboard", "icon": { "path": "flags/ETH.png" }, "arg": "$60958.0831411" } }, "subtitle": "Copy '60958.0831411' to clipboard", "title": "1 ETH = 60958.0831411 TWD", "text": { "copy": "60958.0831411" }, "valid": true, "arg": "60958.0831411", "icon": { "path": "flags/ETH.png" } }, { "valid": false, "subtitle": "ETH", "icon": { "path": "hints/cancel.png" }, "title": "Python Error: KeyError" } ] }

kimklai commented 3 years ago

it turns out the symbol of ETH is missing. (symbols.json) Adding the symbol back would fix it.