Skip to content

Параметры mudraw #27

@42dmitriy

Description

@42dmitriy

Добрый день, Pilot-Web для Linux (использую docker контейнер с docker хаб) не отображает pdf документы. Предполагаю, дело в том, что mudraw всегда передается в параметрах ссылка на файл с расширением xps, например -o /opt/pilot-web/storage/pages/211/7/e01976fe-d86d-4c5e-80ab-5bbef26bd307/page_%d.png /opt/pilot-web/tmp/477e0b54-a109-4899-b2fd-3bd4435191fd.xps, хотя для pdf документа, предполагаю, расширение должно быть pdf. Постраничные изображения для XPS документов генерируются нормально.
В логах такие ошибки
"error: cannot load document '/opt/pilot-web/tmp/d4ef3760-030b-4fd0-bcc3-50c1b5c4d966.xps'
error: cannot open document: /opt/pilot-web/tmp/d4ef3760-030b-4fd0-bcc3-50c1b5c4d966.xps
error: cannot draw '/opt/pilot-web/tmp/d4ef3760-030b-4fd0-bcc3-50c1b5c4d966.xps'
warning: not building glyph bbox table for font 'Arial' with 4503 glyphs
warning: not building glyph bbox table for font 'Arial' with 4503 glyphs
warning: not building glyph bbox table for font 'Calibri' with 6780 glyphs
warning: not building glyph bbox table for font 'Calibri' with 6780 glyphs
warning: not building glyph bbox table for font 'Arial' with 4503 glyphs
warning: ... repeated 2 times ...
warning: not building glyph bbox table for font 'Calibri' with 6780 glyphs
warning: ... repeated 2 times ...
warning: not building glyph bbox table for font 'Times New Roman' with 4685 glyphs
warning: not building glyph bbox table for font 'FEFF3A1962A' with 4503 glyphs
warning: not building glyph bbox table for font 'Arial' with 4503 glyphs
warning: not building glyph bbox table for font 'FEFB2A0550E' with 4503 glyphs
warning: not building glyph bbox table for font 'Arial' with 4503 glyphs
error: cannot find end of central directory
error: cannot load document '/opt/pilot-web/tmp/477e0b54-a109-4899-b2fd-3bd4435191fd.xps'
error: cannot open document: /opt/pilot-web/tmp/477e0b54-a109-4899-b2fd-3bd4435191fd.xps
error: cannot draw '/opt/pilot-web/tmp/477e0b54-a109-4899-b2fd-3bd4435191fd.xps'
error: cannot find end of central directory
"

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