Jump to content

biati

Member
  • Posts

    53
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by biati

  1. 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.

  2. 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

  3. 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

  4. 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

  5. @vitor The workflow has been updated, it includes a lot of changes including the new Workflow configuration window.

     

    Author: I'm the author

    Alfred forum link: https://www.alfredforum.com/topic/13974-calculate-anything/
    Github: https://github.com/biati-digital/alfred-calculate-anything/
    Dependencies: PHP (it can be any version, PHP7+ or PHP8+ it should probably work with even old versions like PHP 5.6)
    Screenshots: We have a banner in the Alfred forum link, hopefully that can be used

    This is the link to the latest version https://github.com/biati-digital/alfred-calculate-anything/releases

     

     

    Please let me know if we need to adjust something.

  6. On 6/6/2022 at 1:24 PM, afridho said:

    @biatithanks for the update man. i've found some bugs (i hope it's just me). 
    i can't convert money currency for some symbol(i've try SGD & GBP). ex 76SGD, it will show me an error 

     

     

    But for somereason, it works pretty well for USD and other symbols. Any fix?

     

    Hi @afridho thank's for letting me know, I'll take a look at it this weekend.

  7. It's been a few months since the last time I posted here. There has been a few updates since then (I think I never posted those updates here) but today we released an update and just wanted you to know that the workflow is still maintained.

     

    Version 3.4.0

    • New: You can now provide a workflow variable to define the duration of the currencies cache
    • New: Support for more cryptocurrencies, up to 5,000
    • New: You can also define custom cryptocurrencies
    • Updated: Fixer.io API now uses API Layer, the workflow will validate your API key to avoid errors. Old API keys will work without problems.
    • Improved: Now the workflow shows a message when it's updating currency and cryptocurrencies rates
    • Improved: Replaced file_get_contents with curl for some operations
    • Fixed: datastorage_force_binary was not working as expected
    • Fixed: No output in cryptocurrencies when "from" and "to" were the same
    • Fixed: Error on updater not working correctly with some PHP versions

     

    If you find a bug please create an issue on the Github repository.

     

    As always you can download the update from https://github.com/biati-digital/alfred-calculate-anything/releases

  8. @itsmevictor @archelium @ProRock @alfredpanda the latest version has been released, you can download it here https://github.com/biati-digital/alfred-calculate-anything/releases

     

    The workflow now works correctly with Monterey.

     

    For users that might have not read the discussion in the forum or Github, to summarize:

     

    1.- You need to install PHP with Homebrew (explained in the ReadMe)

    2.- You need the latest version of Alfred

    3.- You need the latest version of Calculate Anything.

     

    For users on Mac OS Big Sur or lower you do not need to do anything, Your OS already includes PHP, just install the workflow and it will work without problems.

     

  9. hi @itsmevictor i can't upgrade to Monterey as it's still a beta and i use my computer for work so can't risk to upgrade and find out that some of the apps i use do not work correctly. Also, as deanishe mentioned, this does not seem to be an error with the workflow, another user sent me some screenshots and there's no output in the console what makes me think that Alfred it's not running the workflow at all. We'll have to wait for a final version of Monterey to make some tests.

  10. @fddc @Diogo Ribeiro  i use the workflow every day and it's working correctly, i really have no idea what that problem is. You could try removing all the workflow configuration (see attached file) and remove everything inside ~/Library/Application Support/Alfred/Workflow Data/com.alfred.calculateanything once everything is removed make sure to download the latest version from Releases · biati-digital/alfred-calculate-anything (github.com)

    CleanShot 2021-07-18 at 20.21.38.png

  11. Oh yeah, sorry, it's 5 am and about to go to bed. Anyway just tested it and the correct value is returned. The workflow stores in cache the returned rates by coinmarketcap API so probably the workflow is displaying a cached value. The workflow will update the rates every day, there's no option to configure that for now but it will be possible in a future update.

  12. @Albert Z Do you mean that you are able to convert units but if you hit return it disappears? that's exactly the way it works, if you convert units, currency, etc, and Press return in a result, that result is copied to the clipboard and Alfred is closed as that's the end of the workflow. It does not automatically paste the conversion, you can modify the workflow if you want to do that.

     

    So to resume, you only hit return if you want to copy the result to the clipboard, you do not need to press return to make conversions, they are processed automatically as you type in Alfred.

     

    Please let me know if I understood correctly what you meant.

     

     

×
×
  • Create New...