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

[Docker, Mac] Empty input file Resource deadlock would occur #157

Open
firedev opened this issue Nov 26, 2024 · 0 comments
Open

[Docker, Mac] Empty input file Resource deadlock would occur #157

firedev opened this issue Nov 26, 2024 · 0 comments

Comments

@firedev
Copy link

firedev commented Nov 26, 2024

I am trying to run it on M1 Mac in Docker and getting errors like this:

$ docker run --platform linux/amd64 --rm -v $(pwd):/site --env LANG=C.UTF-8 --env LC_ALL=C.UTF-8 beudbeud/prosopopee

2024-11-26 00:34:27,176 INFO - Generation: ./gallery/1.jpg
2024-11-26 00:34:28,195 INFO - Generation: ./gallery/2.jpg
gm convert: Empty input file (./gallery/2.jpg) [Resource deadlock would occur].
2024-11-26 00:34:28,214 ERROR (prosopopee.py:336) - gm command failed

gm convert './gallery/2.jpg' -auto-orient -strip -interlace Line -define jpeg:preserve-settings  './build/gallery/2.jpg'

Then I run gm convert, it converts the file and restart the generator again.

Is there a fix for this?

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

1 participant