When generating a sequence of word and excel files which include images, the following error occurs:
- Code: Select all
Unhandled Exception: System.TypeInitializationException: TypeInitialization_Type_NoTypeAvailable
---> System.InvalidOperationException: The version of the native libSkiaSharp library (88.1) is incompatible with this version of SkiaSharp. Supported versions of the native libSkiaSharp library are in the range [80.3, 81.0).
at SkiaSharp.SkiaSharpVersion.CheckNativeLibraryCompatible(Version, Version, Boolean) + 0x271
at SkiaSharp.SKObject..cctor() + 0x25
at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0xb9
Exception_EndOfInnerExceptionStack
at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0xaf
at System.Runtime.CompilerServices.ClassConstructorRunner.CheckStaticClassConstructionReturnNonGCStaticBase(StaticClassConstructionContext*, IntPtr) + 0x9
at SkiaSharp.SKObject.DeregisterHandle(IntPtr, SKObject) + 0x14
at SkiaSharp.SKObject.set_Handle(IntPtr) + 0x24
at SkiaSharp.SKNativeObject.Finalize() + 0x10
at System.Runtime.__Finalizer.DrainQueue() + 0x66
at System.Runtime.__Finalizer.ProcessFinalizers() + 0x3e
[1] 13175 IOT instruction (core dumped) ./crash_change.py
This occurs when using Spire.Xls 13.9.3, Spire.Doc 12.7.1, Ubuntu 22.04.1 LTS, Python 3.9.16.
I've also created a MWE at https://github.com/EricRobertCampbell/s ... -excel-mwe
As always, any workarounds or fixes would be greatly appreciated.