mono / SkiaSharp

SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
MIT License
4.41k stars 535 forks source link

Cannot create the PDF document using the SkiaSharp-related library #2234

Closed mukeshanand123 closed 2 years ago

mukeshanand123 commented 2 years ago

We are using Quest pdf for generate pdf and working fine in local directory. but when deploy in GKE there is some dependency issue . Note:- I have installed all dependecy packages like linux, mac, dependecy , but getting same error in google cloud. Cannot create the PDF document using the SkiaSharp-related library. This exception usually means that, on your operating system where you run the application, SkiaSharp-related requires installing additional dependencies. Such dependencies are available as additional nuget packages, for example .NativeAssets.Linux.NoDependencies. Some operating systems may require installing multiple nugets, e.g. MacOS may need both .NativeAssets.macOS.NoDependencies and *.NativeAssets.Linux.NoDependencies.Please refer to the SkiaSharp-related documentation for more details. Also, please consult the inner exception that has been originally thrown by the dependency library.", "StatusCode": 500

mattleibow commented 2 years ago

Are you able to attach a repro sample of this?

Also, please attach any information about the operating system and hardware of the cloud instance - like OS name/version along with any CPU information.

mukeshanand123 commented 2 years ago

hi mattlebow, please find details. OS Name: debian OS Version: 11 OS Platform: Linux

mukeshanand123 commented 2 years ago

please provide any suggestion asap, in local its working properly but when deployed to GKE its getting skia sharp related issue.

mattleibow commented 2 years ago

Could you attach a sample repro.

mattleibow commented 2 years ago

Please open an issue on the QuestPdf repository.