fpanaccia / Wkhtmltopdf.NetCore-deprecated

Rotativa + Net Core
The Unlicense
220 stars 94 forks source link

File not found exception on Linux #66

Open awoniyimuyiwa opened 2 years ago

awoniyimuyiwa commented 2 years ago

Throws file not found exception '/app/59a1b217-811d-4723-a54b-....pdf on Linux Docker container.

A portion of the stack trace:

Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, string path, bool isDirectory, Func<ErrorInfo, ErrorInfo> errorRewriter) Microsoft.Win32.SafeHandles.SafeFileHandle.Open(string path, OpenFlags flags, int mode) System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options) System.IO.FileStream..ctor(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options) Wkhtmltopdf.NetCore.WkhtmlDriver.Convert(string wkhtmlPath, string switches, string html) Wkhtmltopdf.NetCore.GeneratePdf.GetPDF(string html)