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

su-exec: 123pdf.html: No such file or directory #5

Open
grobokop opened this issue Oct 25, 2023 · 0 comments
Open

su-exec: 123pdf.html: No such file or directory #5

grobokop opened this issue Oct 25, 2023 · 0 comments

Comments

@grobokop
Copy link

Hello, I am trying to run this image under windows 11

docker run --rm  -v C:\test:/app -w /app minidocks/weasyprint 123pdf.html 123pdf.pdf
su-exec: 123pdf.html: No such file or directory

So I received the error listed above.
The output of ls showed that file 123pdf.html was here (the content is just one h1 tag )

docker run --rm -it -v C:\test:/app -w /app minidocks/weasyprint /bin/ls -la
total 4
drwxrwxrwx    1 root     root          4096 Oct 25 09:34 .
drwxr-xr-x    1 root     root          4096 Oct 25 09:35 ..
-rwxrwxrwx    1 root     root            48 Oct 25 09:17 123pdf.html

I then tried to run by removing a dot from the file name

docker run --rm -it -v C:\test:/app -w /app minidocks/weasyprint /bin/ls -la
total 4
drwxrwxrwx    1 root     root          4096 Oct 25 09:35 .
drwxr-xr-x    1 root     root          4096 Oct 25 09:35 ..
-rwxrwxrwx    1 root     root            48 Oct 25 09:17 123pdfhtml

then I run it and file generated just fine, any thoughts ?

docker run --rm -v C:\test:/app -w /app minidocks/weasyprint 123pdfhtml 123pdf.pdf

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