microsoft / Simplify-Docx

Simplify DOCX files to JSON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError: Unhandled nesting of data fields

malcnorth59 opened this issue · comments

I'm trying to read a fairly small word document and getting the above error. I have installed the recommended version of python-docx.

document I'm trying to simplify is attached.

this is what I'm doing from ubuntu 20.04 on WSL:

#!/usr/bin/python3

import docx
from simplify_docx import simplify

doc = docx.Document("Cayley-Test-CDD-v0_1.docx")

doc_json = simplify(doc)

Cayley-Test-CDD-v0_1.docx