BinaryKits / BinaryKits.Zpl

BinaryKits.Zpl a set of .net libraries. The project supports you in the simple creation of zebra labels. It generates the ZPL data, it is a printer description language from Zebra Technologies. ZPL II is now emulated by many label printers from different manufacturers. So with this implementation you can create labels for most printers.
MIT License
307 stars 112 forks source link

Getting error on k8s but working fine on locally #209

Closed singh-coder23 closed 6 months ago

singh-coder23 commented 7 months ago

Error Response :

Value cannot be null. (Parameter 'asset') at SkiaSharp.HarfBuzz.BlobExtensions.ToHarfBuzzBlob(SKStreamAsset asset)

Severatity : Critical

From :

var drawer = new ZplElementDrawer(printerStorage); drawer.Draw(labelInfo.ZplElements)

Thanks & Regards, Anand Singh(Coder) India

primo-ppcg commented 7 months ago

Do you have an example label that produces the error?

singh-coder23 commented 6 months ago

Thanks for your response @primo-ppcg. We have resolved the issue on prod as well. Due to some linux related font on k8s & docker nuget packages it was creating an issue.

AMI3GOLtd commented 5 months ago

Thanks for your response @primo-ppcg. We have resolved the issue on prod as well. Due to some linux related font on k8s & docker nuget packages it was creating an issue.

What resolved your issue? We're experiencing the same...