@David_Matin Do you use any other Aspose products? If so, could you please specify which and their versions.
The latest version of Aspose.Words for Python uses SkiaSharp 3.116.1, probably other product you are using uses an older version and this cases the problem.
@David_Matin Thank you for additional information. This does not look like might be reason of the problem on your side, since Aspose.PDF does not use SkiaSharp. Also, I tested with both Aspose.Words and Aspose.PDF in one project and still the problem is not reproducible.
If possible, could you please try testing in a clear environment on your side? For example in the Docker container like described above.
@alexey.noskov Than you.I search our k8s env:
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
uname -a
Linux 56956d5b85-vjz9k 5.10.134-16.3.al8.x86_64 #1 SMP Tue Mar 26 18:54:05 CST 2024 x86_64 GNU/Linux
@David_Matin Thank you for additional information. I have managed to reproduce the problem with Debian GNU/Linux 10 (buster).
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSPYTHON-86
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@David_Matin Unfortunately, the issue is not resolved yet. We will keep you informed and let you know once it is fixed.
@David_Matin This issue is not reproducible with the latest 25.6 version of Aspose.Words for Python. Please try using the latest version and let us know if the problem still persists on your side.
@alexey.noskov Hello,this error looks like fixed’Unhandled exception. System.TypeInitializationException: The type initializer for ‘SkiaSharp.SKObject’ threw an exception.
'.But I found one pdf,when convert to markdown using aspose-words 25.6.0,content has messy code.
PDF:TBSA-金字塔原理:思考、寫作、解決問題的邏輯方法-2011.4.6.pdf (2.3 MB)
Markdown: https://drive.google.com/file/d/1-OUEhBAU_yrbq_5MPsdmN2C82a6Nbft7/view?usp=sharing
@David_Matin
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-28366
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.