Malformed input to a URL function
AuGaut opened this issue ยท 4 comments
Hy there
I keep getting logs of the following error:
[ 07:36:14] Curl error: URL rejected: Malformed input to a URL function
[ 07:44:13] Curl error: URL rejected: Malformed input to a URL function
[ 08:32:07] Curl error: URL rejected: Malformed input to a URL function
I followed the instructions when setting up the workflow. (Using Alfred 5.1.1 [2138])
Any way to help with this?
Much appreciated!
Hi @AuGaut
Please let me know how you have installed PHP, the PHP version and Path.
You can find your PHP path by typing the following commands in the terminal which php
and where php
Step 1
Can you also enable the debug log in the extension (see screenshot)
Once you have enabled the debug log and tried to run Alfrello, right-click on the extension and click on Open in finder
and look for the log.txt
Did you find anything useful in the log.txt
, by chance? If so, can you share it? (make sure to obfuscate any personal key or information)
Step 2
Enable debug mode in Alfred, go the Alfrello and click on the bug
icon.
Run Alfrello and check the output in the debugger.
Let me know what you find ๐
Hy @mikomagni
I installed PHP with the following command in the terminal: /bin/bash -c "$(curl -fsSL https://github.com/alfredapp/dependency-scripts/raw/main/scripts/install-php.sh)"
I have PHP 8.2.8 (cli) and the path is '/opt/homebrew/bin/php' from my home folder.
The logs list the errors shown in my initial comment.
Thanks a lot for your help!
(To clarify, I do have an internet connection :) )
Update:
I think the problem was fixed when I deleted the workflow and reinstalled it. Maybe the dependency on php was not initialised properly. From my point of view I can close the issue.
Excellent, I was just about to suggest a few more things. But I'm even happier that it is working ๐