giovannicoppola / alfred-convert

Convert between different units in Alfred
Other
56 stars 1 forks source link

[Bug]ERROR While opening None, in line None: missing unary operator "/" #4

Open lowking opened 8 months ago

lowking commented 8 months ago
[16:24:50.902] Convert[Script Filter] Queuing argument '1 kg g'
[16:24:51.455] Convert[Script Filter] Script with argv '1 kg g' finished
[16:24:51.458] ERROR: Convert[Script Filter] Code 1: .
http_proxy=
https_proxy=
.
16:24:51 workflow.py:2093 DEBUG    ---------- Convert (4.0.2) ----------
16:24:51 convert.py:647 DEBUG    query : 1 kg g
16:24:51 workflow.py:1483 DEBUG    reading settings from /Users/lowking/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json
16:24:51 workflow.py:2285 DEBUG    last run version: 4.0.2
16:24:51 convert.py:104 DEBUG    version=4.0.2, last_version=4.0.2
16:24:51 workflow.py:1717 DEBUG    loading cached data: /Users/lowking/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/exchange_rates.pickle
16:24:51 convert.py:548 DEBUG    registering currency : 'AED = usd / 3.672885 = aed'
16:24:51 convert.py:548 DEBUG    registering currency : 'AFN = usd / 72.500001 = afn'
16:24:51 convert.py:548 DEBUG    registering currency : 'ALL = usd / 95.441606 = all'
16:24:51 convert.py:548 DEBUG    registering currency : 'AMD = usd / 404.741958 = amd'
16:24:51 convert.py:548 DEBUG    registering currency : 'ANG = usd / 1.803327 = ang'
16:24:51 convert.py:548 DEBUG    registering currency : 'AOA = usd / 828.7761 = aoa'
16:24:51 convert.py:548 DEBUG    registering currency : 'ARS = usd / 818.442215 = ars'
16:24:51 convert.py:548 DEBUG    registering currency : 'AUD = usd / 1.515152 = aud'
16:24:51 convert.py:548 DEBUG    registering currency : 'AWG = usd / 1.8 = awg'
16:24:51 convert.py:548 DEBUG    registering currency : 'AZN = usd / 1.7 = azn'
16:24:51 convert.py:548 DEBUG    registering currency : 'BAM = usd / 1.797486 = bam'
16:24:51 convert.py:548 DEBUG    registering currency : 'BBD = usd / 2 = bbd'
16:24:51 convert.py:548 DEBUG    registering currency : 'BDT = usd / 109.817822 = bdt'
16:24:51 convert.py:548 DEBUG    registering currency : 'BGN = usd / 1.795135 = bgn'
16:24:51 convert.py:548 DEBUG    registering currency : 'BHD = usd / 0.376898 = bhd'
16:24:51 convert.py:548 DEBUG    registering currency : 'BIF = usd / 2860 = bif'
16:24:51 convert.py:548 DEBUG    registering currency : 'BMD = usd / 1 = bmd'
16:24:51 convert.py:548 DEBUG    registering currency : 'BND = usd / 1.34193 = bnd'
16:24:51 convert.py:548 DEBUG    registering currency : 'BOB = usd / 6.913887 = bob'
16:24:51 convert.py:548 DEBUG    registering currency : 'BRL = usd / 4.9315 = brl'
16:24:51 convert.py:548 DEBUG    registering currency : 'BSD = usd / 1 = bsd'
16:24:51 convert.py:548 DEBUG    registering currency : 'BTC = usd / 2.4044169e-05 = btc'
16:24:51 convert.py:548 DEBUG    registering currency : 'BTN = usd / 83.114786 = btn'
16:24:51 convert.py:548 DEBUG    registering currency : 'BWP = usd / 13.679393 = bwp'
16:24:51 convert.py:548 DEBUG    registering currency : 'BYN = usd / 3.27459 = byn'
16:24:51 convert.py:548 DEBUG    registering currency : 'BZD = usd / 2.016984 = bzd'
16:24:51 convert.py:548 DEBUG    registering currency : 'CAD = usd / 1.34635 = cad'
16:24:51 convert.py:548 DEBUG    registering currency : 'CDF = usd / 2660 = cdf'
16:24:51 convert.py:548 DEBUG    registering currency : 'CHF = usd / 0.868309 = chf'
16:24:51 convert.py:548 DEBUG    registering currency : 'CLF = usd / 0.033003 = clf'
16:24:51 convert.py:548 DEBUG    registering currency : 'CLP = usd / 910.65 = clp'
16:24:51 convert.py:548 DEBUG    registering currency : 'CNH = usd / 7.20361 = cnh'
16:24:51 convert.py:548 DEBUG    registering currency : 'CNY = usd / 7.1154 = cny'
16:24:51 convert.py:548 DEBUG    registering currency : 'COP = usd / 3908.771984 = cop'
16:24:51 convert.py:548 DEBUG    registering currency : 'CRC = usd / 515.026397 = crc'
16:24:51 convert.py:548 DEBUG    registering currency : 'CUC = usd / 1 = cuc'
16:24:51 convert.py:548 DEBUG    registering currency : 'CUP = usd / 25.75'
16:24:51 convert.py:548 DEBUG    registering currency : 'CVE = usd / 101.6 = cve'
16:24:51 convert.py:548 DEBUG    registering currency : 'CZK = usd / 22.7464 = czk'
16:24:51 convert.py:548 DEBUG    registering currency : 'DJF = usd / 177.827972 = djf'
16:24:51 convert.py:548 DEBUG    registering currency : 'DKK = usd / 6.843 = dkk'
16:24:51 convert.py:548 DEBUG    registering currency : 'DOP = usd / 58.765 = dop'
16:24:51 convert.py:548 DEBUG    registering currency : 'DZD = usd / 134.331977 = dzd'
16:24:51 convert.py:548 DEBUG    registering currency : 'EGP = usd / 30.866777 = egp'
16:24:51 convert.py:548 DEBUG    registering currency : 'ERN = usd / 15 = ern'
16:24:51 convert.py:548 DEBUG    registering currency : 'ETB = usd / 56.4 = etb'
16:24:51 convert.py:548 DEBUG    registering currency : 'EUR = usd / 0.91705 = eur'
16:24:51 convert.py:548 DEBUG    registering currency : 'FJD = usd / 2.2357 = fjd'
16:24:51 convert.py:548 DEBUG    registering currency : 'FKP = usd / 0.787154 = fkp'
16:24:51 convert.py:548 DEBUG    registering currency : 'GBP = usd / 0.787154 = gbp'
16:24:51 convert.py:548 DEBUG    registering currency : 'GEL = usd / 2.655 = gel'
16:24:51 convert.py:548 DEBUG    registering currency : 'GGP = usd / 0.787154 = ggp'
16:24:51 convert.py:548 DEBUG    registering currency : 'GHS = usd / 12.01 = ghs'
16:24:51 convert.py:548 DEBUG    registering currency : 'GIP = usd / 0.787154 = gip'
16:24:51 convert.py:548 DEBUG    registering currency : 'GMD = usd / 67.25 = gmd'
16:24:51 convert.py:548 DEBUG    registering currency : 'GNF = usd / 8610 = gnf'
16:24:51 convert.py:548 DEBUG    registering currency : 'GTQ = usd / 7.824828 = gtq'
16:24:51 convert.py:548 DEBUG    registering currency : 'GYD = usd / 209.502773 = gyd'
16:24:51 convert.py:548 DEBUG    registering currency : 'HKD = usd / 7.81655 = hkd'
16:24:51 convert.py:548 DEBUG    registering currency : 'HNL = usd / 24.710001 = hnl'
16:24:51 convert.py:548 DEBUG    registering currency : 'HRK = usd / 6.9139 = hrk'
16:24:51 convert.py:548 DEBUG    registering currency : 'HTG = usd / 131.848716 = htg'
16:24:51 convert.py:548 DEBUG    registering currency : 'HUF = usd / 350.41 = huf'
16:24:51 convert.py:548 DEBUG    registering currency : 'IDR = usd / 15619.65 = idr'
16:24:51 convert.py:548 DEBUG    registering currency : 'ILS = usd / 3.74355 = ils'
16:24:51 convert.py:548 DEBUG    registering currency : 'IMP = usd / 0.787154 = imp'
16:24:51 convert.py:548 DEBUG    registering currency : 'INR = usd / 83.12235 = inr'
16:24:51 convert.py:548 DEBUG    registering currency : 'IQD = usd / 1310.860205 = iqd'
16:24:51 convert.py:548 DEBUG    registering currency : 'IRR = usd / 42037.5 = irr'
16:24:51 convert.py:548 DEBUG    registering currency : 'ISK = usd / 136.65 = isk'
16:24:51 convert.py:548 DEBUG    registering currency : 'JEP = usd / 0.787154 = jep'
16:24:51 convert.py:548 DEBUG    registering currency : 'JMD = usd / 155.59663 = jmd'
16:24:51 convert.py:548 DEBUG    registering currency : 'JOD = usd / 0.7094 = jod'
16:24:51 convert.py:548 DEBUG    registering currency : 'JPY = usd / 148.13333333 = jpy'
16:24:51 convert.py:548 DEBUG    registering currency : 'KES = usd / 161.75 = kes'
16:24:51 convert.py:548 DEBUG    registering currency : 'KGS = usd / 89.3175 = kgs'
16:24:51 convert.py:548 DEBUG    registering currency : 'KHR = usd / 4086'
16:24:51 convert.py:548 DEBUG    registering currency : 'KMF = usd / 453.000277 = kmf'
16:24:51 convert.py:548 DEBUG    registering currency : 'KPW = usd / 900 = kpw'
16:24:51 convert.py:548 DEBUG    registering currency : 'KRW = usd / 1335.855 = krw'
16:24:51 convert.py:548 DEBUG    registering currency : 'KWD = usd / 0.307823 = kwd'
16:24:51 convert.py:548 DEBUG    registering currency : 'KYD = usd / 0.833869'
16:24:51 convert.py:548 DEBUG    registering currency : 'KZT = usd / 451.870828 = kzt'
16:24:51 convert.py:548 DEBUG    registering currency : 'LAK = usd / 20655 = lak'
16:24:51 convert.py:548 DEBUG    registering currency : 'LBP = usd / 15062.5 = lbp'
16:24:51 convert.py:548 DEBUG    registering currency : 'LKR = usd / 320.606212 = lkr'
16:24:51 convert.py:548 DEBUG    registering currency : 'LRD = usd / 189.250025 = lrd'
16:24:51 convert.py:548 DEBUG    registering currency : 'LSL = usd / 19.009829 = lsl'
16:24:51 convert.py:548 DEBUG    registering currency : 'LYD = usd / 4.82 = lyd'
16:24:51 convert.py:548 DEBUG    registering currency : 'MAD = usd / 9.953404 = mad'
16:24:51 convert.py:548 DEBUG    registering currency : 'MDL = usd / 17.691374 = mdl'
16:24:51 convert.py:548 DEBUG    registering currency : 'MGA = usd / 4561 = mga'
16:24:51 convert.py:548 DEBUG    registering currency : 'MKD = usd / 56.452098 = mkd'
16:24:51 convert.py:548 DEBUG    registering currency : 'MMK = usd / 2101.339661 = mmk'
16:24:51 convert.py:548 DEBUG    registering currency : 'MNT = usd / 3450 = mnt'
16:24:51 convert.py:548 DEBUG    registering currency : 'MOP = usd / 8.059461 = mop'
16:24:51 convert.py:548 DEBUG    registering currency : 'MRU = usd / 39.55 = mru'
16:24:51 convert.py:548 DEBUG    registering currency : 'MUR = usd / 44.251321 = mur'
16:24:51 convert.py:548 DEBUG    registering currency : 'MVR = usd / 15.4 = mvr'
16:24:51 convert.py:548 DEBUG    registering currency : 'MWK = usd / 1683 = mwk'
16:24:51 convert.py:548 DEBUG    registering currency : 'MXN = usd / 17.0854 = mxn'
16:24:51 convert.py:548 DEBUG    registering currency : 'MYR = usd / 4.714 = myr'
16:24:51 convert.py:548 DEBUG    registering currency : 'MZN = usd / 63.850001 = mzn'
16:24:51 convert.py:548 DEBUG    registering currency : 'NAD = usd / 19.010178 = nad'
16:24:51 convert.py:548 DEBUG    registering currency : 'NGN = usd / 891.04 = ngn'
16:24:51 convert.py:548 DEBUG    registering currency : 'NIO = usd / 36.73 = nio'
16:24:51 convert.py:548 DEBUG    registering currency : 'NOK = usd / 10.492687 = nok'
16:24:51 convert.py:548 DEBUG    registering currency : 'NPR = usd / 132.987783 = npr'
16:24:51 convert.py:548 DEBUG    registering currency : 'NZD = usd / 1.632653 = nzd'
16:24:51 convert.py:548 DEBUG    registering currency : 'OMR = usd / 0.384937 = omr'
16:24:51 convert.py:548 DEBUG    registering currency : 'PAB = usd / 1 = pab'
16:24:51 convert.py:548 DEBUG    registering currency : 'PEN = usd / 3.743774 = pen'
16:24:51 convert.py:548 DEBUG    registering currency : 'PGK = usd / 3.742407 = pgk'
16:24:51 convert.py:548 DEBUG    registering currency : 'PHP = usd / 55.885247'
16:24:51 convert.py:548 DEBUG    registering currency : 'PKR = usd / 280.1 = pkr'
16:24:51 convert.py:548 DEBUG    registering currency : 'PLN = usd / 3.99661 = pln'
16:24:51 convert.py:548 DEBUG    registering currency : 'PYG = usd / 7286.301023 = pyg'
16:24:51 convert.py:548 DEBUG    registering currency : 'QAR = usd / 3.648829 = qar'
16:24:51 convert.py:548 DEBUG    registering currency : 'RON = usd / 4.57 = ron'
16:24:51 convert.py:548 DEBUG    registering currency : 'RSD = usd / 107.547 = rsd'
16:24:51 convert.py:548 DEBUG    registering currency : 'RUB = usd / 88.183422 = rub'
16:24:51 convert.py:548 DEBUG    registering currency : 'RWF = usd / 1273 = rwf'
16:24:51 convert.py:548 DEBUG    registering currency : 'SAR = usd / 3.75066 = sar'
16:24:51 convert.py:548 DEBUG    registering currency : 'SBD = usd / 8.425461 = sbd'
16:24:51 convert.py:548 DEBUG    registering currency : 'SCR = usd / 13.478586 = scr'
16:24:51 convert.py:548 DEBUG    registering currency : 'SDG = usd / 601 = sdg'
16:24:51 convert.py:548 DEBUG    registering currency : 'SEK = usd / 10.4649 = sek'
16:24:51 convert.py:548 DEBUG    registering currency : 'SGD = usd / 1.3408 = sgd'
16:24:51 convert.py:548 DEBUG    registering currency : 'SHP = usd / 0.787154 = shp'
16:24:51 convert.py:548 DEBUG    registering currency : 'SLL = usd / 20969.5 = sll'
16:24:51 convert.py:548 DEBUG    registering currency : 'SOS = usd / 571.8219 = sos'
16:24:51 convert.py:548 DEBUG    registering currency : 'SRD = usd / 36.534 = srd'
16:24:51 convert.py:548 DEBUG    registering currency : 'SSP = usd / 130.26 = ssp'
16:24:51 convert.py:548 DEBUG    registering currency : 'STN = usd / 22.75 = stn'
16:24:51 convert.py:548 DEBUG    registering currency : 'SVC = usd / 8.75583 = svc'
16:24:51 convert.py:548 DEBUG    registering currency : 'SYP = usd / 2512.53 = syp'
16:24:51 convert.py:548 DEBUG    registering currency : 'SZL = usd / 18.91 = szl'
16:24:51 convert.py:548 DEBUG    registering currency : 'THB = usd / 35.467913 = thb'
16:24:51 convert.py:548 DEBUG    registering currency : 'TJS = usd / 10.911748 = tjs'
16:24:51 convert.py:548 DEBUG    registering currency : 'TMT = usd / 3.5 = tmt'
16:24:51 convert.py:548 DEBUG    registering currency : 'TND = usd / 3.1115 = tnd'
16:24:51 convert.py:548 DEBUG    registering currency : 'TOP = usd / 2.366775 = top'
16:24:51 convert.py:548 DEBUG    registering currency : 'TRY = usd / 30.203 = try'
16:24:51 convert.py:548 DEBUG    registering currency : 'TTD = usd / 6.792304 = ttd'
16:24:51 convert.py:548 DEBUG    registering currency : 'TWD = usd / 31.3988 = twd'
16:24:51 convert.py:548 DEBUG    registering currency : 'TZS = usd / 2515 = tzs'
16:24:51 convert.py:548 DEBUG    registering currency : 'UAH = usd / 37.672177 = uah'
16:24:51 convert.py:548 DEBUG    registering currency : 'UGX = usd / 3807.646734 = ugx'
16:24:51 convert.py:540 DEBUG    skipping currency USD : Unit is already defined
16:24:51 convert.py:548 DEBUG    registering currency : 'UYU = usd / 39.368773 = uyu'
16:24:51 convert.py:548 DEBUG    registering currency : 'UZS = usd / 12440 = uzs'
16:24:51 convert.py:548 DEBUG    registering currency : 'VND = usd / 24548.917039 = vnd'
16:24:51 convert.py:548 DEBUG    registering currency : 'VUV = usd / 118.722 = vuv'
16:24:51 convert.py:548 DEBUG    registering currency : 'WST = usd / 2.8 = wst'
16:24:51 convert.py:548 DEBUG    registering currency : 'XAF = usd / 601.545367 = xaf'
16:24:51 convert.py:548 DEBUG    registering currency : 'XAG = usd / 0.04422137 = xag'
16:24:51 convert.py:548 DEBUG    registering currency : 'XAU = usd / 0.0004927 = xau'
16:24:51 convert.py:548 DEBUG    registering currency : 'XCD = usd / 2.70255 = xcd'
16:24:51 convert.py:548 DEBUG    registering currency : 'XDR = usd / 0.751885 = xdr'
16:24:51 convert.py:548 DEBUG    registering currency : 'XOF = usd / 601.545367 = xof'
16:24:51 convert.py:548 DEBUG    registering currency : 'XPD = usd / 0.00105411 = xpd'
16:24:51 convert.py:548 DEBUG    registering currency : 'XPF = usd / 109.433174 = xpf'
16:24:51 convert.py:548 DEBUG    registering currency : 'XPT = usd / 0.00111043 = xpt'
16:24:51 convert.py:548 DEBUG    registering currency : 'YER = usd / 250.350066 = yer'
16:24:51 convert.py:548 DEBUG    registering currency : 'ZAR = usd / 18.879295 = zar'
16:24:51 convert.py:548 DEBUG    registering currency : 'ZMW = usd / 26.440585 = zmw'
16:24:51 convert.py:548 DEBUG    registering currency : 'Response = usd / Error = response'
16:24:51 convert.py:548 DEBUG    registering currency : 'Message = usd / You are over your rate limit please upgrade your account! = message'
16:24:51 convert.py:548 DEBUG    registering currency : 'HasWarning = usd / False = haswarning'
16:24:51 convert.py:548 DEBUG    registering currency : 'Type = usd / 99 = type'
16:24:51 convert.py:548 DEBUG    registering currency : "RateLimit = usd / {'calls_made': {'second': 1, 'minute': 1, 'hour': 26, 'day': 229, 'month': 53620, 'total_calls': 223628}, 'max_calls': {'second': 20, 'minute': 300, 'hour': 3000, 'day': 7500, 'month': 50000}} = ratelimit"
16:24:51 convert.py:548 DEBUG    registering currency : 'Data = usd / {} = data'
16:24:51 workflow.py:2114 ERROR    While opening None, in line None: missing unary operator "/"
Traceback (most recent call last):
  File "/Users/lowking/Documents/personal/alfred-conf/Alfred.alfredpreferences/workflows/user.workflow.0124C499-DA34-4F27-BCEF-B380CBCE20D8/workflow/workflow.py", line 2107, in run
    func(self)
  File "/Users/lowking/Documents/personal/alfred-conf/Alfred.alfredpreferences/workflows/user.workflow.0124C499-DA34-4F27-BCEF-B380CBCE20D8/convert.py", line 667, in main
    register_exchange_rates(exchange_rates)
  File "/Users/lowking/Documents/personal/alfred-conf/Alfred.alfredpreferences/workflows/user.workflow.0124C499-DA34-4F27-BCEF-B380CBCE20D8/convert.py", line 549, in register_exchange_rates
    ureg.define(definition)
  File "/Users/lowking/Documents/personal/alfred-conf/Alfred.alfredpreferences/workflows/user.workflow.0124C499-DA34-4F27-BCEF-B380CBCE20D8/pint/registry.py", line 233, in define
    self._define(Definition.from_string(line))
  File "/Users/lowking/Documents/personal/alfred-conf/Alfred.alfredpreferences/workflows/user.workflow.0124C499-DA34-4F27-BCEF-B380CBCE20D8/pint/definitions.py", line 57, in from_string
    return UnitDefinition(name, symbol, aliases, value)
  File "/Users/lowking/Documents/personal/alfred-conf/Alfred.alfredpreferences/workflows/user.workflow.0124C499-DA34-4F27-BCEF-B380CBCE20D8/pint/definitions.py", line 117, in __init__
    converter = ParserHelper.from_string(converter)
  File "/Users/lowking/Documents/personal/alfred-conf/Alfred.alfredpreferences/workflows/user.workflow.0124C499-DA34-4F27-BCEF-B380CBCE20D8/pint/util.py", line 423, in from_string
    return cls._from_string(input_string)
  File "/Users/lowking/Documents/personal/alfred-conf/Alfred.alfredpreferences/workflows/user.workflow.0124C499-DA34-4F27-BCEF-B380CBCE20D8/pint/util.py", line 458, in _from_string
    ret = build_eval_tree(gen).evaluate(cls.eval_token)
  File "/Users/lowking/Documents/personal/alfred-conf/Alfred.alfredpreferences/workflows/user.workflow.0124C499-DA34-4F27-BCEF-B380CBCE20D8/pint/pint_eval.py", line 90, in evaluate
    raise DefinitionSyntaxError('missing unary operator "%s"' % op_text)
