zeitlings Posted October 6, 2023 Share Posted October 6, 2023 (edited) 4 hours ago, biati said: Other users have confirmed that this has been fixed That's a bit puzzling as the latest release on Github is v4.0.5 and the version I have via the Gallery, and that is the one with the error, is also v4.0.5. 4 hours ago, biati said: If you need more help please create an issue on Github, I do not provide support here. No worries, with an entered API key everything is fine. It is just that if no API key is provided, the warning message does not appear in Alfred, but rather, the workflow simply fails silently. The returned JSON should rather look something like this: {"items":[{"title":"You need to configure the API key for Fixer","valid":false,"arg":""}]} Edited October 6, 2023 by zeitlings corrected json Link to comment
biati Posted October 6, 2023 Author Share Posted October 6, 2023 4 minutes ago, vitor said: Looking again at the output posted by @zeitlings, the JSON is indeed malformed. items should be an array of objects, not an object with a 0 key. arg shouldn’t be set and rerun should be a number, but those won’t stop the results from showing. You may be getting more issues than normal because people are getting the message in the debugger but not in Alfred due to the malformed JSON. Yes, something must be happening, not all users get that error, I'm able to see the error directly with Alfred about the API key. The workflow won't be receiving anymore updates in a while, I've a lot of work and don't have time, if anyone wants to open a PR that would be great. Link to comment
vitor Posted October 6, 2023 Share Posted October 6, 2023 4 minutes ago, zeitlings said: The returned JSON should rather look something like this That still errors out. It’s not the rerun causing the issue, but items not being an array. Note I haven’t tested this in the workflow itself, I’m following the posted messages. Link to comment
gingerbeardman Posted October 13, 2023 Share Posted October 13, 2023 (edited) I recently updated from 4.0.2 to 4.0.5 and also didn't get any error saying my API key was missing. I was previously using a key for the service that was removed. Anyway, it's easily solved but was very annoying to waste time fixing what was already working. I'll try to find time to file a PR to fix the issue. Edited October 13, 2023 by gingerbeardman Link to comment
hoon Posted October 23, 2023 Share Posted October 23, 2023 Hi I am trying to use calculate anything. I bought powerpack, used it a while, but something happened, I don't know the reason, and it stopped working. I re-installed the Alfred, version 5.1.3. I managed the dependency issue as below, installed php manually via terminal but it does not work... how can I handle this issue? Link to comment
vitor Posted October 23, 2023 Share Posted October 23, 2023 Welcome @hoon, As explained on the other thread, unless you post the debugger output we’re basically shooting in the dark. Help us help you. Link to comment
sarusapon Posted October 25, 2023 Share Posted October 25, 2023 On 10/24/2023 at 5:33 AM, vitor said: Welcome @hoon, As explained on the other thread, unless you post the debugger output we’re basically shooting in the dark. Help us help you. Hi @vitor, I have the same problem as @hoon. I am on macOS Sonoma 14.0, and PHP in installed. Here's my Debugger log: Quote [10:45:41.242] Logging Started... [10:45:51.012] Calculate Anything[Script Filter] Queuing argument '' [10:45:51.121] Calculate Anything[Script Filter] Script with argv '(null)' finished [10:45:51.124] ERROR: Calculate Anything[Script Filter] Code 6: dyld[47183]: Library not loaded: /usr/local/opt/libavif/lib/libavif.15.dylib Referenced from: <735019D8-AF6E-3CD1-9AD4-3BE47CB22D4F> /usr/local/Cellar/gd/2.3.3_5/lib/libgd.3.dylib Reason: tried: '/usr/local/opt/libavif/lib/libavif.15.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libavif/lib/libavif.15.dylib' (no such file), '/usr/local/opt/libavif/lib/libavif.15.dylib' (no such file), '/usr/local/lib/libavif.15.dylib' (no such file), '/usr/lib/libavif.15.dylib' (no such file, not in dyld cache), '/usr/local/Cellar/libavif/1.0.1/lib/libavif.15.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/libavif/1.0.1/lib/libavif.15.dylib' (no such file), '/usr/local/Cellar/libavif/1.0.1/lib/libavif.15.dylib' (no such file), '/usr/local/lib/libavif.15.dylib' (no such file), '/usr/lib/libavif.15.dylib' (no such file, not in dyld cache) Link to comment
vitor Posted October 25, 2023 Share Posted October 25, 2023 Looks like you have something broken in your setup, possibly from the upgrade. Open a terminal and run: xcode-select --install; brew reinstall gd php Link to comment
sarusapon Posted October 25, 2023 Share Posted October 25, 2023 It solved the problem, thank you very much for the help! Link to comment
alfredpanda Posted November 3, 2023 Share Posted November 3, 2023 Hello, Any idea why percentage calculations have stopped working? This used to be really helpful. Thanks Link to comment
helloworld99 Posted November 9, 2023 Share Posted November 9, 2023 anyone has any idea what error is this ? Link to comment
vitor Posted November 9, 2023 Share Posted November 9, 2023 3 hours ago, helloworld99 said: anyone has any idea what error is this ? You need to set the API key in the configuration. See above. Link to comment
iamtheotherplanet Posted December 3, 2023 Share Posted December 3, 2023 On 11/3/2023 at 5:56 AM, alfredpanda said: Hello, Any idea why percentage calculations have stopped working? This used to be really helpful. Thanks I just confirmed that I'm seeing this issue as well. Anyone have any info? Link to comment
TheJollyJagamo Posted January 1 Share Posted January 1 Hey everyone, having some issues with the currency conversion. I added the api key, checked that all my dependencies are up to date, not sure why I'm getting this error Link to comment
olivergiangvu Posted January 6 Share Posted January 6 Hi just have one question. I often need to convert from imperial to metric exp: 7ft4' to m but I try to type different syntax but can't get it work. Anyone have experience with this. Thanks! Link to comment
jorfermo Posted July 31 Share Posted July 31 Hello! I'm using this workflow for the first time. Everything's working fine but the currency conversion. I set up the API KEY but whenever I try to convert a currency I get this response from Alfred: "Updating rates..." and then "The requested URL returned error: 401" Any idea why? Thanks! Link to comment
Floating.Point Posted August 1 Share Posted August 1 @jorfermo its working fine for me. It could have just been a service outage – is it still not working for you? Link to comment
FireFingers21 Posted August 1 Share Posted August 1 @jorfermo Error 401 is a status code that indicates an unauthorized request, i.e. not providing the correct credentials. Make sure the API key is set up correctly and that you've also entered it correctly. Link to comment
RDN Posted August 4 Share Posted August 4 i get error 401 too. i resetted the API key 4 times. i cant get it to work. Link to comment
vitor Posted August 4 Share Posted August 4 If you’re having trouble with the conversions, perhaps try the official Currency Converter (for other types of conversions, there’s a different official workflow). Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now