typhoon-hil / allure-docx

docx report generation based on allure-generated json files
MIT License
30 stars 14 forks source link

Cannot generate .docx #32

Closed JackQL1119 closed 4 years ago

JackQL1119 commented 4 years ago

Allure 2.13.6 TestNG

.\allure-docx.exe .\allure-results\ test.docx

OPENED
Traceback (most recent call last):
  File "allure_docx\commandline.py", line 74, in <module>
  File "lib\site-packages\click\core.py", line 722, in __call__
  File "lib\site-packages\click\core.py", line 697, in main
  File "lib\site-packages\click\core.py", line 895, in invoke
  File "lib\site-packages\click\core.py", line 535, in invoke
  File "allure_docx\commandline.py", line 51, in main
  File "allure_docx\process.py", line 306, in run
  File "allure_docx\process.py", line 280, in create_docx
  File "allure_docx\process.py", line 198, in print_steps
  File "allure_docx\process.py", line 197, in print_steps
  File "allure_docx\process.py", line 173, in print_attachments
KeyError: 'type'
[11220] Failed to execute script commandline