Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting currencies does not work #52

Closed
vosco88 opened this issue Nov 15, 2021 · 3 comments
Closed

Converting currencies does not work #52

vosco88 opened this issue Nov 15, 2021 · 3 comments

Comments

@vosco88
Copy link

vosco88 commented Nov 15, 2021

Are you using the latest version of the workflow?
Yes

Describe the bug
When trying to convert currencies calculate anything does not work, all I am getting are default searches.

To Reproduce
Steps to reproduce the behavior:

  1. Open Alfred '...'
  2. Type '600 usd to eur'
  3. See only the searches options

Expected behavior
Converted value is displayed

Debug Output
image

ERROR: Calculate Anything[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:
Deprecated: Function money_format() is deprecated in /Users/janko/Documents/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D46C1DFA-AA24-4138-8DCA-E37022618D37/workflow/tools/currency.php on line 266

Deprecated: Function money_format() is deprecated in /Users/janko/Documents/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D46C1DFA-AA24-4138-8DCA-E37022618D37/workflow/tools/currency.php on line 269
{"items":[{"title":"105,53 EUR","subtitle":"1 USD = 0,88 EUR","arg":"105,53","icon":{"path":"assets/flags/EUR.png"},"mods":{"cmd":{"valid":true,"arg":10553,"subtitle":"Action this item to copy the amount with no format"},"alt":{"valid":true,"arg":88,"subtitle":"Action this item to copy the value of 1 to the clipboard"}}}]}

System information:

  • OS: Mac OS 12.0.1
  • Alfred Version 4.6
  • PHP Version - 7.4.25

Additional context

@misha-tgshv
Copy link

same

@biati-digital
Copy link
Owner

Please try the latest version and let me know if it's working for you https://github.com/biati-digital/alfred-calculate-anything/releases

@vosco88
Copy link
Author

vosco88 commented Dec 23, 2021

It does work for me, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants