Coder Social home page Coder Social logo

Comments (14)

nk9 avatar nk9 commented on July 1, 2024 1

Note @rickqwlo, the current released version (4.0.2) doesn't have the fix. @biati-digital is asking you to test a build that's been tagged.

When I test the tagged build, I'm no longer getting the access key error. But now I'm getting this different error instead:

image
[22:37:50.921] Calculate Anything[Script Filter] Queuing argument '00 gbp in usd'
[22:37:50.967] Calculate Anything[Script Filter] Script with argv '(null)' finished
[22:37:50.969] Calculate Anything[Script Filter] {"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
[22:37:51.173] Calculate Anything[Script Filter] Queuing argument '00 gbp in usd'
[22:37:51.760] Calculate Anything[Script Filter] Script with argv '(null)' finished
[22:37:51.763] Calculate Anything[Script Filter] {"items":[{"title":"The requested URL returned error: 401","valid":false,"arg":""}],"rerun":false,"variables":{"rerun":true}}
[22:37:51.764] WARNING: Calculate Anything[Script Filter] Script rerun of 0.00 is out of range (0.1s to 5s), rerun will be ignored

It may not be the issue, but I'm wondering why the first character of the query is missing?

from alfred-calculate-anything.

dukefu avatar dukefu commented on July 1, 2024

Same issue here . Please help to find a fix. Thanks in advance!

from alfred-calculate-anything.

biati-digital avatar biati-digital commented on July 1, 2024

that error it's caused by current change of exchangeratehost that now requires an API key, it needs to be removed from the workflow so it does not affect the fixer integration

from alfred-calculate-anything.

rickqwlo avatar rickqwlo commented on July 1, 2024

that error it's caused by current change of exchangeratehost that now requires an API key, it needs to be removed from the workflow so it does not affect the fixer integration

How do I go about removing it from the workflow? I started using Alfred yesterday, still not too sure how to navigate it.

from alfred-calculate-anything.

biati-digital avatar biati-digital commented on July 1, 2024

exchangeratehost has been removed in the latest update https://github.com/biati-digital/alfred-calculate-anything/releases/tag/4.0.3

Please try it and let me know if it's working for you.

from alfred-calculate-anything.

rickqwlo avatar rickqwlo commented on July 1, 2024

exchangeratehost has been removed in the latest update https://github.com/biati-digital/alfred-calculate-anything/releases/tag/4.0.3

Please try it and let me know if it's working for you.

I updated the workflow and im still getting the same issue
This is the copied from the debugger:
[17:01:22.600] Calculate Anything[Script Filter] Queuing argument ''
[17:01:22.726] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:22.732] Calculate Anything[Script Filter] {"items":[]}
[17:01:22.925] Calculate Anything[Script Filter] Queuing argument '0'
[17:01:22.977] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:22.983] Calculate Anything[Script Filter] {"items":[]}
[17:01:23.044] Calculate Anything[Script Filter] Queuing argument '00'
[17:01:23.093] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:23.099] Calculate Anything[Script Filter] {"items":[]}
[17:01:23.961] Calculate Anything[Script Filter] Queuing argument '00e'
[17:01:24.036] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:24.043] Calculate Anything[Script Filter] {"items":[]}
[17:01:24.087] Calculate Anything[Script Filter] Queuing argument '00eu'
[17:01:24.132] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:24.140] Calculate Anything[Script Filter] {"items":[]}
[17:01:24.223] Calculate Anything[Script Filter] Queuing argument '00eur'
[17:01:24.259] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:24.265] Calculate Anything[Script Filter] {"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
[17:01:24.314] Calculate Anything[Script Filter] Queuing argument '00euro'
[17:01:24.443] Calculate Anything[Script Filter] Queuing argument '00euros'
[17:01:24.530] Calculate Anything[Script Filter] Queuing argument '00euros '
[17:01:24.680] Calculate Anything[Script Filter] Queuing argument '00euros i'
[17:01:24.725] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:24.733] Calculate Anything[Script Filter] {"items":[]}
[17:01:24.753] Calculate Anything[Script Filter] Queuing argument '00euros in'
[17:01:24.784] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:24.791] Calculate Anything[Script Filter] {"items":[]}
[17:01:24.867] Calculate Anything[Script Filter] Queuing argument '00euros in '
[17:01:24.901] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:24.909] Calculate Anything[Script Filter] {"items":[]}
[17:01:25.435] Calculate Anything[Script Filter] Queuing argument '00euros in u'
[17:01:25.511] Calculate Anything[Script Filter] Queuing argument '00euros in us'
[17:01:25.566] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:25.573] Calculate Anything[Script Filter] {"items":[]}
[17:01:25.590] Calculate Anything[Script Filter] Queuing argument '00euros in usd'
[17:01:25.683] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:25.691] Calculate Anything[Script Filter] {"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
[17:01:25.891] Calculate Anything[Script Filter] Queuing argument '00euros in usd'
[17:01:27.238] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:01:27.247] Calculate Anything[Script Filter] {"items":[{"title":"You have not supplied an API Access Key. [Required format: access_key=YOUR_ACCESS_KEY]","valid":false,"arg":""}],"rerun":false,"variables":{"rerun":true}}
[17:01:27.250] WARNING: Calculate Anything[Script Filter] Script rerun of 0.00 is out of range (0.1s to 5s), rerun will be ignored

