moevm / moevm/document_insight_system

На странице проверки нет технических логов со стадии парсинга

Open
#828 0 comments 0 reactions 1 assignee View on GitHub

@LapshinAE0 is already working on this.

Since Jul 10, 2026.

bug
Dominant language
Python
Stars
9
Forks
5
PR merge metrics
No merged PRs in 30d

Description

На странице проверки нет технических логов со стадии парсинга, хотя в консоли есть со связанным stage=parse

INFO     [2026-05-29 15:06:13.378] tasks:67 create_task() - Пайплайн проверки: начало парсинга файла [check_id=6a197ce78f88fe1a0a5b0e4c stage=parse]
ERROR    [2026-05-29 15:06:13.605] parser:53 parse() - attribute value 'start' not valid for this type
Traceback (most recent call last):
  File "/usr/src/project/app/main/parser.py", line 36, in parse
    docx.parse()
  File "/usr/src/project/app/main/reports/docx_uploader/docx_uploader.py", line 38, in parse
    self.tables = self.__make_table(self.file.tables)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/project/app/main/reports/docx_uploader/docx_uploader.py", line 140, in __make_table
    self.tables.append(Table(tables[i], table))
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/project/app/main/reports/docx_uploader/table.py", line 12, in __init__
    self.table_alignment = table.alignment
                           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/docx/table.py", line 55, in alignment
    return self._tblPr.alignment
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/docx/oxml/table.py", line 297, in alignment
    return jc.val
           ^^^^^^
  File "/usr/local/lib/python3.12/site-packages/docx/oxml/xmlchemy.py", line 219, in get_attr_value
    return self._simple_type.from_xml(attr_str_value)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/docx/enum/base.py", line 195, in from_xml
    raise InvalidXmlError(
docx.exceptions.InvalidXmlError: attribute value 'start' not valid for this type [check_id=6a197ce78f88fe1a0a5b0e4c stage=parse]
Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.