Attempt to use the "Generate" function over the docx
document from the pipeline DOCUMENTS tab throws an error
#795
Labels
docx
document from the pipeline DOCUMENTS tab throws an error
#795
Describe the bug
When trying to use the "Generate" function over the
docx
document from the pipeline DOCUMENTS tab - two files are downloaded to the local machine, both with the same name, one file is the same as the originaldocx
document and the second contains only the error instead of the document contentTo Reproduce
Steps to reproduce the behavior:
docx
extension{"message":"Error while executing command python /usr/lib/python2.7/site-packages/scripts/deps_graph.py /opt/api/workspace/git7009710166274989972 config.json: \nTraceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/scripts/deps_graph.py\", line 108, in <module>\n main_file, main_class = parse_config(config, config_name)\n File \"/usr/lib/python2.7/site-packages/scripts/deps_graph.py\", line 91, in parse_config\n return get_main_file_class(item['configuration'])\n File \"/usr/lib/python2.7/site-packages/scripts/deps_graph.py\", line 96, in get_main_file_class\n return config['main_file'][:-3], config['main_class']\nKeyError: 'main_file'","status":"ERROR"}
Expected behavior
More convenient and clear error message
Environment:
The text was updated successfully, but these errors were encountered: