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

Crash when trying to open example pptx/docx files #6

Open
qarmin opened this issue May 14, 2022 · 1 comment
Open

Crash when trying to open example pptx/docx files #6

qarmin opened this issue May 14, 2022 · 1 comment

Comments

@qarmin
Copy link

qarmin commented May 14, 2022

Library should not crash, just return an error

sample.docx
sample.pptx

let part = package.get_part("xl/_rels/workbook.xml.rels").unwrap();

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', /home/rafal/.cargo/registry/src/github.com-1ecc6299db9ec823/ooxml-0.2.5/src/document/spreadsheet/mod.rs:60:71
@zitsen
Copy link
Owner

zitsen commented May 17, 2022

Library should not crash, just return an error

Agreed. will improve that.

Crash when trying to open example pptx/docx files

pptx/docx is not supported yet.

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