Skip to content

Error "Недопустимый ключ: "tmp" #3

@fish-train

Description

@fish-train
  1. cd example
  2. python3 mkword.py structure/structure.yml
  3. yes Check your templates/template.docx file. It should be opened and have a new content from example_chapter.md file. Close this file without saving.

Result:

Недопустимый ключ: "tmp".
Traceback (most recent call last):
  File "../scripts/render.py", line 162, in <module>
    figure_caption(sec)
  File "../scripts/render.py", line 57, in figure_caption
    + fgr.AlternativeText, Position=wdCaptionPositionBelow, ExcludeLabel=0)
  File "<COMObject <unknown>>", line 4, in InsertCaption
pywintypes.com_error: (-2147352567, 'Ошибка.', (0, 'Microsoft Word', 'Ошибка команды', 'wdmain11.chm', 36966, -2146824090), None)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions