Open
Description
When I try to open a docx file with "The image part with relationship rID8 was not found" error, the following error is reported always.
The code is as simple as following:
from docx import Document
doc = Document('.\WordHasSomeProblem.docx')
The problematic word file is attached, i.e., WordHasSomeProblem.docx
As Microsoft has declared here: https://docs.microsoft.com/en-us/office/troubleshoot/word/image-part-relationship-rld8-not-found-error-microsoft-word, the problem happens here is because of some target field was set to "NULL.".
My question is: is that possible to add some parameter in Document() to just ignore this kind of errors and continue loading the docx into RAM?
Thanks!