MathNya / umya-spreadsheet

A pure rust library for reading and writing spreadsheet files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value'

sunnyboy00 opened this issue · comments

thread 'main' panicked at 'called Option::unwrap() on a None value', umya-spreadsheet/src/structs/vml/shape.rs:283:77
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

thread 'main' panicked at 'called Option::unwrap() on a None value', umya-spreadsheet/src/structs/drawing/spreadsheet/two_cell_anchor.rs:222:55
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@sunnyboy00
Thank you for your report.
From the error, it seems that there is a problem when loading the image file.
If possible, please provide us with the Excel file in which the error occurred.

test1.zip

upload file

I think the unwrap() function should not be used

Thank you for the files.
We were able to confirm the event here as well.
We will address this issue in the next version of the software.

thread 'main' panicked at 'called Option::unwrap() on a None value', umya-spreadsheet/src/structs/vml/shape.rs:283:77

pls fix the same issue