image

from alfred-calculate-anything.

rickqwlo avatar rickqwlo commented on July 1, 2024

Note @rickqwlo, the current released version (4.0.2) doesn't have the fix. @biati-digital is asking you to test a build that's been tagged.

When I test the tagged build, I'm no longer getting the access key error. But now I'm getting this different error instead:

image ``` [22:37:50.921] Calculate Anything[Script Filter] Queuing argument '00 gbp in usd' [22:37:50.967] Calculate Anything[Script Filter] Script with argv '(null)' finished [22:37:50.969] Calculate Anything[Script Filter] {"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}} [22:37:51.173] Calculate Anything[Script Filter] Queuing argument '00 gbp in usd' [22:37:51.760] Calculate Anything[Script Filter] Script with argv '(null)' finished [22:37:51.763] Calculate Anything[Script Filter] {"items":[{"title":"The requested URL returned error: 401","valid":false,"arg":""}],"rerun":false,"variables":{"rerun":true}} [22:37:51.764] WARNING: Calculate Anything[Script Filter] Script rerun of 0.00 is out of range (0.1s to 5s), rerun will be ignored ```

It may not be the issue, but I'm wondering why the first character of the query is missing?

Yeah I downloaded 4.0.3 and am now getting the same error message as you. Any fixes for this yet?

from alfred-calculate-anything.

biati-digital avatar biati-digital commented on July 1, 2024

Not sure if something changed in Alfred, the workflow does not set a rerun of 0.00

Can you download this version and try it? if it works i'll submit an update

Calculate Anything.zip

from alfred-calculate-anything.

nk9 avatar nk9 commented on July 1, 2024

Hmm, yet another error:

[16:41:35.635] Calculate Anything[Script Filter] Queuing argument '0 eur in gbp'
[16:41:35.687] Calculate Anything[Script Filter] Script with argv '(null)' finished
[16:41:35.690] Calculate Anything[Script Filter] {"items":{"0":{"title":"You need to configure the API key for Fixer","valid":false,"arg":""},"rerun":false}}
[16:41:35.691] ERROR: Calculate Anything[Script Filter] JSON is missing expected keys; items, variables or rerunafter:
{"items":{"0":{"title":"You need to configure the API key for Fixer","valid":false,"arg":""},"rerun":false}}

from alfred-calculate-anything.

biati-digital avatar biati-digital commented on July 1, 2024

Did you configure your Fixer API key? that error says "You need to configure the API key for Fixer", make sure that you have a fixer api key configured correctly.

from alfred-calculate-anything.

rickqwlo avatar rickqwlo commented on July 1, 2024

Did you configure your Fixer API key? that error says "You need to configure the API key for Fixer", make sure that you have a fixer api key configured correctly.

Okay after I inputted the fixer api it seems to be working now. Thank you so much

from alfred-calculate-anything.

nk9 avatar nk9 commented on July 1, 2024

Did you configure your Fixer API key? that error says "You need to configure the API key for Fixer", make sure that you have a fixer api key configured correctly.

Aaah, indeed, I missed that setup step. All working now, many thanks!

from alfred-calculate-anything.

listingpro avatar listingpro commented on July 1, 2024

Running v 4.0.5
Querying currency "199thb"
Recently takes longer than usual to see even see message "Updating Rates..."
New version shows "Updating Rates..." then disappears and no information. Previous version gave me 401 error "on screen" after "Updating Rates..." disappeared

Debug shows incorrect queuing argument '99thb', "199thb" was entered and a JSON error. Also have a Fixer.io API key entered, Fixer.io account statistics show no API requests in the past month :

[11:20:16.886] Calculate Anything[Script Filter] Queuing argument '99thb'
[11:20:19.316] Calculate Anything[Script Filter] Script with argv '(null)' finished
[11:20:19.319] Calculate Anything[Script Filter] {"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
[11:20:19.524] Calculate Anything[Script Filter] Queuing argument '99thb'
[11:20:24.237] Calculate Anything[Script Filter] Script with argv '(null)' finished
[11:20:24.239] Calculate Anything[Script Filter] {"items":{"0":{"title":"The requested URL returned error: 401","valid":false,"arg":""},"rerun":false}}
[11:20:24.244] ERROR: Calculate Anything[Script Filter] JSON is missing expected keys; items, variables or rerunafter:
{"items":{"0":{"title":"The requested URL returned error: 401","valid":false,"arg":""},"rerun":false}}

from alfred-calculate-anything.

biati-digital avatar biati-digital commented on July 1, 2024

This issue has already been solved @listingpro if you have a problem please create a new issue and provide all the required information.

Just so you know, the workflow does not control how long does it takes to fetch data, you are getting a 401 error, that's returned when an api key is not configured

from alfred-calculate-anything.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.