Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

malformed docx processing error: media file not in [Content_Types].xml #1455

Open
mepwang opened this issue Dec 16, 2024 · 1 comment · May be fixed by #1456
Open

malformed docx processing error: media file not in [Content_Types].xml #1455

mepwang opened this issue Dec 16, 2024 · 1 comment · May be fixed by #1456

Comments

@mepwang
Copy link

mepwang commented Dec 16, 2024

bad.docx

some malformed docx, for example, /word/media/* files not in [Content_Types].xml
python-docx raise a keyerror exception while open the file and refuse to proceed.

@mepwang
Copy link
Author

mepwang commented Dec 16, 2024

i've create a pull request: #1456

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant