use aspose.word,version=24.4.0, python code:
import aspose.words as aw
lic_dir = 'Aspose.Words.Python.NET.lic'
document = aw.Document("test.docx")
use aspose.word,version=24.4.0, python code:
import aspose.words as aw
lic_dir = 'Aspose.Words.Python.NET.lic'
document = aw.Document("test.docx")
Traceback (most recent call last):
File “D:\project\python_project\kai-wis\kai_wis_ai_dps\a.py”, line 208, in
document = aw.Document(“test.docx”)
RuntimeError: Proxy error(FileCorruptedException): The document appears to be corrupted and cannot be loaded. —> ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter ‘index’)
@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-27504
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.
The issues you have found earlier (filed as WORDSNET-27504) have been fixed in this Aspose.Words for .NET 24.11 update also available on NuGet.