microsoft / Simplify-Docx

Simplify DOCX files to JSON
MIT License
219 stars 46 forks source link

RuntimeError: Unhandled nesting of data fields #5

Open malcnorth59 opened 4 years ago

malcnorth59 commented 4 years ago

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