Skip to content

add_column is corrupting my file. #1102

Open
@zachNA2

Description

@zachNA2

Hello. my environemnt is Windows 11 (64 bits). Python 3.19.13 and I am using python docx version 0.8.11.

When I add a column to an existing table I get no errors whatsoever I check my new Docx file and before any changes it is 82 KB big. After adding a few columns the size is 84 KB however when I open the file only the first page is showing and I can't navigate through it.

If I try to print the file or convert to pdf I get errors "The export failed. The document could not be prepared for exporting."

The weirdest part is the second page of my file is a navigation menu. So like you can click on chapter 3 and it brings you to the chapter 3's page. Well if you open the navigation tab in word I can see the contents of the second page (so like I can see index 2, is on page 5 and chapter 1 is on page 7 etc... However I can't get passed the first page.

What is happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions