Hello,
We are currently experiencing difficulties with loading certain OpenDocument Text (.odt) files using Aspose.Words for Python version 24.07. Here is a sample file that exemplifies the issue, but please note that this is not an isolated case: sample_load_KO.zip (28,4 Ko)
Below is the minimalistic Python code we are using:
import sys
import aspose.words as aw
aw.Document(sys.argv[1])
When attempting to load the attached file, the following error is encountered:
D:\src\aspose_tests>python a.py sample_load_KO.odt
Traceback (most recent call last):
File "D:\src\aspose_tests\a.py", line 3, in <module>
doc = aw.Document(sys.argv[1])
^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Proxy error(XmlException): Root element is missing.
Could you please guide us if there is anything additionally required to successfully load these .odt files, or if there might be a workaround or a fix for this issue?
Thank you for your assistance.
Best regards,