Welcome Guest Search | Active Topics | Sign In | Register

An initialization error occurred when deploying to the docker Options
Ray
Posted: Monday, March 13, 2023 1:52:44 AM
Rank: Newbie
Groups: Member

Joined: 3/13/2023
Posts: 5
Code: C#


I have try to used eo.pdf with in my .net core docker. I can run it with in Visual Studio, but when I deploy in docker.
An initialization error occurred when deploying to the docker environment. The error messages is as follows:

the type initializer for 'EO.Internal.pxuf' threw an exception.
at EO.Internal.pxuf..ctor()
at EO.Internal.pxnp.cytr..ctor(pxnp lgj)
at EO.Internal.pxnp.tavw()
at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions yh, HtmlToPdfSession yi, ResourceHandler yj)
at EO.Pdf.HtmlToPdfSession.Create(HtmlToPdfOptions options, ResourceHandler resourceHandler)
at EO.Pdf.HtmlToPdf.ysyb.wckg()
at EO.Internal.pnjz.qtax[a](pxow`1 bre)
at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options)

My used version is v2023.1.25.0 with no licence.

Could you help to resolve it.
eo_support
Posted: Monday, March 13, 2023 2:16:05 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

Do you have the InnerException of this exception? Also are you based on a Windows image?

Thanks!
Ray
Posted: Tuesday, March 14, 2023 11:54:13 PM
Rank: Newbie
Groups: Member

Joined: 3/13/2023
Posts: 5
I have post the InnerException in the Post 1. We base on a Linux image.
eo_support
Posted: Wednesday, March 15, 2023 10:06:02 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

You will not be able to use our product on Linux. Internally our product relies on many Windows APIs. So it can only run on Windows image.

Thanks!
Ray
Posted: Thursday, March 16, 2023 5:23:04 AM
Rank: Newbie
Groups: Member

Joined: 3/13/2023
Posts: 5
Is there any plan to expand EO.PDF to Linux image in the future?
eo_support
Posted: Thursday, March 16, 2023 10:14:10 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

We do not have any plan to support Linux in the near future because internally we rely extensively on Windows APIs. However it's always our long term goal to support as many platform as possible. The Chromium browser engine itself runs on Windows, Linux, Android and Mac OS. So in theory it's possible for us to support all those.

Thanks!
Ray
Posted: Thursday, March 16, 2023 11:02:14 PM
Rank: Newbie
Groups: Member

Joined: 3/13/2023
Posts: 5
Is there ay way to make an Application with EO.PDF to run on Linux platform.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.