Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка при прочитывании файла #379

Closed
ValiullinAlbert opened this issue Nov 29, 2023 · 2 comments
Closed

Ошибка при прочитывании файла #379

ValiullinAlbert opened this issue Nov 29, 2023 · 2 comments
Assignees

Comments

@ValiullinAlbert
Copy link

Положение.docx
При считывании этого файла возникает ошибка связанная с размером шрифта

from dedoc.readers import DocxReader

filepath = "Положение.docx"
reader = DocxReader(config={})
document = reader.read(filepath, parameters={"with_attachments": "false"})

Ошибка:
ValueError: could not convert string to float: '8pt'

@ValiullinAlbert ValiullinAlbert changed the title Ошибка при прочитывание файла Ошибка при прочитывании файла Nov 29, 2023
@NastyBoget
Copy link
Collaborator

Ошибка воспроизвелась, постараемся исправить в ближайшее время, спасибо!

@NastyBoget NastyBoget self-assigned this Nov 30, 2023
@NastyBoget
Copy link
Collaborator

Поправили в новой версии dedoc==2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants