Skip to content

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

@firedev

Description

@firedev

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions