zeitlings Posted October 6 Share Posted October 6 (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 by zeitlings corrected json Link to comment
biati Posted October 6 Author Share Posted October 6 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 Share Posted October 6 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 Share Posted October 13 (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 by gingerbeardman Link to comment
hoon Posted October 23 Share Posted October 23 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 Share Posted October 23 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 Share Posted October 25 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 Share Posted October 25 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 Share Posted October 25 It solved the problem, thank you very much for the help! Link to comment
alfredpanda Posted November 3 Share Posted November 3 Hello, Any idea why percentage calculations have stopped working? This used to be really helpful. Thanks Link to comment
helloworld99 Posted November 9 Share Posted November 9 anyone has any idea what error is this ? Link to comment
vitor Posted November 9 Share Posted November 9 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 Share Posted December 3 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
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