-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Currency converter doesn't work #103
Comments
To be clear, are you using the 4.0.0 version of the workflow? Have you set a fixer API key? |
Yes I am using the 4.0.0 version. And yes, I have set the fixer API key. With and without key, both don’t work.
…On 21 Mar 2023 at 16:21 +0000, Arvid Björkström ***@***.***>, wrote:
To be clear, are you using the 4.0.0 version of the workflow?
Have you set a fixer API key?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@andrerodrigues6 If you are not able to use the currency conversion then it simply means one thing. The workflow is not able to get the rates from an external website. Why? there's multiple reasons for this, for example:
Can you please confirm that you are not using an app or firewall to block outgoing connections? If that's not the case i will send you another version of the workflow for you to try so we can get more debug information about the specific error you are receiving. |
No, I’m not using a firewall to block any connections. I don’t know if I have an app blocking connections or not but I’m almost 100% sure I don’t. As for the PHP without curl, I don’t know how to check that :/
…On 21 Mar 2023 at 22:28 +0000, biati digital ***@***.***>, wrote:
@andrerodrigues6 If you are not able to use the currency conversion then it simply means one thing. The workflow is not able to get the rates from an external website. Why? there's multiple reasons for this, for example:
• You are using a software that blocks outgoing connections
• You are using a firewall to block connections
• Your network only allows certain URL's
• Your PHP version does not include curl, this is rare but possible.
Can you please confirm that you are not using an app or firewall to block outgoing connections?
If that's not the case i will send you another version of the workflow for you to try so we can get more debug information about the specific error you are receiving.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @andrerodrigues6 thank's for the reply. Ok, please install this version, it's modified to display more information about the requests to the API to see if we can find a problem. 1.- Please install this version Click here to download the workflow |
Hey :) here it is:
[10:49:08.547] Calculate Anything[Script Filter] Queuing argument '00 usd eur'
[10:49:09.299] Calculate Anything[Script Filter] Script with argv '(null)' finished
[10:49:09.305] Calculate Anything[Script Filter] {"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
[10:49:09.503] Calculate Anything[Script Filter] Queuing argument '00 usd eur'
[10:49:10.088] Calculate Anything[Script Filter] Script with argv '(null)' finished
[10:49:10.093] ERROR: Calculate Anything[Script Filter] Code 255: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php:483
Stack trace:
#0 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(409): Workflow\Tools\Currency->exchangeConversion(100.0, 'USD', 'EUR')
#1 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(282): Workflow\Tools\Currency->convert(Array)
#2 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(157): Workflow\Tools\Currency->processQuery()
#3 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(110): Workflow\CalculateAnything->processByType()
#4 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/process.php(46): Workflow\CalculateAnything->processQuery()
#5 Command line code(2): include_once('/Users/andre/Li...')
#6 {main}
thrown in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 483
[10:49:10.095] Calculate Anything[Script Filter] Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php:483
Stack trace:
#0 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(409): Workflow\Tools\Currency->exchangeConversion(100.0, 'USD', 'EUR')
#1 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(282): Workflow\Tools\Currency->convert(Array)
#2 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(157): Workflow\Tools\Currency->processQuery()
#3 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(110): Workflow\CalculateAnything->processByType()
#4 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/process.php(46): Workflow\CalculateAnything->processQuery()
#5 Command line code(2): include_once('/Users/andre/Li...')
#6 {main}
thrown in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 483
[10:49:10.098] 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:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php:483
Stack trace:
#0 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(409): Workflow\Tools\Currency->exchangeConversion(100.0, 'USD', 'EUR')
#1 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(282): Workflow\Tools\Currency->convert(Array)
#2 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(157): Workflow\Tools\Currency->processQuery()
#3 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(110): Workflow\CalculateAnything->processByType()
#4 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/process.php(46): Workflow\CalculateAnything->processQuery()
#5 Command line code(2): include_once('/Users/andre/Li...')
#6 {main}
thrown in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 483
Btw, I pasted “100 usd eur” but for some reason the log shows "00 usd eur”. I dont know if thats what is supposed to show, but just letting you guys know that I pasted what you told me to.
Thanks
…On 22 Mar 2023 at 10:35 +0000, biati digital ***@***.***>, wrote:
Hi @andrerodrigues6 thank's for the reply. Ok, please install this version, it's modified to display more information about the requests to the API to see if we can find a problem.
1.- Please install this version
2.- Open the debug pane and make sure to hit the clear button
3.- Launch Alfred and Paste 100 usd eur it's important that you paste it and not type it otherwise the debug output will be huge
4.- Share the debug output.
Click here to download the workflow
Calculate Anything.zip
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @andrerodrigues6 thank's for following the steps, your output is not executing the request to the external server, probably because it's getting the cached file, please open Alfred and type |
Thanks for taking the time to help me. Here is the new log after doing what you guys mentioned:
[11:11:45.048] Calculate Anything[Script Filter] Queuing argument '00 usd eur'
[11:11:45.662] Calculate Anything[Script Filter] Script with argv '(null)' finished
[11:11:45.666] Calculate Anything[Script Filter] {"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
[11:11:45.860] Calculate Anything[Script Filter] Queuing argument '00 usd eur'
[11:11:46.370] Calculate Anything[Script Filter] Script with argv '(null)' finished
[11:11:46.374] ERROR: Calculate Anything[Script Filter] Code 255: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php:483
Stack trace:
#0 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(409): Workflow\Tools\Currency->exchangeConversion(100.0, 'USD', 'EUR')
#1 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(282): Workflow\Tools\Currency->convert(Array)
#2 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(157): Workflow\Tools\Currency->processQuery()
#3 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(110): Workflow\CalculateAnything->processByType()
#4 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/process.php(46): Workflow\CalculateAnything->processQuery()
#5 Command line code(2): include_once('/Users/andre/Li...')
#6 {main}
thrown in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 483
[11:11:46.376] Calculate Anything[Script Filter] Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php:483
Stack trace:
#0 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(409): Workflow\Tools\Currency->exchangeConversion(100.0, 'USD', 'EUR')
#1 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(282): Workflow\Tools\Currency->convert(Array)
#2 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(157): Workflow\Tools\Currency->processQuery()
#3 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(110): Workflow\CalculateAnything->processByType()
#4 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/process.php(46): Workflow\CalculateAnything->processQuery()
#5 Command line code(2): include_once('/Users/andre/Li...')
#6 {main}
thrown in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 483
[11:11:46.378] 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:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php:483
Stack trace:
#0 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(409): Workflow\Tools\Currency->exchangeConversion(100.0, 'USD', 'EUR')
#1 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(282): Workflow\Tools\Currency->convert(Array)
#2 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(157): Workflow\Tools\Currency->processQuery()
#3 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(110): Workflow\CalculateAnything->processByType()
#4 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/process.php(46): Workflow\CalculateAnything->processQuery()
#5 Command line code(2): include_once('/Users/andre/Li...')
#6 {main}
thrown in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 483
…On 22 Mar 2023 at 11:10 +0000, biati digital ***@***.***>, wrote:
Hi @andrerodrigues6 thank's for following the steps, your output is not executing the request to the external server, probably because it's getting the cached file, please open Alfred and type _caclear and press enter, this should remove the cache and again Launch Alfred and Paste 100 usd eur and share with us the output.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Oh wait, Im sorry, I didnt saw the zip you told me to install. Let me re-do everything
…On 22 Mar 2023 at 11:12 +0000, André Rodrigues ***@***.***>, wrote:
Thanks for taking the time to help me. Here is the new log after doing what you guys mentioned:
[11:11:45.048] Calculate Anything[Script Filter] Queuing argument '00 usd eur'
[11:11:45.662] Calculate Anything[Script Filter] Script with argv '(null)' finished
[11:11:45.666] Calculate Anything[Script Filter] {"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
[11:11:45.860] Calculate Anything[Script Filter] Queuing argument '00 usd eur'
[11:11:46.370] Calculate Anything[Script Filter] Script with argv '(null)' finished
[11:11:46.374] ERROR: Calculate Anything[Script Filter] Code 255: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php:483
Stack trace:
#0 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(409): Workflow\Tools\Currency->exchangeConversion(100.0, 'USD', 'EUR')
#1 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(282): Workflow\Tools\Currency->convert(Array)
#2 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(157): Workflow\Tools\Currency->processQuery()
#3 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(110): Workflow\CalculateAnything->processByType()
#4 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/process.php(46): Workflow\CalculateAnything->processQuery()
#5 Command line code(2): include_once('/Users/andre/Li...')
#6 {main}
thrown in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 483
[11:11:46.376] Calculate Anything[Script Filter] Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php:483
Stack trace:
#0 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(409): Workflow\Tools\Currency->exchangeConversion(100.0, 'USD', 'EUR')
#1 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(282): Workflow\Tools\Currency->convert(Array)
#2 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(157): Workflow\Tools\Currency->processQuery()
#3 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(110): Workflow\CalculateAnything->processByType()
#4 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/process.php(46): Workflow\CalculateAnything->processQuery()
#5 Command line code(2): include_once('/Users/andre/Li...')
#6 {main}
thrown in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 483
[11:11:46.378] 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:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php:483
Stack trace:
#0 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(409): Workflow\Tools\Currency->exchangeConversion(100.0, 'USD', 'EUR')
#1 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php(282): Workflow\Tools\Currency->convert(Array)
#2 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(157): Workflow\Tools\Currency->processQuery()
#3 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/calculateanything.php(110): Workflow\CalculateAnything->processByType()
#4 /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/process.php(46): Workflow\CalculateAnything->processQuery()
#5 Command line code(2): include_once('/Users/andre/Li...')
#6 {main}
thrown in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 483
On 22 Mar 2023 at 11:10 +0000, biati digital ***@***.***>, wrote:
> Hi @andrerodrigues6 thank's for following the steps, your output is not executing the request to the external server, probably because it's getting the cached file, please open Alfred and type _caclear and press enter, this should remove the cache and again Launch Alfred and Paste 100 usd eur and share with us the output.
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you were mentioned.Message ID: ***@***.***>
|
here it is with the zip installed (4.0.1):
[11:16:30.105] Calculate Anything[Script Filter] Queuing argument '00 usd eur'
[11:16:30.615] Calculate Anything[Script Filter] Script with argv '(null)' finished
[11:16:30.618] Calculate Anything[Script Filter] CURL EXTENSION IS ENABLED. CURL EXEC: request to http://data.fixer.io/api/latest?access_key=removed&format=1 returned {
"success": false,
"error": {
"code": 101,
"type": "invalid_access_key",
"info": "You have not supplied a valid API Access Key. [Technical Support: ***@***.***"
}
}
---CURL SUCCESS: request to http://data.fixer.io/api/latest?access_key=removed&format=1 returned correctly response wasArray
(
[success] =>
[error] => Array
(
[code] => 101
[type] => invalid_access_key
[info] => You have not supplied a valid API Access Key. [Technical Support: ***@***.***
)
)
---CURL EXTENSION IS ENABLED. CURL EXEC: request to https://api.apilayer.com/fixer/latest returned ---CURL FAILED: request to https://api.apilayer.com/fixer/latest failed error waserror setting certificate verify locations: CAfile: ***@***.***/cert.pem CApath: none---CURL EMPTY RESPONSE: request to https://api.apilayer.com/fixer/latest returned empty response was---{"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
[11:16:30.621] 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:
CURL EXTENSION IS ENABLED. CURL EXEC: request to http://data.fixer.io/api/latest?access_key=removed&format=1 returned {
"success": false,
"error": {
"code": 101,
"type": "invalid_access_key",
"info": "You have not supplied a valid API Access Key. [Technical Support: ***@***.***"
}
}
---CURL SUCCESS: request to http://data.fixer.io/api/latest?access_key=rwSJRFGUpMPEID9YwRulKfGFApaKd4va&format=1 returned correctly response wasArray
(
[success] =>
[error] => Array
(
[code] => 101
[type] => invalid_access_key
[info] => You have not supplied a valid API Access Key. [Technical Support: ***@***.***
)
)
---CURL EXTENSION IS ENABLED. CURL EXEC: request to https://api.apilayer.com/fixer/latest returned ---CURL FAILED: request to https://api.apilayer.com/fixer/latest failed error waserror setting certificate verify locations: CAfile: ***@***.***/cert.pem CApath: none---CURL EMPTY RESPONSE: request to https://api.apilayer.com/fixer/latest returned empty response was---{"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
…On 22 Mar 2023 at 11:10 +0000, biati digital ***@***.***>, wrote:
Hi @andrerodrigues6 thank's for following the steps, your output is not executing the request to the external server, probably because it's getting the cached file, please open Alfred and type _caclear and press enter, this should remove the cache and again Launch Alfred and Paste 100 usd eur and share with us the output.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thank's for the output. You have curl enabled but it's not able to establish a secure connection, it returns an error about the certificate on your system, this is not a problem with the external API's or the code, please download and install this new version just to see if we are able to tell curl to connect anyway. Download and install this 👇 and please do the steps again. |
Once again, thank you for taking this time to help me. Here it is:
[13:17:51.572] Calculate Anything[Script Filter] Queuing argument '00 usd eur'
[13:17:52.816] Calculate Anything[External] Processing complete
[13:17:52.821] Calculate Anything[External] Passing output 'fixer_source_api|fixer_apilayer|false' to Split Arg
[13:17:52.822] Calculate Anything[Split Arg] Processing complete
[13:17:52.823] Calculate Anything[Split Arg] Passing output 'fixer_source_api|fixer_apilayer|false' to Arg and Vars
[13:17:52.825] Calculate Anything[Arg and Vars] Processing complete
[13:17:52.826] Calculate Anything[Arg and Vars] Passing output 'fixer_source_api|fixer_apilayer|false' to Run Script
[13:17:52.836] Calculate Anything[Script Filter] Script with argv '(null)' finished
[13:17:52.838] Calculate Anything[Script Filter] CURL EXTENSION IS ENABLED. CURL EXEC: request to http://data.fixer.io/api/latest?access_key=removed&format=1 returned {
"success": false,
"error": {
"code": 101,
"type": "invalid_access_key",
"info": "You have not supplied a valid API Access Key. [Technical Support: ***@***.***"
}
}
---CURL SUCCESS: request to http://data.fixer.io/api/latest?access_key=removed&format=1 returned correctly response wasArray
(
[success] =>
[error] => Array
(
[code] => 101
[type] => invalid_access_key
[info] => You have not supplied a valid API Access Key. [Technical Support: ***@***.***
)
)
---CURL EXTENSION IS ENABLED. CURL EXEC: request to https://api.apilayer.com/fixer/latest returned {
"success": true,
"timestamp": 1679491023,
"base": "EUR",
"date": "2023-03-22",
"rates": {
"AED": 3.960501,
"AFN": 93.944095,
"ALL": 114.071405,
"AMD": 418.615772,
"ANG": 1.943709,
"AOA": 544.394676,
"ARS": 221.504731,
"AUD": 1.613215,
"AWG": 1.941182,
"AZN": 1.832713,
"BAM": 1.953571,
"BBD": 2.160784,
"BDT": 113.360629,
"BGN": 1.953926,
"BHD": 0.406794,
"BIF": 2243.071333,
"BMD": 1.078434,
"BND": 1.438578,
"BOB": 7.474574,
"BRL": 5.665983,
"BSD": 1.078434,
"BTC": 3.8075923e-05,
"BTN": 89.112541,
"BWP": 14.293357,
"BYN": 2.722231,
"BYR": 21137.311409,
"BZD": 2.162342,
"CAD": 1.477773,
"CDF": 2212.946684,
"CHF": 0.996143,
"CLF": 0.03209,
"CLP": 885.505715,
"CNY": 7.423291,
"COP": 5160.146148,
"CRC": 582.143736,
"CUC": 1.078434,
"CUP": 28.578508,
"CVE": 110.134311,
"CZK": 23.721883,
"DJF": 192.033516,
"DKK": 7.446772,
"DOP": 59.063416,
"DZD": 146.544512,
"EGP": 33.318514,
"ERN": 16.176514,
"ETB": 58.07553,
"EUR": 1,
"FJD": 2.388627,
"FKP": 0.884326,
"GBP": 0.879237,
"GEL": 2.776928,
"GGP": 0.884326,
"GHS": 13.266045,
"GIP": 0.884326,
"GMD": 66.331003,
"GNF": 9279.410034,
"GTQ": 8.411517,
"GYD": 227.563462,
"HKD": 8.463067,
"HNL": 26.599028,
"HRK": 7.568747,
"HTG": 167.171544,
"HUF": 388.526402,
"IDR": 16461.220477,
"ILS": 3.921122,
"IMP": 0.884326,
"INR": 89.07689,
"IQD": 1574.052555,
"IRR": 45563.84771,
"ISK": 149.891828,
"JEP": 0.884326,
"JMD": 162.665115,
"JOD": 0.765578,
"JPY": 143.144914,
"KES": 141.169389,
"KGS": 94.27671,
"KHR": 4379.063378,
"KMF": 497.956636,
"KPW": 970.600674,
"KRW": 1406.477759,
"KWD": 0.330519,
"KYD": 0.898753,
"KZT": 501.11276,
"LAK": 18221.458519,
"LBP": 16188.450377,
"LKR": 347.814999,
"LRD": 173.682022,
"LSL": 19.865001,
"LTL": 3.184336,
"LVL": 0.652334,
"LYD": 5.174095,
"MAD": 11.120461,
"MDL": 20.054392,
"MGA": 4695.706419,
"MKD": 61.538344,
"MMK": 2264.762877,
"MNT": 3806.493988,
"MOP": 8.719071,
"MRO": 385.000844,
"MUR": 50.136196,
"MVR": 16.61212,
"MWK": 1107.051994,
"MXN": 19.992444,
"MYR": 4.804409,
"MZN": 68.047548,
"NAD": 19.864813,
"NGN": 496.532796,
"NIO": 39.444071,
"NOK": 11.32858,
"NPR": 142.580266,
"NZD": 1.736285,
"OMR": 0.415142,
"PAB": 1.078474,
"PEN": 4.079201,
"PGK": 3.849625,
"PHP": 58.684616,
"PKR": 305.21812,
"PLN": 4.685258,
"PYG": 7737.277584,
"QAR": 3.926612,
"RON": 4.921648,
"RSD": 117.334763,
"RUB": 83.143506,
"RWF": 1181.756819,
"SAR": 4.050847,
"SBD": 8.843338,
"SCR": 13.704167,
"SDG": 640.051023,
"SEK": 11.154375,
"SGD": 1.438982,
"SHP": 1.312184,
"SLE": 22.544957,
"SLL": 21299.07691,
"SOS": 614.16995,
"SRD": 37.614173,
"STD": 22321.41174,
"SVC": 9.43723,
"SYP": 2708.949754,
"SZL": 19.86851,
"THB": 37.092544,
"TJS": 11.761032,
"TMT": 3.77452,
"TND": 3.374366,
"TOP": 2.543918,
"TRY": 20.533606,
"TTD": 7.329737,
"TWD": 32.849757,
"TZS": 2523.645093,
"UAH": 39.830629,
"UGX": 4071.259367,
"USD": 1.078434,
"UYU": 42.33169,
"UZS": 12279.985679,
"VEF": 2605894.088461,
"VES": 25.985596,
"VND": 25370.165862,
"VUV": 128.231921,
"WST": 2.929621,
"XAF": 655.261308,
"XAG": 0.048289,
"XAU": 0.000556,
"XCD": 2.914522,
"XDR": 0.808089,
"XOF": 655.252205,
"XPF": 121.054689,
"YER": 269.93027,
"ZAR": 19.854187,
"ZMK": 9707.203359,
"ZMW": 22.540589,
"ZWL": 347.25539
}
}
---CURL SUCCESS: request to https://api.apilayer.com/fixer/latest returned correctly response wasArray
(
[success] => 1
[timestamp] => 1679491023
[base] => EUR
[date] => 2023-03-22
[rates] => Array
(
[AED] => 3.960501
[AFN] => 93.944095
[ALL] => 114.071405
[AMD] => 418.615772
[ANG] => 1.943709
[AOA] => 544.394676
[ARS] => 221.504731
[AUD] => 1.613215
[AWG] => 1.941182
[AZN] => 1.832713
[BAM] => 1.953571
[BBD] => 2.160784
[BDT] => 113.360629
[BGN] => 1.953926
[BHD] => 0.406794
[BIF] => 2243.071333
[BMD] => 1.078434
[BND] => 1.438578
[BOB] => 7.474574
[BRL] => 5.665983
[BSD] => 1.078434
[BTC] => 3.8075923E-5
[BTN] => 89.112541
[BWP] => 14.293357
[BYN] => 2.722231
[BYR] => 21137.311409
[BZD] => 2.162342
[CAD] => 1.477773
[CDF] => 2212.946684
[CHF] => 0.996143
[CLF] => 0.03209
[CLP] => 885.505715
[CNY] => 7.423291
[COP] => 5160.146148
[CRC] => 582.143736
[CUC] => 1.078434
[CUP] => 28.578508
[CVE] => 110.134311
[CZK] => 23.721883
[DJF] => 192.033516
[DKK] => 7.446772
[DOP] => 59.063416
[DZD] => 146.544512
[EGP] => 33.318514
[ERN] => 16.176514
[ETB] => 58.07553
[EUR] => 1
[FJD] => 2.388627
[FKP] => 0.884326
[GBP] => 0.879237
[GEL] => 2.776928
[GGP] => 0.884326
[GHS] => 13.266045
[GIP] => 0.884326
[GMD] => 66.331003
[GNF] => 9279.410034
[GTQ] => 8.411517
[GYD] => 227.563462
[HKD] => 8.463067
[HNL] => 26.599028
[HRK] => 7.568747
[HTG] => 167.171544
[HUF] => 388.526402
[IDR] => 16461.220477
[ILS] => 3.921122
[IMP] => 0.884326
[INR] => 89.07689
[IQD] => 1574.052555
[IRR] => 45563.84771
[ISK] => 149.891828
[JEP] => 0.884326
[JMD] => 162.665115
[JOD] => 0.765578
[JPY] => 143.144914
[KES] => 141.169389
[KGS] => 94.27671
[KHR] => 4379.063378
[KMF] => 497.956636
[KPW] => 970.600674
[KRW] => 1406.477759
[KWD] => 0.330519
[KYD] => 0.898753
[KZT] => 501.11276
[LAK] => 18221.458519
[LBP] => 16188.450377
[LKR] => 347.814999
[LRD] => 173.682022
[LSL] => 19.865001
[LTL] => 3.184336
[LVL] => 0.652334
[LYD] => 5.174095
[MAD] => 11.120461
[MDL] => 20.054392
[MGA] => 4695.706419
[MKD] => 61.538344
[MMK] => 2264.762877
[MNT] => 3806.493988
[MOP] => 8.719071
[MRO] => 385.000844
[MUR] => 50.136196
[MVR] => 16.61212
[MWK] => 1107.051994
[MXN] => 19.992444
[MYR] => 4.804409
[MZN] => 68.047548
[NAD] => 19.864813
[NGN] => 496.532796
[NIO] => 39.444071
[NOK] => 11.32858
[NPR] => 142.580266
[NZD] => 1.736285
[OMR] => 0.415142
[PAB] => 1.078474
[PEN] => 4.079201
[PGK] => 3.849625
[PHP] => 58.684616
[PKR] => 305.21812
[PLN] => 4.685258
[PYG] => 7737.277584
[QAR] => 3.926612
[RON] => 4.921648
[RSD] => 117.334763
[RUB] => 83.143506
[RWF] => 1181.756819
[SAR] => 4.050847
[SBD] => 8.843338
[SCR] => 13.704167
[SDG] => 640.051023
[SEK] => 11.154375
[SGD] => 1.438982
[SHP] => 1.312184
[SLE] => 22.544957
[SLL] => 21299.07691
[SOS] => 614.16995
[SRD] => 37.614173
[STD] => 22321.41174
[SVC] => 9.43723
[SYP] => 2708.949754
[SZL] => 19.86851
[THB] => 37.092544
[TJS] => 11.761032
[TMT] => 3.77452
[TND] => 3.374366
[TOP] => 2.543918
[TRY] => 20.533606
[TTD] => 7.329737
[TWD] => 32.849757
[TZS] => 2523.645093
[UAH] => 39.830629
[UGX] => 4071.259367
[USD] => 1.078434
[UYU] => 42.33169
[UZS] => 12279.985679
[VEF] => 2605894.088461
[VES] => 25.985596
[VND] => 25370.165862
[VUV] => 128.231921
[WST] => 2.929621
[XAF] => 655.261308
[XAG] => 0.048289
[XAU] => 0.000556
[XCD] => 2.914522
[XDR] => 0.808089
[XOF] => 655.252205
[XPF] => 121.054689
[YER] => 269.93027
[ZAR] => 19.854187
[ZMK] => 9707.203359
[ZMW] => 22.540589
[ZWL] => 347.25539
)
)
---{"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
[13:17:52.841] 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:
CURL EXTENSION IS ENABLED. CURL EXEC: request to http://data.fixer.io/api/latest?access_key=removed&format=1 returned {
"success": false,
"error": {
"code": 101,
"type": "invalid_access_key",
"info": "You have not supplied a valid API Access Key. [Technical Support: ***@***.***"
}
}
---CURL SUCCESS: request to http://data.fixer.io/api/latest?access_key=removed&format=1 returned correctly response wasArray
(
[success] =>
[error] => Array
(
[code] => 101
[type] => invalid_access_key
[info] => You have not supplied a valid API Access Key. [Technical Support: ***@***.***
)
)
---CURL EXTENSION IS ENABLED. CURL EXEC: request to https://api.apilayer.com/fixer/latest returned {
"success": true,
"timestamp": 1679491023,
"base": "EUR",
"date": "2023-03-22",
"rates": {
"AED": 3.960501,
"AFN": 93.944095,
"ALL": 114.071405,
"AMD": 418.615772,
"ANG": 1.943709,
"AOA": 544.394676,
"ARS": 221.504731,
"AUD": 1.613215,
"AWG": 1.941182,
"AZN": 1.832713,
"BAM": 1.953571,
"BBD": 2.160784,
"BDT": 113.360629,
"BGN": 1.953926,
"BHD": 0.406794,
"BIF": 2243.071333,
"BMD": 1.078434,
"BND": 1.438578,
"BOB": 7.474574,
"BRL": 5.665983,
"BSD": 1.078434,
"BTC": 3.8075923e-05,
"BTN": 89.112541,
"BWP": 14.293357,
"BYN": 2.722231,
"BYR": 21137.311409,
"BZD": 2.162342,
"CAD": 1.477773,
"CDF": 2212.946684,
"CHF": 0.996143,
"CLF": 0.03209,
"CLP": 885.505715,
"CNY": 7.423291,
"COP": 5160.146148,
"CRC": 582.143736,
"CUC": 1.078434,
"CUP": 28.578508,
"CVE": 110.134311,
"CZK": 23.721883,
"DJF": 192.033516,
"DKK": 7.446772,
"DOP": 59.063416,
"DZD": 146.544512,
"EGP": 33.318514,
"ERN": 16.176514,
"ETB": 58.07553,
"EUR": 1,
"FJD": 2.388627,
"FKP": 0.884326,
"GBP": 0.879237,
"GEL": 2.776928,
"GGP": 0.884326,
"GHS": 13.266045,
"GIP": 0.884326,
"GMD": 66.331003,
"GNF": 9279.410034,
"GTQ": 8.411517,
"GYD": 227.563462,
"HKD": 8.463067,
"HNL": 26.599028,
"HRK": 7.568747,
"HTG": 167.171544,
"HUF": 388.526402,
"IDR": 16461.220477,
"ILS": 3.921122,
"IMP": 0.884326,
"INR": 89.07689,
"IQD": 1574.052555,
"IRR": 45563.84771,
"ISK": 149.891828,
"JEP": 0.884326,
"JMD": 162.665115,
"JOD": 0.765578,
"JPY": 143.144914,
"KES": 141.169389,
"KGS": 94.27671,
"KHR": 4379.063378,
"KMF": 497.956636,
"KPW": 970.600674,
"KRW": 1406.477759,
"KWD": 0.330519,
"KYD": 0.898753,
"KZT": 501.11276,
"LAK": 18221.458519,
"LBP": 16188.450377,
"LKR": 347.814999,
"LRD": 173.682022,
"LSL": 19.865001,
"LTL": 3.184336,
"LVL": 0.652334,
"LYD": 5.174095,
"MAD": 11.120461,
"MDL": 20.054392,
"MGA": 4695.706419,
"MKD": 61.538344,
"MMK": 2264.762877,
"MNT": 3806.493988,
"MOP": 8.719071,
"MRO": 385.000844,
"MUR": 50.136196,
"MVR": 16.61212,
"MWK": 1107.051994,
"MXN": 19.992444,
"MYR": 4.804409,
"MZN": 68.047548,
"NAD": 19.864813,
"NGN": 496.532796,
"NIO": 39.444071,
"NOK": 11.32858,
"NPR": 142.580266,
"NZD": 1.736285,
"OMR": 0.415142,
"PAB": 1.078474,
"PEN": 4.079201,
"PGK": 3.849625,
"PHP": 58.684616,
"PKR": 305.21812,
"PLN": 4.685258,
"PYG": 7737.277584,
"QAR": 3.926612,
"RON": 4.921648,
"RSD": 117.334763,
"RUB": 83.143506,
"RWF": 1181.756819,
"SAR": 4.050847,
"SBD": 8.843338,
"SCR": 13.704167,
"SDG": 640.051023,
"SEK": 11.154375,
"SGD": 1.438982,
"SHP": 1.312184,
"SLE": 22.544957,
"SLL": 21299.07691,
"SOS": 614.16995,
"SRD": 37.614173,
"STD": 22321.41174,
"SVC": 9.43723,
"SYP": 2708.949754,
"SZL": 19.86851,
"THB": 37.092544,
"TJS": 11.761032,
"TMT": 3.77452,
"TND": 3.374366,
"TOP": 2.543918,
"TRY": 20.533606,
"TTD": 7.329737,
"TWD": 32.849757,
"TZS": 2523.645093,
"UAH": 39.830629,
"UGX": 4071.259367,
"USD": 1.078434,
"UYU": 42.33169,
"UZS": 12279.985679,
"VEF": 2605894.088461,
"VES": 25.985596,
"VND": 25370.165862,
"VUV": 128.231921,
"WST": 2.929621,
"XAF": 655.261308,
"XAG": 0.048289,
"XAU": 0.000556,
"XCD": 2.914522,
"XDR": 0.808089,
"XOF": 655.252205,
"XPF": 121.054689,
"YER": 269.93027,
"ZAR": 19.854187,
"ZMK": 9707.203359,
"ZMW": 22.540589,
"ZWL": 347.25539
}
}
---CURL SUCCESS: request to https://api.apilayer.com/fixer/latest returned correctly response wasArray
(
[success] => 1
[timestamp] => 1679491023
[base] => EUR
[date] => 2023-03-22
[rates] => Array
(
[AED] => 3.960501
[AFN] => 93.944095
[ALL] => 114.071405
[AMD] => 418.615772
[ANG] => 1.943709
[AOA] => 544.394676
[ARS] => 221.504731
[AUD] => 1.613215
[AWG] => 1.941182
[AZN] => 1.832713
[BAM] => 1.953571
[BBD] => 2.160784
[BDT] => 113.360629
[BGN] => 1.953926
[BHD] => 0.406794
[BIF] => 2243.071333
[BMD] => 1.078434
[BND] => 1.438578
[BOB] => 7.474574
[BRL] => 5.665983
[BSD] => 1.078434
[BTC] => 3.8075923E-5
[BTN] => 89.112541
[BWP] => 14.293357
[BYN] => 2.722231
[BYR] => 21137.311409
[BZD] => 2.162342
[CAD] => 1.477773
[CDF] => 2212.946684
[CHF] => 0.996143
[CLF] => 0.03209
[CLP] => 885.505715
[CNY] => 7.423291
[COP] => 5160.146148
[CRC] => 582.143736
[CUC] => 1.078434
[CUP] => 28.578508
[CVE] => 110.134311
[CZK] => 23.721883
[DJF] => 192.033516
[DKK] => 7.446772
[DOP] => 59.063416
[DZD] => 146.544512
[EGP] => 33.318514
[ERN] => 16.176514
[ETB] => 58.07553
[EUR] => 1
[FJD] => 2.388627
[FKP] => 0.884326
[GBP] => 0.879237
[GEL] => 2.776928
[GGP] => 0.884326
[GHS] => 13.266045
[GIP] => 0.884326
[GMD] => 66.331003
[GNF] => 9279.410034
[GTQ] => 8.411517
[GYD] => 227.563462
[HKD] => 8.463067
[HNL] => 26.599028
[HRK] => 7.568747
[HTG] => 167.171544
[HUF] => 388.526402
[IDR] => 16461.220477
[ILS] => 3.921122
[IMP] => 0.884326
[INR] => 89.07689
[IQD] => 1574.052555
[IRR] => 45563.84771
[ISK] => 149.891828
[JEP] => 0.884326
[JMD] => 162.665115
[JOD] => 0.765578
[JPY] => 143.144914
[KES] => 141.169389
[KGS] => 94.27671
[KHR] => 4379.063378
[KMF] => 497.956636
[KPW] => 970.600674
[KRW] => 1406.477759
[KWD] => 0.330519
[KYD] => 0.898753
[KZT] => 501.11276
[LAK] => 18221.458519
[LBP] => 16188.450377
[LKR] => 347.814999
[LRD] => 173.682022
[LSL] => 19.865001
[LTL] => 3.184336
[LVL] => 0.652334
[LYD] => 5.174095
[MAD] => 11.120461
[MDL] => 20.054392
[MGA] => 4695.706419
[MKD] => 61.538344
[MMK] => 2264.762877
[MNT] => 3806.493988
[MOP] => 8.719071
[MRO] => 385.000844
[MUR] => 50.136196
[MVR] => 16.61212
[MWK] => 1107.051994
[MXN] => 19.992444
[MYR] => 4.804409
[MZN] => 68.047548
[NAD] => 19.864813
[NGN] => 496.532796
[NIO] => 39.444071
[NOK] => 11.32858
[NPR] => 142.580266
[NZD] => 1.736285
[OMR] => 0.415142
[PAB] => 1.078474
[PEN] => 4.079201
[PGK] => 3.849625
[PHP] => 58.684616
[PKR] => 305.21812
[PLN] => 4.685258
[PYG] => 7737.277584
[QAR] => 3.926612
[RON] => 4.921648
[RSD] => 117.334763
[RUB] => 83.143506
[RWF] => 1181.756819
[SAR] => 4.050847
[SBD] => 8.843338
[SCR] => 13.704167
[SDG] => 640.051023
[SEK] => 11.154375
[SGD] => 1.438982
[SHP] => 1.312184
[SLE] => 22.544957
[SLL] => 21299.07691
[SOS] => 614.16995
[SRD] => 37.614173
[STD] => 22321.41174
[SVC] => 9.43723
[SYP] => 2708.949754
[SZL] => 19.86851
[THB] => 37.092544
[TJS] => 11.761032
[TMT] => 3.77452
[TND] => 3.374366
[TOP] => 2.543918
[TRY] => 20.533606
[TTD] => 7.329737
[TWD] => 32.849757
[TZS] => 2523.645093
[UAH] => 39.830629
[UGX] => 4071.259367
[USD] => 1.078434
[UYU] => 42.33169
[UZS] => 12279.985679
[VEF] => 2605894.088461
[VES] => 25.985596
[VND] => 25370.165862
[VUV] => 128.231921
[WST] => 2.929621
[XAF] => 655.261308
[XAG] => 0.048289
[XAU] => 0.000556
[XCD] => 2.914522
[XDR] => 0.808089
[XOF] => 655.252205
[XPF] => 121.054689
[YER] => 269.93027
[ZAR] => 19.854187
[ZMK] => 9707.203359
[ZMW] => 22.540589
[ZWL] => 347.25539
)
)
---{"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
…On 22 Mar 2023 at 11:38 +0000, biati digital ***@***.***>, wrote:
Thank's for the output. You have curl enabled but it's not able to establish a secure connection, it returns an error about the certificate on your system, this is not a problem with the external API's or the code, please download and install this new version just to see if we are able to tell curl to connect anyway.
Download and install this 👇 and please do the steps again.
Calculate Anything.zip
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @andrerodrigues6 no problem, thank's to you we found the problem and a solution, as you can see in your debug output now the workflow it's able to connect and get the rates correctly. We'll release an update today and it should work correctly for you now. Again thank's for your help, i'll notify you here once the update is released. |
The new update has been released 4.0.1 please remove your current workflow and give this one a try. |
Thank you so much for your help. You don’t imagine how much having this workflow impacts my daily productivity. Once again, thank you for taking the time to help me. Have a wonderful day!!
…On 23 Mar 2023 at 06:17 +0000, biati digital ***@***.***>, wrote:
The new update has been released 4.0.1 please remove your current workflow and give this one a try.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@andrerodrigues6 No problem, i'm glad we found a solution and thank you for doing all the testing. |
If you have a problem with the workflow please answer the following questions.
Are you using the latest version of the workflow?
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected to see the currency I prompted (188 cny), exchanged into all the other currencies on the list (USD, EUR, ...)
Debug Output
[17:34:38.932] Logging Started...
[17:34:53.385] Calculate Anything[Script Filter] Queuing argument ''
[17:34:53.467] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:34:53.470] Calculate Anything[Script Filter] {"items":[]}
[17:34:53.504] Calculate Anything[Script Filter] Queuing argument '8'
[17:34:53.638] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:34:53.643] Calculate Anything[Script Filter] {"items":[]}
[17:34:53.645] Calculate Anything[Script Filter] Queuing argument '88'
[17:34:53.720] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:34:53.724] Calculate Anything[Script Filter] {"items":[]}
[17:34:53.776] Calculate Anything[Script Filter] Queuing argument '88 '
[17:34:53.921] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:34:53.926] Calculate Anything[Script Filter] {"items":[]}
[17:34:53.928] Calculate Anything[Script Filter] Queuing argument '88 c'
[17:34:54.014] Calculate Anything[Script Filter] Queuing argument '88 cn'
[17:34:54.137] Calculate Anything[Script Filter] Queuing argument '88 cny'
[17:34:54.163] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:34:54.166] Calculate Anything[Script Filter] {"items":[]}
[17:34:54.433] Calculate Anything[External] Processing complete
[17:34:54.438] Calculate Anything[External] Passing output 'last_update_check|1679333694|false' to Split Arg
[17:34:54.440] Calculate Anything[Split Arg] Processing complete
[17:34:54.441] Calculate Anything[Split Arg] Passing output 'last_update_check|1679333694|false' to Arg and Vars
[17:34:54.443] Calculate Anything[Arg and Vars] Processing complete
[17:34:54.445] Calculate Anything[Arg and Vars] Passing output 'last_update_check|1679333694|false' to Run Script
[17:34:54.450] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:34:54.451] Calculate Anything[Script Filter] {"items":[{"title":"Updating currency rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
[17:34:54.643] Calculate Anything[Script Filter] Queuing argument '88 cny'
[17:34:55.168] Calculate Anything[External] Processing complete
[17:34:55.174] Calculate Anything[External] Passing output 'last_update_check|1679333694|false' to Split Arg
[17:34:55.176] Calculate Anything[Split Arg] Processing complete
[17:34:55.177] Calculate Anything[Split Arg] Passing output 'last_update_check|1679333694|false' to Arg and Vars
[17:34:55.178] Calculate Anything[Arg and Vars] Processing complete
[17:34:55.180] Calculate Anything[Arg and Vars] Passing output 'last_update_check|1679333694|false' to Run Script
[17:34:55.186] Calculate Anything[Script Filter] Script with argv '(null)' finished
[17:34:55.188] STDERR: Calculate Anything[Script Filter] PHP Warning: Undefined array key "message" in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 467
PHP Warning: Trying to access array offset on value of type float in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 287
PHP Warning: Trying to access array offset on value of type float in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 289
[17:34:55.189] Calculate Anything[Script Filter] Warning: Undefined array key "message" in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 467
Warning: Trying to access array offset on value of type float in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 287
Warning: Trying to access array offset on value of type float in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 289
{"items":[{"title":"0.00 reload","subtitle":"1 CNY = 0.00 reload","arg":"0.00","icon":{"path":"assets/flags/reload.png"},"mods":{"cmd":{"valid":true,"arg":0,"subtitle":"Action this item to copy the amount with no format"},"alt":{"valid":true,"arg":0,"subtitle":"Action this item to copy the value of 1 to the clipboard"}}},{"title":"0.00 EUR","subtitle":"1 CNY = 0.00 EUR","arg":"0.00","icon":{"path":"assets/flags/EUR.png"},"mods":{"cmd":{"valid":true,"arg":0,"subtitle":"Action this item to copy the amount with no format"},"alt":{"valid":true,"arg":0,"subtitle":"Action this item to copy the value of 1 to the clipboard"}}}]}
[17:34:55.192] 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:
Warning: Undefined array key "message" in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 467
Warning: Trying to access array offset on value of type float in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 287
Warning: Trying to access array offset on value of type float in /Users/andre/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.17AB9CC1-84A8-4E5C-8FDC-E7F48DA85E28/workflow/tools/currency.php on line 289
{"items":[{"title":"0.00 reload","subtitle":"1 CNY = 0.00 reload","arg":"0.00","icon":{"path":"assets/flags/reload.png"},"mods":{"cmd":{"valid":true,"arg":0,"subtitle":"Action this item to copy the amount with no format"},"alt":{"valid":true,"arg":0,"subtitle":"Action this item to copy the value of 1 to the clipboard"}}},{"title":"0.00 EUR","subtitle":"1 CNY = 0.00 EUR","arg":"0.00","icon":{"path":"assets/flags/EUR.png"},"mods":{"cmd":{"valid":true,"arg":0,"subtitle":"Action this item to copy the amount with no format"},"alt":{"valid":true,"arg":0,"subtitle":"Action this item to copy the value of 1 to the clipboard"}}}]}
System information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: