Jump to content

Aslan

Member
  • Posts

    10
  • Joined

  • Last visited

Posts posted by Aslan

  1. Thanks for trying, @giovanni. I'd be happy to share with you the alfred-convert-GC.log file: can you suggest where?

     

    Looking at it (while admittedly not knowing anything about this!) it seems to me that the workflow:

    • recognizes that the OpenExchangeRates.org API key isn't set
    • therefore tries to fetch the exchange rates from ExchangeRate-API.com
    • encounters an SSL certificate verify error ("unable to get local issuer certificate (_ssl.c:1129)")

    Or at least this is what it says in the first few lines of the alfred-convert-GC.log file:

     

    09:12:52 convert.py:73 ERROR    [parser] unit eur is a fiat currency, but OpenExchangeRates.org API key isn't set
    09:12:52 currency.py:240 INFO     fetching exchange rates from ExchangeRate-API.com and CryptoCompare.com ...
    09:12:52 currency.py:190 WARNING  fetching limited set of fiat currency exchange rates: APP_KEY for openexchangerates.org not set. Please sign up for a free account here: https://openexchangerates.org/signup/free
    09:12:52 currency.py:205 WARNING  ignoring crytopcurrency "BTC", as it conflicts with a fiat currency
    09:12:52 currency.py:205 WARNING  ignoring crytopcurrency "MTL", as it conflicts with a fiat currency
    09:12:52 currency.py:205 WARNING  ignoring crytopcurrency "XPD", as it conflicts with a fiat currency
    09:12:52 workflow.py:2114 ERROR    <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
    Traceback (most recent call last):

    ...

      File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1349, in do_open
        raise URLError(err)
    urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>

     

    Does it help in any way?

     

  2. In case it helps, I should maybe also mention two things:

     

    1. I used to have an older version of the convert workflow (which does not work anymore, given the Python 2 change with Monterey and which, in any case, I think I fully deleted)

    2. here is a screenshot of Alfred when I call the convert workflow. As you can see, the "Fetching exchange rate..." never disappears, but I am also always offered the "Set APP_KEY to convert this currency" option

     

    image.png.d507c606d575286c5da0e380185eb92a.png

  3. Yes. To be safe, I deleted the workflow and re-installed it "as is" (no APP_KEY) and still get the same error:

     

    [16:48:30.662] Convert[Script Filter] Queuing argument '1eur usd'
    [16:48:31.042] Convert[Script Filter] Script with argv '1eur usd' finished
    [16:48:31.050] STDERR: Convert[Script Filter] .
    http_proxy=
    https_proxy=
    .
    16:48:30 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:48:30 convert.py:647 DEBUG    query : 1eur usd
    16:48:30 workflow.py:1483 DEBUG    reading settings from /Users/sandro/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json
    16:48:30 workflow.py:2285 DEBUG    last run version: 3.99.0
    16:48:30 convert.py:104 DEBUG    version=3.99.0, last_version=3.99.0
    16:48:30 background.py:233 DEBUG    [update] command cached: /Users/sandro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/update.argcache
    16:48:30 background.py:237 DEBUG    [update] passing job to background runner: ['/usr/local/bin/python3', '-m', 'workflow.background', 'update']
    .
    16:48:30 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:48:30 background.py:243 DEBUG    [update] background job started
    16:48:30 convert.py:382 DEBUG    [parser] quantity=1.0, tail=eur usd
    16:48:30 convert.py:484 DEBUG    [parser] from_unit=eur
    16:48:30 convert.py:488 DEBUG    [parser] to_unit=usd
    16:48:30 convert.py:73 ERROR    [parser] unit eur is a fiat currency, but OpenExchangeRates.org API key isn't set
    16:48:30 workflow.py:2136 DEBUG    ---------- finished in 0.105s ----------

  4. Hi Giovanni, please see here below.

    It sounds like the API key is not set? Although it appears to be if I look in the "Environment Variables" APP_KEY Value...

     

     

    [16:13:32.586] Convert[Script Filter] Queuing argument '1eur chf'
    [16:13:34.379] Convert[Script Filter] Script with argv '1eur chf' finished
    [16:13:34.381] STDERR: Convert[Script Filter] .
    http_proxy=
    https_proxy=
    .
    16:13:34 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:34 convert.py:647 DEBUG    query : 1eur chf
    16:13:34 workflow.py:1483 DEBUG    reading settings from /Users/sandro/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json
    16:13:34 workflow.py:2285 DEBUG    last run version: 3.99.0
    16:13:34 convert.py:104 DEBUG    version=3.99.0, last_version=3.99.0
    16:13:34 background.py:233 DEBUG    [update] command cached: /Users/sandro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/update.argcache
    16:13:34 background.py:237 DEBUG    [update] passing job to background runner: ['/usr/local/bin/python3', '-m', 'workflow.background', 'update']
    .
    16:13:34 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:34 background.py:243 DEBUG    [update] background job started
    16:13:34 convert.py:382 DEBUG    [parser] quantity=1.0, tail=eur chf
    16:13:34 convert.py:484 DEBUG    [parser] from_unit=eur
    16:13:34 convert.py:488 DEBUG    [parser] to_unit=chf
    16:13:34 convert.py:73 ERROR    [parser] unit eur is a fiat currency, but OpenExchangeRates.org API key isn't set
    16:13:34 workflow.py:2136 DEBUG    ---------- finished in 0.088s ----------
    [16:13:34.383] Convert[Script Filter] {
      "items": [
        {
          "title": "Fetching exchange rates\u2026",
          "subtitle": "Currency conversions will be momentarily possible",
          "valid": false,
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"
          }
        },
        {
          "title": "Set APP_KEY to convert this currency",
          "subtitle": "Action this item for instructions",
          "valid": false,
          "autocomplete": "workflow:appkey",
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertCautionIcon.icns"
          }
        }
      ],
      "rerun": 0.5
    }
    [16:13:34.886] Convert[Script Filter] Queuing argument '1eur chf'
    [16:13:35.271] Convert[Script Filter] Script with argv '1eur chf' finished
    [16:13:35.273] STDERR: Convert[Script Filter] .
    http_proxy=
    https_proxy=
    .
    16:13:35 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:35 convert.py:647 DEBUG    query : 1eur chf
    16:13:35 workflow.py:1483 DEBUG    reading settings from /Users/sandro/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json
    16:13:35 workflow.py:2285 DEBUG    last run version: 3.99.0
    16:13:35 convert.py:104 DEBUG    version=3.99.0, last_version=3.99.0
    16:13:35 background.py:233 DEBUG    [update] command cached: /Users/sandro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/update.argcache
    16:13:35 background.py:237 DEBUG    [update] passing job to background runner: ['/usr/local/bin/python3', '-m', 'workflow.background', 'update']
    .
    16:13:35 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:35 background.py:243 DEBUG    [update] background job started
    16:13:35 convert.py:382 DEBUG    [parser] quantity=1.0, tail=eur chf
    16:13:35 convert.py:484 DEBUG    [parser] from_unit=eur
    16:13:35 convert.py:488 DEBUG    [parser] to_unit=chf
    16:13:35 convert.py:73 ERROR    [parser] unit eur is a fiat currency, but OpenExchangeRates.org API key isn't set
    16:13:35 workflow.py:2136 DEBUG    ---------- finished in 0.107s ----------
    [16:13:35.275] Convert[Script Filter] {
      "items": [
        {
          "title": "Fetching exchange rates\u2026",
          "subtitle": "Currency conversions will be momentarily possible",
          "valid": false,
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"
          }
        },
        {
          "title": "Set APP_KEY to convert this currency",
          "subtitle": "Action this item for instructions",
          "valid": false,
          "autocomplete": "workflow:appkey",
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertCautionIcon.icns"
          }
        }
      ],
      "rerun": 0.5
    }
    [16:13:35.778] Convert[Script Filter] Queuing argument '1eur chf'
    [16:13:36.165] Convert[Script Filter] Script with argv '1eur chf' finished
    [16:13:36.171] STDERR: Convert[Script Filter] .
    http_proxy=
    https_proxy=
    .
    16:13:35 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:36 convert.py:647 DEBUG    query : 1eur chf
    16:13:36 workflow.py:1483 DEBUG    reading settings from /Users/sandro/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json
    16:13:36 workflow.py:2285 DEBUG    last run version: 3.99.0
    16:13:36 convert.py:104 DEBUG    version=3.99.0, last_version=3.99.0
    16:13:36 background.py:233 DEBUG    [update] command cached: /Users/sandro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/update.argcache
    16:13:36 background.py:237 DEBUG    [update] passing job to background runner: ['/usr/local/bin/python3', '-m', 'workflow.background', 'update']
    .
    16:13:36 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:36 background.py:243 DEBUG    [update] background job started
    16:13:36 convert.py:382 DEBUG    [parser] quantity=1.0, tail=eur chf
    16:13:36 convert.py:484 DEBUG    [parser] from_unit=eur
    16:13:36 convert.py:488 DEBUG    [parser] to_unit=chf
    16:13:36 convert.py:73 ERROR    [parser] unit eur is a fiat currency, but OpenExchangeRates.org API key isn't set
    16:13:36 workflow.py:2136 DEBUG    ---------- finished in 0.109s ----------
    [16:13:36.173] Convert[Script Filter] {
      "items": [
        {
          "title": "Fetching exchange rates\u2026",
          "subtitle": "Currency conversions will be momentarily possible",
          "valid": false,
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"
          }
        },
        {
          "title": "Set APP_KEY to convert this currency",
          "subtitle": "Action this item for instructions",
          "valid": false,
          "autocomplete": "workflow:appkey",
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertCautionIcon.icns"
          }
        }
      ],
      "rerun": 0.5
    }
    [16:13:36.672] Convert[Script Filter] Queuing argument '1eur chf'
    [16:13:37.057] Convert[Script Filter] Script with argv '1eur chf' finished
    [16:13:37.067] STDERR: Convert[Script Filter] .
    http_proxy=
    https_proxy=
    .
    16:13:36 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:36 convert.py:647 DEBUG    query : 1eur chf
    16:13:36 workflow.py:1483 DEBUG    reading settings from /Users/sandro/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json
    16:13:36 workflow.py:2285 DEBUG    last run version: 3.99.0
    16:13:36 convert.py:104 DEBUG    version=3.99.0, last_version=3.99.0
    16:13:36 background.py:233 DEBUG    [update] command cached: /Users/sandro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/update.argcache
    16:13:36 background.py:237 DEBUG    [update] passing job to background runner: ['/usr/local/bin/python3', '-m', 'workflow.background', 'update']
    .
    16:13:36 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:36 background.py:243 DEBUG    [update] background job started
    16:13:36 convert.py:382 DEBUG    [parser] quantity=1.0, tail=eur chf
    16:13:36 convert.py:484 DEBUG    [parser] from_unit=eur
    16:13:36 convert.py:488 DEBUG    [parser] to_unit=chf
    16:13:36 convert.py:73 ERROR    [parser] unit eur is a fiat currency, but OpenExchangeRates.org API key isn't set
    16:13:36 workflow.py:2136 DEBUG    ---------- finished in 0.106s ----------
    [16:13:37.069] Convert[Script Filter] {
      "items": [
        {
          "title": "Fetching exchange rates\u2026",
          "subtitle": "Currency conversions will be momentarily possible",
          "valid": false,
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"
          }
        },
        {
          "title": "Set APP_KEY to convert this currency",
          "subtitle": "Action this item for instructions",
          "valid": false,
          "autocomplete": "workflow:appkey",
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertCautionIcon.icns"
          }
        }
      ],
      "rerun": 0.5
    }
    [16:13:37.564] Convert[Script Filter] Queuing argument '1eur chf'
    [16:13:37.945] Convert[Script Filter] Script with argv '1eur chf' finished
    [16:13:37.955] STDERR: Convert[Script Filter] .
    http_proxy=
    https_proxy=
    .
    16:13:37 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:37 convert.py:647 DEBUG    query : 1eur chf
    16:13:37 workflow.py:1483 DEBUG    reading settings from /Users/sandro/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json
    16:13:37 workflow.py:2285 DEBUG    last run version: 3.99.0
    16:13:37 convert.py:104 DEBUG    version=3.99.0, last_version=3.99.0
    16:13:37 background.py:233 DEBUG    [update] command cached: /Users/sandro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/update.argcache
    16:13:37 background.py:237 DEBUG    [update] passing job to background runner: ['/usr/local/bin/python3', '-m', 'workflow.background', 'update']
    .
    16:13:37 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:37 background.py:243 DEBUG    [update] background job started
    16:13:37 convert.py:382 DEBUG    [parser] quantity=1.0, tail=eur chf
    16:13:37 convert.py:484 DEBUG    [parser] from_unit=eur
    16:13:37 convert.py:488 DEBUG    [parser] to_unit=chf
    16:13:37 convert.py:73 ERROR    [parser] unit eur is a fiat currency, but OpenExchangeRates.org API key isn't set
    16:13:37 workflow.py:2136 DEBUG    ---------- finished in 0.105s ----------
    [16:13:37.957] Convert[Script Filter] {
      "items": [
        {
          "title": "Fetching exchange rates\u2026",
          "subtitle": "Currency conversions will be momentarily possible",
          "valid": false,
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"
          }
        },
        {
          "title": "Set APP_KEY to convert this currency",
          "subtitle": "Action this item for instructions",
          "valid": false,
          "autocomplete": "workflow:appkey",
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertCautionIcon.icns"
          }
        }
      ],
      "rerun": 0.5
    }
    [16:13:38.451] Convert[Script Filter] Queuing argument '1eur chf'
    [16:13:38.833] Convert[Script Filter] Script with argv '1eur chf' finished
    [16:13:38.846] STDERR: Convert[Script Filter] .
    http_proxy=
    https_proxy=
    .
    16:13:38 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:38 convert.py:647 DEBUG    query : 1eur chf
    16:13:38 workflow.py:1483 DEBUG    reading settings from /Users/sandro/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json
    16:13:38 workflow.py:2285 DEBUG    last run version: 3.99.0
    16:13:38 convert.py:104 DEBUG    version=3.99.0, last_version=3.99.0
    16:13:38 background.py:233 DEBUG    [update] command cached: /Users/sandro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/update.argcache
    16:13:38 background.py:237 DEBUG    [update] passing job to background runner: ['/usr/local/bin/python3', '-m', 'workflow.background', 'update']
    .
    16:13:38 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:38 background.py:243 DEBUG    [update] background job started
    16:13:38 convert.py:382 DEBUG    [parser] quantity=1.0, tail=eur chf
    16:13:38 convert.py:484 DEBUG    [parser] from_unit=eur
    16:13:38 convert.py:488 DEBUG    [parser] to_unit=chf
    16:13:38 convert.py:73 ERROR    [parser] unit eur is a fiat currency, but OpenExchangeRates.org API key isn't set
    16:13:38 workflow.py:2136 DEBUG    ---------- finished in 0.105s ----------
    [16:13:38.848] Convert[Script Filter] {
      "items": [
        {
          "title": "Fetching exchange rates\u2026",
          "subtitle": "Currency conversions will be momentarily possible",
          "valid": false,
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"
          }
        },
        {
          "title": "Set APP_KEY to convert this currency",
          "subtitle": "Action this item for instructions",
          "valid": false,
          "autocomplete": "workflow:appkey",
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertCautionIcon.icns"
          }
        }
      ],
      "rerun": 0.5
    }
    [16:13:39.340] Convert[Script Filter] Queuing argument '1eur chf'
    [16:13:39.727] Convert[Script Filter] Script with argv '1eur chf' finished
    [16:13:39.732] STDERR: Convert[Script Filter] .
    http_proxy=
    https_proxy=
    .
    16:13:39 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:39 convert.py:647 DEBUG    query : 1eur chf
    16:13:39 workflow.py:1483 DEBUG    reading settings from /Users/sandro/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json
    16:13:39 workflow.py:2285 DEBUG    last run version: 3.99.0
    16:13:39 convert.py:104 DEBUG    version=3.99.0, last_version=3.99.0
    16:13:39 background.py:233 DEBUG    [update] command cached: /Users/sandro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/update.argcache
    16:13:39 background.py:237 DEBUG    [update] passing job to background runner: ['/usr/local/bin/python3', '-m', 'workflow.background', 'update']
    .
    16:13:39 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:39 background.py:243 DEBUG    [update] background job started
    16:13:39 convert.py:382 DEBUG    [parser] quantity=1.0, tail=eur chf
    16:13:39 convert.py:484 DEBUG    [parser] from_unit=eur
    16:13:39 convert.py:488 DEBUG    [parser] to_unit=chf
    16:13:39 convert.py:73 ERROR    [parser] unit eur is a fiat currency, but OpenExchangeRates.org API key isn't set
    16:13:39 workflow.py:2136 DEBUG    ---------- finished in 0.106s ----------
    [16:13:39.734] Convert[Script Filter] {
      "items": [
        {
          "title": "Fetching exchange rates\u2026",
          "subtitle": "Currency conversions will be momentarily possible",
          "valid": false,
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"
          }
        },
        {
          "title": "Set APP_KEY to convert this currency",
          "subtitle": "Action this item for instructions",
          "valid": false,
          "autocomplete": "workflow:appkey",
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertCautionIcon.icns"
          }
        }
      ],
      "rerun": 0.5
    }
    [16:13:40.234] Convert[Script Filter] Queuing argument '1eur chf'
    [16:13:40.621] Convert[Script Filter] Script with argv '1eur chf' finished
    [16:13:40.629] STDERR: Convert[Script Filter] .
    http_proxy=
    https_proxy=
    .
    16:13:40 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:40 convert.py:647 DEBUG    query : 1eur chf
    16:13:40 workflow.py:1483 DEBUG    reading settings from /Users/sandro/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json
    16:13:40 workflow.py:2285 DEBUG    last run version: 3.99.0
    16:13:40 convert.py:104 DEBUG    version=3.99.0, last_version=3.99.0
    16:13:40 background.py:233 DEBUG    [update] command cached: /Users/sandro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/update.argcache
    16:13:40 background.py:237 DEBUG    [update] passing job to background runner: ['/usr/local/bin/python3', '-m', 'workflow.background', 'update']
    .
    16:13:40 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:40 background.py:243 DEBUG    [update] background job started
    16:13:40 convert.py:382 DEBUG    [parser] quantity=1.0, tail=eur chf
    16:13:40 convert.py:484 DEBUG    [parser] from_unit=eur
    16:13:40 convert.py:488 DEBUG    [parser] to_unit=chf
    16:13:40 convert.py:73 ERROR    [parser] unit eur is a fiat currency, but OpenExchangeRates.org API key isn't set
    16:13:40 workflow.py:2136 DEBUG    ---------- finished in 0.102s ----------
    [16:13:40.631] Convert[Script Filter] {
      "items": [
        {
          "title": "Fetching exchange rates\u2026",
          "subtitle": "Currency conversions will be momentarily possible",
          "valid": false,
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"
          }
        },
        {
          "title": "Set APP_KEY to convert this currency",
          "subtitle": "Action this item for instructions",
          "valid": false,
          "autocomplete": "workflow:appkey",
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertCautionIcon.icns"
          }
        }
      ],
      "rerun": 0.5
    }
    [16:13:41.128] Convert[Script Filter] Queuing argument '1eur chf'
    [16:13:41.512] Convert[Script Filter] Script with argv '1eur chf' finished
    [16:13:41.520] STDERR: Convert[Script Filter] .
    http_proxy=
    https_proxy=
    .
    16:13:41 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:41 convert.py:647 DEBUG    query : 1eur chf
    16:13:41 workflow.py:1483 DEBUG    reading settings from /Users/sandro/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json
    16:13:41 workflow.py:2285 DEBUG    last run version: 3.99.0
    16:13:41 convert.py:104 DEBUG    version=3.99.0, last_version=3.99.0
    16:13:41 background.py:233 DEBUG    [update] command cached: /Users/sandro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/update.argcache
    16:13:41 background.py:237 DEBUG    [update] passing job to background runner: ['/usr/local/bin/python3', '-m', 'workflow.background', 'update']
    .
    16:13:41 workflow.py:2093 DEBUG    ---------- Convert (3.99.0) ----------
    16:13:41 background.py:243 DEBUG    [update] background job started
    16:13:41 convert.py:382 DEBUG    [parser] quantity=1.0, tail=eur chf
    16:13:41 convert.py:484 DEBUG    [parser] from_unit=eur
    16:13:41 convert.py:488 DEBUG    [parser] to_unit=chf
    16:13:41 convert.py:73 ERROR    [parser] unit eur is a fiat currency, but OpenExchangeRates.org API key isn't set
    16:13:41 workflow.py:2136 DEBUG    ---------- finished in 0.109s ----------
    [16:13:41.522] Convert[Script Filter] {
      "items": [
        {
          "title": "Fetching exchange rates\u2026",
          "subtitle": "Currency conversions will be momentarily possible",
          "valid": false,
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"
          }
        },
        {
          "title": "Set APP_KEY to convert this currency",
          "subtitle": "Action this item for instructions",
          "valid": false,
          "autocomplete": "workflow:appkey",
          "icon": {
            "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertCautionIcon.icns"
          }
        }
      ],
      "rerun": 0.5
    }
    [16:13:42.019] Convert[Script Filter] Queuing argument '1eur chf'
    [16:13:42.234] Logging Stopped.

  5. Hello, I have similar problems with the convert workflow.

     

    I installed @giovanni updated version of the convert workflow (https://github.com/giovannicoppola/alfred-convert), set my API key correctly (I believe) as the APP_KEY value (and after checking on openexchanerates.org, my API key is indeed working) 

     

    ... but the currency conversion gets stuck with the "Fetching exchange rates..." message.

     

    Any idea of what might be wrong?

×
×
  • Create New...