Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Fri Apr 22, 2022 9:19 am

Hi, I have an issue where it can't load from stream (or bytes) when it's running on a linux docker.

I works fine locally. (windows server)


Error:
System.Exception: Parser trailer is failed
at spr᠍.ᜀ(Dictionary`2 A_0, spr᠐ A_1)
at sprᢴ.ᜀ(Stream A_0, Boolean A_1)
at sprᢴ..ctor(Stream A_0)
at Spire.Pdf.PdfDocument.LoadFromStream(Stream stream)

Any suggestions?

MrTorshe
 
Posts: 2
Joined: Fri Apr 22, 2022 9:15 am

Fri Apr 22, 2022 10:15 am

Hi,

Thank you for your inquiry.
If you are not using the latest version (Spire.PDF Pack(Hot Fix) Version:8.4.15), I suggest you give the latest one a try, if the problem still exists, please provide the following information to help us further investigate it. You can attach your file here or send it to us via email (support@e-iceblue.com). Thanks in advance.
1) Your PDF document as well as your dockerfile
2) The application type, such as Console App(.NET Core 2.1)

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Fri Apr 22, 2022 10:57 am

Hi again, Is this version compatible with the free version?

MrTorshe
 
Posts: 2
Joined: Fri Apr 22, 2022 9:15 am

Mon Apr 25, 2022 6:04 am

Hi,

Sorry for the late rely.
Our free version is not compatible with the commercial version. You need to remove the free dlls and then reference the dlls from commercial version in your project.
If the issue still troubles you, please provide requested information to help us investigate better.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Return to Spire.PDF