pint.errors.DefinitionSyntaxError: While opening None, in line None: missing unary operator "/"
16:24:51 workflow.py:2116 INFO     for assistance, see: https://github.com/giovannicoppola/alfred-convert/issues
16:24:51 workflow.py:2136 DEBUG    ---------- finished in 0.155s ----------
[16:24:51.463] Convert[Script Filter] {
  "items": [
    {
      "title": "Error in workflow 'Convert'",
      "subtitle": "While opening None, in line None: missing unary operator \"/\"",
      "valid": false,
      "icon": {
        "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
      }
    }
  ]
}
Jackiepie commented 6 months ago

[11:23:51.267] Logging Started... [11:23:56.584] Convert[Script Filter] Queuing argument '1' [11:23:56.821] Convert[Script Filter] Script with argv '1' finished [11:23:56.823] ERROR: Convert[Script Filter] Code 1: . http_proxy= https_proxy= . 11:23:56 workflow.py:2093 DEBUG ---------- Convert (4.0.2) ---------- 11:23:56 convert.py:647 DEBUG query : 1 11:23:56 workflow.py:1483 DEBUG reading settings from /Users/jackie/Library/Application Support/Alfred/Workflow Data/alfred-convert-GC/settings.json 11:23:56 workflow.py:2285 DEBUG last run version: 4.0.0 11:23:56 convert.py:104 DEBUG version=4.0.2, last_version=4.0.0 11:23:56 workflow.py:1717 DEBUG loading cached data: /Users/jackie/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/alfred-convert-GC/exchange_rates.pickle 11:23:56 convert.py:548 DEBUG registering currency : 'AED = usd / 3.6724 = aed' 11:23:56 convert.py:548 DEBUG registering currency : 'AFN = usd / 71.383041 = afn' 11:23:56 convert.py:548 DEBUG registering currency : 'ALL = usd / 94.926693 = all' 11:23:56 convert.py:548 DEBUG registering currency : 'AMD = usd / 402.463644 = amd' 11:23:56 convert.py:548 DEBUG registering currency : 'ANG = usd / 1.80214 = ang' 11:23:56 convert.py:548 DEBUG registering currency : 'AOA = usd / 835.211 = aoa' 11:23:56 convert.py:548 DEBUG registering currency : 'ARS = usd / 850.722705 = ars' 11:23:56 convert.py:548 DEBUG registering currency : 'AUD = usd / 1.522458 = aud' 11:23:56 convert.py:548 DEBUG registering currency : 'AWG = usd / 1.8025 = awg' 11:23:56 convert.py:548 DEBUG registering currency : 'AZN = usd / 1.7 = azn' 11:23:56 convert.py:548 DEBUG registering currency : 'BAM = usd / 1.793793 = bam' 11:23:56 convert.py:548 DEBUG registering currency : 'BBD = usd / 2 = bbd' 11:23:56 convert.py:548 DEBUG registering currency : 'BDT = usd / 109.75113 = bdt' 11:23:56 convert.py:548 DEBUG registering currency : 'BGN = usd / 1.7936 = bgn' 11:23:56 convert.py:548 DEBUG registering currency : 'BHD = usd / 0.376886 = bhd' 11:23:56 convert.py:548 DEBUG registering currency : 'BIF = usd / 2860.381611 = bif' 11:23:56 convert.py:548 DEBUG registering currency : 'BMD = usd / 1 = bmd' 11:23:56 convert.py:548 DEBUG registering currency : 'BND = usd / 1.33732 = bnd' 11:23:56 convert.py:548 DEBUG registering currency : 'BOB = usd / 6.91012 = bob' 11:23:56 convert.py:548 DEBUG registering currency : 'BRL = usd / 4.993 = brl' 11:23:56 convert.py:548 DEBUG registering currency : 'BSD = usd / 1 = bsd' 11:23:56 convert.py:548 DEBUG registering currency : 'BTC = usd / 1.4599436e-05 = btc' 11:23:56 convert.py:548 DEBUG registering currency : 'BTN = usd / 82.901361 = btn' 11:23:56 convert.py:548 DEBUG registering currency : 'BWP = usd / 13.651101 = bwp' 11:23:56 convert.py:548 DEBUG registering currency : 'BYN = usd / 3.272449 = byn' 11:23:56 convert.py:548 DEBUG registering currency : 'BZD = usd / 2.015564 = bzd' 11:23:56 convert.py:548 DEBUG registering currency : 'CAD = usd / 1.353392 = cad' 11:23:56 convert.py:548 DEBUG registering currency : 'CDF = usd / 2774.807498 = cdf' 11:23:56 convert.py:548 DEBUG registering currency : 'CHF = usd / 0.88374 = chf' 11:23:56 convert.py:548 DEBUG registering currency : 'CLF = usd / 0.03426 = clf' 11:23:56 convert.py:548 DEBUG registering currency : 'CLP = usd / 945.35 = clp' 11:23:56 convert.py:548 DEBUG registering currency : 'CNH = usd / 7.204332 = cnh' 11:23:56 convert.py:548 DEBUG registering currency : 'CNY = usd / 7.1981 = cny' 11:23:56 convert.py:548 DEBUG registering currency : 'COP = usd / 3885.696865 = cop' 11:23:56 convert.py:548 DEBUG registering currency : 'CRC = usd / 508.751648 = crc' 11:23:56 convert.py:548 DEBUG registering currency : 'CUC = usd / 1 = cuc' 11:23:56 convert.py:548 DEBUG registering currency : 'CUP = usd / 25.75' 11:23:56 convert.py:548 DEBUG registering currency : 'CVE = usd / 101.257624 = cve' 11:23:56 convert.py:548 DEBUG registering currency : 'CZK = usd / 23.127719 = czk' 11:23:56 convert.py:548 DEBUG registering currency : 'DJF = usd / 178.067835 = djf' 11:23:56 convert.py:548 DEBUG registering currency : 'DKK = usd / 6.846505 = dkk' 11:23:56 convert.py:548 DEBUG registering currency : 'DOP = usd / 59.148047 = dop' 11:23:56 convert.py:548 DEBUG registering currency : 'DZD = usd / 134.393768 = dzd' 11:23:56 convert.py:548 DEBUG registering currency : 'EGP = usd / 47.1494 = egp' 11:23:56 convert.py:548 DEBUG registering currency : 'ERN = usd / 15 = ern' 11:23:56 convert.py:548 DEBUG registering currency : 'ETB = usd / 56.785793 = etb' 11:23:56 convert.py:548 DEBUG registering currency : 'EUR = usd / 0.918073 = eur' 11:23:56 convert.py:548 DEBUG registering currency : 'FJD = usd / 2.26715 = fjd' 11:23:56 convert.py:548 DEBUG registering currency : 'FKP = usd / 0.785217 = fkp' 11:23:56 convert.py:548 DEBUG registering currency : 'GBP = usd / 0.785217 = gbp' 11:23:56 convert.py:548 DEBUG registering currency : 'GEL = usd / 2.655 = gel' 11:23:56 convert.py:548 DEBUG registering currency : 'GGP = usd / 0.785217 = ggp' 11:23:56 convert.py:548 DEBUG registering currency : 'GHS = usd / 12.919726 = ghs' 11:23:56 convert.py:548 DEBUG registering currency : 'GIP = usd / 0.785217 = gip' 11:23:56 convert.py:548 DEBUG registering currency : 'GMD = usd / 67.975 = gmd' 11:23:56 convert.py:548 DEBUG registering currency : 'GNF = usd / 8595.177151 = gnf' 11:23:56 convert.py:548 DEBUG registering currency : 'GTQ = usd / 7.806918 = gtq' 11:23:56 convert.py:548 DEBUG registering currency : 'GYD = usd / 209.211342 = gyd' 11:23:56 convert.py:548 DEBUG registering currency : 'HKD = usd / 7.819465 = hkd' 11:23:56 convert.py:548 DEBUG registering currency : 'HNL = usd / 24.692865 = hnl' 11:23:56 convert.py:548 DEBUG registering currency : 'HRK = usd / 6.91676 = hrk' 11:23:56 convert.py:548 DEBUG registering currency : 'HTG = usd / 132.576353 = htg' 11:23:56 convert.py:548 DEBUG registering currency : 'HUF = usd / 362.62 = huf' 11:23:56 convert.py:548 DEBUG registering currency : 'IDR = usd / 15717.028808 = idr' 11:23:56 convert.py:548 DEBUG registering currency : 'ILS = usd / 3.651052 = ils' 11:23:56 convert.py:548 DEBUG registering currency : 'IMP = usd / 0.785217 = imp' 11:23:56 convert.py:548 DEBUG registering currency : 'INR = usd / 82.910289 = inr' 11:23:56 convert.py:548 DEBUG registering currency : 'IQD = usd / 1309.897595 = iqd' 11:23:56 convert.py:548 DEBUG registering currency : 'IRR = usd / 42047.5 = irr' 11:23:56 convert.py:548 DEBUG registering currency : 'ISK = usd / 136.71 = isk' 11:23:56 convert.py:548 DEBUG registering currency : 'JEP = usd / 0.785217 = jep' 11:23:56 convert.py:548 DEBUG registering currency : 'JMD = usd / 154.148069 = jmd' 11:23:56 convert.py:548 DEBUG registering currency : 'JOD = usd / 0.7089 = jod' 11:23:56 convert.py:548 DEBUG registering currency : 'JPY = usd / 149.1797 = jpy' 11:23:56 convert.py:548 DEBUG registering currency : 'KES = usd / 135.496691 = kes' 11:23:56 convert.py:548 DEBUG registering currency : 'KGS = usd / 89.51 = kgs' 11:23:56 convert.py:548 DEBUG registering currency : 'KHR = usd / 4052.957237' 11:23:56 convert.py:548 DEBUG registering currency : 'KMF = usd / 452.050191 = kmf' 11:23:56 convert.py:548 DEBUG registering currency : 'KPW = usd / 900 = kpw' 11:23:56 convert.py:548 DEBUG registering currency : 'KRW = usd / 1333.800095 = krw' 11:23:56 convert.py:548 DEBUG registering currency : 'KWD = usd / 0.307329 = kwd' 11:23:56 convert.py:548 DEBUG registering currency : 'KYD = usd / 0.833337' 11:23:56 convert.py:548 DEBUG registering currency : 'KZT = usd / 450.071857 = kzt' 11:23:56 convert.py:548 DEBUG registering currency : 'LAK = usd / 20912.195829 = lak' 11:23:56 convert.py:548 DEBUG registering currency : 'LBP = usd / 89556.380635 = lbp' 11:23:56 convert.py:548 DEBUG registering currency : 'LKR = usd / 304.645857 = lkr' 11:23:56 convert.py:548 DEBUG registering currency : 'LRD = usd / 192.600044 = lrd' 11:23:56 convert.py:548 DEBUG registering currency : 'LSL = usd / 18.667279 = lsl' 11:23:56 convert.py:548 DEBUG registering currency : 'LYD = usd / 4.809154 = lyd' 11:23:56 convert.py:548 DEBUG registering currency : 'MAD = usd / 10.048289 = mad' 11:23:56 convert.py:548 DEBUG registering currency : 'MDL = usd / 17.684367 = mdl' 11:23:56 convert.py:548 DEBUG registering currency : 'MGA = usd / 4484.958654 = mga' 11:23:56 convert.py:548 DEBUG registering currency : 'MKD = usd / 56.574757 = mkd' 11:23:56 convert.py:548 DEBUG registering currency : 'MMK = usd / 2099.858508 = mmk' 11:23:56 convert.py:548 DEBUG registering currency : 'MNT = usd / 3450 = mnt' 11:23:56 convert.py:548 DEBUG registering currency : 'MOP = usd / 8.054408 = mop' 11:23:56 convert.py:548 DEBUG registering currency : 'MRU = usd / 39.767407 = mru' 11:23:56 convert.py:548 DEBUG registering currency : 'MUR = usd / 45.969996 = mur' 11:23:56 convert.py:548 DEBUG registering currency : 'MVR = usd / 15.41 = mvr' 11:23:56 convert.py:548 DEBUG registering currency : 'MWK = usd / 1683.271931 = mwk' 11:23:56 convert.py:548 DEBUG registering currency : 'MXN = usd / 16.718232 = mxn' 11:23:56 convert.py:548 DEBUG registering currency : 'MYR = usd / 4.7185 = myr' 11:23:56 convert.py:548 DEBUG registering currency : 'MZN = usd / 63.92499 = mzn' 11:23:56 convert.py:548 DEBUG registering currency : 'NAD = usd / 18.66745 = nad' 11:23:56 convert.py:548 DEBUG registering currency : 'NGN = usd / 1560.26 = ngn' 11:23:56 convert.py:548 DEBUG registering currency : 'NIO = usd / 36.805879 = nio' 11:23:56 convert.py:548 DEBUG registering currency : 'NOK = usd / 10.609979 = nok' 11:23:56 convert.py:548 DEBUG registering currency : 'NPR = usd / 132.642394 = npr' 11:23:56 convert.py:548 DEBUG registering currency : 'NZD = usd / 1.641886 = nzd' 11:23:56 convert.py:548 DEBUG registering currency : 'OMR = usd / 0.384954 = omr' 11:23:56 convert.py:548 DEBUG registering currency : 'PAB = usd / 1 = pab' 11:23:56 convert.py:548 DEBUG registering currency : 'PEN = usd / 3.686458 = pen' 11:23:56 convert.py:548 DEBUG registering currency : 'PGK = usd / 3.821059 = pgk' 11:23:56 convert.py:548 DEBUG registering currency : 'PHP = usd / 55.648503' 11:23:56 convert.py:548 DEBUG registering currency : 'PKR = usd / 279.633328 = pkr' 11:23:56 convert.py:548 DEBUG registering currency : 'PLN = usd / 3.958185 = pln' 11:23:56 convert.py:548 DEBUG registering currency : 'PYG = usd / 7292.443082 = pyg' 11:23:56 convert.py:548 DEBUG registering currency : 'QAR = usd / 3.647028 = qar' 11:23:56 convert.py:548 DEBUG registering currency : 'RON = usd / 4.56445 = ron' 11:23:56 convert.py:548 DEBUG registering currency : 'RSD = usd / 107.598 = rsd' 11:23:56 convert.py:548 DEBUG registering currency : 'RUB = usd / 91.99632 = rub' 11:23:56 convert.py:548 DEBUG registering currency : 'RWF = usd / 1286.510015 = rwf' 11:23:56 convert.py:548 DEBUG registering currency : 'SAR = usd / 3.750407 = sar' 11:23:56 convert.py:548 DEBUG registering currency : 'SBD = usd / 8.425461 = sbd' 11:23:56 convert.py:548 DEBUG registering currency : 'SCR = usd / 13.496533 = scr' 11:23:56 convert.py:548 DEBUG registering currency : 'SDG = usd / 586 = sdg' 11:23:56 convert.py:548 DEBUG registering currency : 'SEK = usd / 10.38901 = sek' 11:23:56 convert.py:548 DEBUG registering currency : 'SGD = usd / 1.338069 = sgd' 11:23:56 convert.py:548 DEBUG registering currency : 'SHP = usd / 0.785217 = shp' 11:23:56 convert.py:548 DEBUG registering currency : 'SLL = usd / 20969.5 = sll' 11:23:56 convert.py:548 DEBUG registering currency : 'SOS = usd / 571.486082 = sos' 11:23:56 convert.py:548 DEBUG registering currency : 'SRD = usd / 35.33 = srd' 11:23:56 convert.py:548 DEBUG registering currency : 'SSP = usd / 130.26 = ssp' 11:23:56 convert.py:548 DEBUG registering currency : 'STN = usd / 22.47057 = stn' 11:23:56 convert.py:548 DEBUG registering currency : 'SVC = usd / 8.750006 = svc' 11:23:56 convert.py:548 DEBUG registering currency : 'SYP = usd / 2512.53 = syp' 11:23:56 convert.py:548 DEBUG registering currency : 'SZL = usd / 18.663729 = szl' 11:23:56 convert.py:548 DEBUG registering currency : 'THB = usd / 35.9575 = thb' 11:23:56 convert.py:548 DEBUG registering currency : 'TJS = usd / 10.95931 = tjs' 11:23:56 convert.py:548 DEBUG registering currency : 'TMT = usd / 3.5 = tmt' 11:23:56 convert.py:548 DEBUG registering currency : 'TND = usd / 3.102 = tnd' 11:23:56 convert.py:548 DEBUG registering currency : 'TOP = usd / 2.36791 = top' 11:23:56 convert.py:548 DEBUG registering currency : 'TRY = usd / 32.302003 = try' 11:23:56 convert.py:548 DEBUG registering currency : 'TTD = usd / 6.781526 = ttd' 11:23:56 convert.py:548 DEBUG registering currency : 'TWD = usd / 31.663802 = twd' 11:23:56 convert.py:548 DEBUG registering currency : 'TZS = usd / 2550 = tzs' 11:23:56 convert.py:548 DEBUG registering currency : 'UAH = usd / 38.992862 = uah' 11:23:56 convert.py:548 DEBUG registering currency : 'UGX = usd / 3885.090441 = ugx' 11:23:56 convert.py:540 DEBUG skipping currency USD : Unit is already defined 11:23:56 convert.py:548 DEBUG registering currency : 'UYU = usd / 38.411977 = uyu' 11:23:56 convert.py:548 DEBUG registering currency : 'UZS = usd / 12574.593108 = uzs' 11:23:56 convert.py:548 DEBUG registering currency : 'VND = usd / 24724.938498 = vnd' 11:23:56 convert.py:548 DEBUG registering currency : 'VUV = usd / 118.722 = vuv' 11:23:56 convert.py:548 DEBUG registering currency : 'WST = usd / 2.8 = wst' 11:23:56 convert.py:548 DEBUG registering currency : 'XAF = usd / 602.216468 = xaf' 11:23:56 convert.py:548 DEBUG registering currency : 'XAG = usd / 0.03961965 = xag' 11:23:56 convert.py:548 DEBUG registering currency : 'XAU = usd / 0.00046314 = xau' 11:23:56 convert.py:548 DEBUG registering currency : 'XCD = usd / 2.70255 = xcd' 11:23:56 convert.py:548 DEBUG registering currency : 'XDR = usd / 0.750976 = xdr' 11:23:56 convert.py:548 DEBUG registering currency : 'XOF = usd / 602.216468 = xof' 11:23:56 convert.py:548 DEBUG registering currency : 'XPD = usd / 0.00094454 = xpd' 11:23:56 convert.py:548 DEBUG registering currency : 'XPF = usd / 109.555261 = xpf' 11:23:56 convert.py:548 DEBUG registering currency : 'XPT = usd / 0.00108029 = xpt' 11:23:56 convert.py:548 DEBUG registering currency : 'YER = usd / 250.399984 = yer' 11:23:56 convert.py:548 DEBUG registering currency : 'ZAR = usd / 18.906645 = zar' 11:23:56 convert.py:548 DEBUG registering currency : 'ZMW = usd / 25.54378 = zmw' 11:23:56 convert.py:548 DEBUG registering currency : 'Response = usd / Error = response' 11:23:56 convert.py:548 DEBUG registering currency : 'Message = usd / You are over your rate limit please upgrade your account! = message' 11:23:56 convert.py:548 DEBUG registering currency : 'HasWarning = usd / False = haswarning' 11:23:56 convert.py:548 DEBUG registering currency : 'Type = usd / 99 = type' 11:23:56 convert.py:548 DEBUG registering currency : "RateLimit = usd / {'calls_made': {'second': 1, 'minute': 1, 'hour': 209, 'day': 4807, 'month': 99669, 'total_calls': 101514}, 'max_calls': {'second': 20, 'minute': 300, 'hour': 3000, 'day': 7500, 'month': 50000}} = ratelimit" 11:23:56 convert.py:548 DEBUG registering currency : 'Data = usd / {} = data' 11:23:56 workflow.py:2114 ERROR While opening None, in line None: missing unary operator "/" Traceback (most recent call last): File "/Users/jackie/Documents/Alfred.alfredpreferences/workflows/user.workflow.D1A5C9A3-ABF1-4E34-A3B3-E08BA9D516A7/workflow/workflow.py", line 2107, in run func(self) File "/Users/jackie/Documents/Alfred.alfredpreferences/workflows/user.workflow.D1A5C9A3-ABF1-4E34-A3B3-E08BA9D516A7/convert.py", line 667, in main register_exchange_rates(exchange_rates) File "/Users/jackie/Documents/Alfred.alfredpreferences/workflows/user.workflow.D1A5C9A3-ABF1-4E34-A3B3-E08BA9D516A7/convert.py", line 549, in register_exchange_rates ureg.define(definition) File "/Users/jackie/Documents/Alfred.alfredpreferences/workflows/user.workflow.D1A5C9A3-ABF1-4E34-A3B3-E08BA9D516A7/pint/registry.py", line 233, in define self._define(Definition.from_string(line)) File "/Users/jackie/Documents/Alfred.alfredpreferences/workflows/user.workflow.D1A5C9A3-ABF1-4E34-A3B3-E08BA9D516A7/pint/definitions.py", line 57, in from_string return UnitDefinition(name, symbol, aliases, value) File "/Users/jackie/Documents/Alfred.alfredpreferences/workflows/user.workflow.D1A5C9A3-ABF1-4E34-A3B3-E08BA9D516A7/pint/definitions.py", line 117, in init converter = ParserHelper.from_string(converter) File "/Users/jackie/Documents/Alfred.alfredpreferences/workflows/user.workflow.D1A5C9A3-ABF1-4E34-A3B3-E08BA9D516A7/pint/util.py", line 423, in from_string return cls._from_string(input_string) File "/Users/jackie/Documents/Alfred.alfredpreferences/workflows/user.workflow.D1A5C9A3-ABF1-4E34-A3B3-E08BA9D516A7/pint/util.py", line 458, in _from_string ret = build_eval_tree(gen).evaluate(cls.eval_token) File "/Users/jackie/Documents/Alfred.alfredpreferences/workflows/user.workflow.D1A5C9A3-ABF1-4E34-A3B3-E08BA9D516A7/pint/pint_eval.py", line 90, in evaluate raise DefinitionSyntaxError('missing unary operator "%s"' % op_text) pint.errors.DefinitionSyntaxError: While opening None, in line None: missing unary operator "/" 11:23:56 workflow.py:2116 INFO for assistance, see: https://github.com/giovannicoppola/alfred-convert/issues 11:23:56 workflow.py:2136 DEBUG ---------- finished in 0.062s ---------- [11:23:56.826] Convert[Script Filter] { "items": [ { "title": "Error in workflow 'Convert'", "subtitle": "While opening None, in line None: missing unary operator \"/\"", "valid": false, "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" } } ] }