Open lon9man opened 1 year ago
Hi, @lon9man! Thanks for reaching out! I am not sure why are they different but in the first case (local development (docker)) it used heicToJpg
and execute permission was correct, so it worked 👍 In the second case, it tried to use php-heic-to-jpg-linux-arm64
probably because the "dev-server" is arm64 architecture. But execution permission wasn't set, so it threw an error.
Both cases acted logically, we just need to find out, why execution permission isn't set correctly for needed bin files (Second case) and yes, to make it work all needed files should have execute-permissions 👍
@MaestroError, thanks for the response! Will you have a chance to detect the issue and update the package?
Offtop question:
Method convertFromUrl
creates temporary file inside project-root.. as for me it should create it inside /tmp
to prevent make a mess.
Thanks!
Strange, I think it should delete the temporary file right after execution. Sure, I will keep this issue open to remind me about it and I will update the package with the following fixes:
convertFromUrl
It deletes it if everything gone successfully, but if we got error - then file remains in Project-root and developer should delete artifacts manually..
if it will be located in /tmp
in any case it will be good solution
Any update on this? I'm also experiencing this installing in a docker container (Ubuntu 20.04)
Hey @jdevinemt! Unfortunately not, I wasn't able to update it yet, but you can solve them easily by setting execution permission 👍
Hello, noticed interesting case.
WHAT I DID
i installed your package in 2 places:
Debian GNU/Linux 11 (bullseye) 5.4.0-137-generic
Ubuntu 22.04.3 LTS 5.15.0-1031-aws
WHAT I GOT
i got different execute-permissions in these 2 cases.
local development (docker)
dev-server
in case 1 package works as expected. in case 2 package works with error:
when i add execute-permission for
php-heic-to-jpg-linux-arm64
then package works as expected.QUESTIONS
php-heic-to-jpg-{os-architecture}
, but package works as expected? and in case 2 - not?thanks!