I’m encountering an error when trying to convert an EPS file to SVG with Inkscape, but only within a Docker environment. Running the same command directly from the terminal in Debian works perfectly, but in Docker, Inkscape fails with the following error:
ink_file_open: '/tmp/temp-transcoding-area/8e3c0247-1676-4520-99ad-b5418fd2f953/2013e3d6-779c-44b7-ad12-44144471bc72.eps' cannot be opened! InkscapeApplication::document_open: Failed to open: ... ConcreteInkscapeApplication::on_open: failed to create document!
What I’ve Tried So Far:
• Verified that the EPS file is not corrupted.
• Confirmed that Ghostscript is installed and available.
• Ran the command outside of the Docker container, and it works fine.
• Checked file permissions.
Can anyone help identify why this process fails within Docker but works as expected in the Debian terminal?
My command: inkscape /tmp/temp-transcoding-area/0cfc3a5d-d074-4c86-ae2d-d2e73c38bf65/27f0f0a5-a9da-4886-87cc-40d02a51bce3.eps -o /tmp/temp-transcoding-area/0cfc3a5d-d074-4c86-ae2d-d2e73c38bf65/output.svg
This should provide enough context to clarify your issue and get helpful responses.
I’m encountering an error when trying to convert an EPS file to SVG with Inkscape, but only within a Docker environment. Running the same command directly from the terminal in Debian works perfectly, but in Docker, Inkscape fails with the following error:
ink_file_open: '/tmp/temp-transcoding-area/8e3c0247-1676-4520-99ad-b5418fd2f953/2013e3d6-779c-44b7-ad12-44144471bc72.eps' cannot be opened!
InkscapeApplication::document_open: Failed to open: ...
ConcreteInkscapeApplication::on_open: failed to create document!
What I’ve Tried So Far:
• Verified that the EPS file is not corrupted.
• Confirmed that Ghostscript is installed and available.
• Ran the command outside of the Docker container, and it works fine.
• Checked file permissions.
Can anyone help identify why this process fails within Docker but works as expected in the Debian terminal?
My command: inkscape /tmp/temp-transcoding-area/0cfc3a5d-d074-4c86-ae2d-d2e73c38bf65/27f0f0a5-a9da-4886-87cc-40d02a51bce3.eps -o /tmp/temp-transcoding-area/0cfc3a5d-d074-4c86-ae2d-d2e73c38bf65/output.svg
This should provide enough context to clarify your issue and get helpful responses.