vitor Posted July 17, 2022 Share Posted July 17, 2022 3 hours ago, juubee said: fatal: Could not resolve HEAD to a revision That is the issue. Do git -C $(brew --repo homebrew/core) checkout master and try installing PHP again. Link to comment
juubee Posted July 17, 2022 Share Posted July 17, 2022 3 hours ago, vitor said: That is the issue. Do git -C $(brew --repo homebrew/core) checkout master and try installing PHP again. I appreciate your help!!! Link to comment
tiffanzsolti Posted August 26, 2022 Share Posted August 26, 2022 Hi All! Suddenly ca stopped working. I have Mac Monterey 12.2.1 and have homebred PHP already after which calc anything worked for a while. I've updated PHP, reinstalled the ca workflow and looked everywhere but couldn't find a solution. Anyone else? I am not a programmer so hard to figure out... Zsolt Link to comment
vitor Posted August 26, 2022 Share Posted August 26, 2022 @tiffanzsolti Post the output of the debugger. Link to comment
alfredpanda Posted November 17, 2022 Share Posted November 17, 2022 This is one of my most-used workflows, but I think it freezes up my M1 MacBook Pro occasionally, when I start typing a number. Or when I try a basic calculation. Not something complex like a currency conversion. Do you have any idea how is best to debug this? Link to comment
Tigersoul Posted December 3, 2022 Share Posted December 3, 2022 Love the work flow but hate it uses php. Sure it's easy to get homebrew and add php. But it absolutely chews hard-drive space. Just homebrew alone is like a gigabyte. Just to get php? Ugh! Any alternative to this? Link to comment
Dellu Posted January 14, 2023 Share Posted January 14, 2023 On 12/3/2022 at 4:39 AM, Tigersoul said: Love the work flow but hate it uses php. Sure it's easy to get homebrew and add php. But it absolutely chews hard-drive space. Just homebrew alone is like a gigabyte. Just to get php? Ugh! Any alternative to this? That is true. Php only installed over 39 other packages (dependencies) into my mac. That is insane. Link to comment
DanTorrence Posted January 29, 2023 Share Posted January 29, 2023 Hello, sorry if this sounds stupid, but how can i add another currency that is not originally supported? I got the API key and is confused about what I should do next. Link to comment
biati Posted March 19, 2023 Author Share Posted March 19, 2023 A new update has been released. This update includes a lot of changes and fixes, it should work with Alfred 4 and 5. If you are using Alfred 5 you can use the new workflow configuration window. New: Now the workflow uses the new Alfred 5 Configuration window New: Now you can convert from fiat currency to crypto currency New: Now you can convert from crypto currency to fiat currency New: Now if you convert to a currency code that it's both a fiat currency and crypto currency, the workflow will convert to both and display the two results see example New: Now you can use negative numbers for example -25F to C New: Now you can use numbers starting with dot for example .250km to meters New: Added new language: Swedish New: Added new option to configure the decimals separator to support multiple inputs New: Added new option to configure the number of decimals in currency conversions New: Added new option to configure the number of decimals in cryptocurrency conversions New: Added new option to configure the output format of numbers New: Added keyword _clear to clear all workflow cache Improved: Unit conversion works a lot better and the code was reduced a lot Fixed: Time keyword not working with certain PHP versions Fixed: Binary mode not working for data storage conversions Removed: Auto updater was removed as Alfred 5 will handle future updates Removed: The old key ca to configure the workflow is removed Removed: Convertor library was removed Many fixes and improvements to list them all. I've submitted the workflow to the Alfred Gallery, we just need to wait, in the meantime you can try the latest version downloading it directly from https://github.com/biati-digital/alfred-calculate-anything/releases/tag/4.0.0 JJJJ 1 Link to comment
biati Posted March 23, 2023 Author Share Posted March 23, 2023 A new update has been released. Improved: Workflow description now includes more examples Fixed: Not able to convert to multiple default currencies if the first default currency is the same as the input currency Fixed: Some users were not able to use currency conversion, depending on their PHP installation Fixed: Time keyword not working in PHP 8.2+ Fixed: Time keyword not grabbing the new config value for Alfred 5 I've submitted the workflow to the Alfred Gallery, we just need to wait, in the meantime you can try the latest version downloading it directly from https://github.com/biati-digital/alfred-calculate-anything/releases/tag/4.0.1 Link to comment
slyfox Posted April 28, 2023 Share Posted April 28, 2023 I tried to install and run the workflow and immediately got an error. Any idea how to fix this? Reason: launch path not accessible /usr/bin/php Check that the selected language exists on your system. If you're syncing Alfred's preferences, also check that all related workflow files exist locally. Related Workflow Info... Name: 'Calculate Anything' Folder:/Users/bob/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.30D26E72-33D3-4A03-B90C-3297F9BAC9D5 Link to comment
vitor Posted April 29, 2023 Share Posted April 29, 2023 @slyfox You have to install the missing dependencies. Link to comment
slyfox Posted April 29, 2023 Share Posted April 29, 2023 1 hour ago, vitor said: @slyfox You have to install the missing dependencies. Thank you. Link to comment
Rodrigo Rosa Posted May 31, 2023 Share Posted May 31, 2023 Hello! I just installed the Calculate Anything Workflow, but I get this error message whenever I try to use it. Can someone please let me know how I can fix it? Thanks! Rod Link to comment
vitor Posted May 31, 2023 Share Posted May 31, 2023 Welcome @Rodrigo Rosa, When asking about an existing Workflow, it’s best to use its own forum thread. While it may seem that starting a new thread could give your problem visibility, it fragments the discussion and makes it less likely the author and users of the workflow (the people who can help) will see it. I’ve moved your post to the correct place. The answer to your query is at the top of the workflow’s Gallery page: use Alfred’s dependencies manager to install what’s missing. it should take a while, depending on what you’re missing. Link to comment
Rodrigo Rosa Posted June 7, 2023 Share Posted June 7, 2023 Got it - Thanks Vitor! Rod Link to comment
dood Posted September 26, 2023 Share Posted September 26, 2023 Hi @biati, just started to get this error: full message is: "You have not supplied an API Access Key. [Required format: access_key=YOUR_ACCESS_KEY]" Link to comment
biati Posted September 27, 2023 Author Share Posted September 27, 2023 14 hours ago, dood said: Hi @biati, just started to get this error: full message is: "You have not supplied an API Access Key. [Required format: access_key=YOUR_ACCESS_KEY]" Someone created an issue on Github, please follow up there https://github.com/biati-digital/alfred-calculate-anything/issues/130 Link to comment
az566 Posted October 5, 2023 Share Posted October 5, 2023 I love this workflow and I use it constantly. With the recent bug of currency, I tried to delete and reinstall it but then I was getting: "1 USD to EUR". Quote [15:35:50.570] ERROR: Calculate Anything[Script Filter] Code 6: dyld[65788]: Library not loaded: /opt/homebrew/opt/libavif/lib/libavif.15.dylib I ran Quote brew install gd And that seem to have worked. Link to comment
zeitlings Posted October 6, 2023 Share Posted October 6, 2023 I just updated the workflow from the gallery. [11:04:03.609] 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}} You're assigning a boolean to the `rerun` key, but it expects a float. This results in no response item being displayed at all. It's probably best to not set a rerun value at all unless I'm missing something: here and here. Link to comment
biati Posted October 6, 2023 Author Share Posted October 6, 2023 (edited) @zeitlings you need to set your fixer API key and make sure you are using the latest version (I've no idea how the gallery works) Other users have confirmed that this has been fixed https://github.com/biati-digital/alfred-calculate-anything/issues/134 If you need more help please create an issue on Github, I do not provide support here. Edited October 6, 2023 by biati Link to comment
vitor Posted October 6, 2023 Share Posted October 6, 2023 10 minutes ago, biati said: I've no idea how the gallery works It uses the exact version you post in the releases. You can verify this by downloading both and comparing checksums. It’s not immediate, but considering @zeitlings has just updated, it should have been 4.0.5 because it was live in the Gallery two days ago. Link to comment
biati Posted October 6, 2023 Author Share Posted October 6, 2023 @vitor thank's for letting me know. Still @zeitlings if you require help please use Github, I do not frequent this forum, Github is the right place to get help. Link to comment
biati Posted October 6, 2023 Author Share Posted October 6, 2023 Hi Everyone Please note exchangerate.host started to require an API key like a week ago, exchangerate.host was only supported to save users the trouble of getting an API key, that's not the case anymore so it was removed from the workflow. No other providers will be added as Fixer works and getting an API key takes like two minutes. You just need to set a Fixer API key and that's all. You can find information in the readme https://github.com/biati-digital/alfred-calculate-anything Several issues have been opened lately about the same error. Please just configure your API Key and currency conversion will work. Thank's Link to comment
vitor Posted October 6, 2023 Share Posted October 6, 2023 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. gingerbeardman 1 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