Erro em validate_author_notes: format_response() missing 3 required positional arguments
Closed this issue · 0 comments
robertatakenaka commented
Descrição do problema
Erro em validate_author_notes
format_response() missing 3 required positional arguments: 'parent_article_type', 'parent_lang', and 'error_level'
Passos para reproduzir o problema
-
Execute a validação validate_author_notes com
1518-8787-rsp-56-37.xml.zip -
Observe o erro apresentado
[2024-07-30 23:57:11,152: INFO/ForkPoolWorker-2] [' File "/app/upload/xml_validation.py", line 172, in validate_xml_content\n for item in items:\n', ' File "/app/upload/xml_validation.py", line 262, in validate_author_notes\n yield from validator.validate_author_note()\n', ' File "/usr/local/lib/python3.11/site-packages/packtools/sps/validation/article_author_notes.py", line 259, in validate_author_note\n yield from self.validate_corresp_tag_presence(author_note)\n', ' File "/usr/local/lib/python3.11/site-packages/packtools/sps/validation/article_author_notes.py", line 82, in validate_corresp_tag_presence\n yield format_response(\n ^^^^^^^^^^^^^^^^\n']
Comportamento esperado
A resposta deve conter 'parent_article_type', 'parent_lang', and 'error_level'