Closed mirsella closed 2 months ago
i edited the title and post as the problem occur also on 0.21, but not before
Hello! Yes that was a problem which I fixed in e08d7c09 .
Would like to publish a new release with it, but I'm still waiting for arturoc's change with color-rs. I'm already thinking about throwing out that pub use for good.
I published 0.22.3 just now. This should work for you.
Hey, it appears to still not be resolved
the test added in https://github.com/thscharler/spreadsheet-ods/commit/fd5aebeaa037846253fc9bf898ff02efa2628a8f don't show it because there isn't enough data (my bad as i didn't specify the data when opening this issue)
i'll work on a minimal reproduction code / improving the test case soon. for now it seems to be happening when there is multiple "reels", more than one in the for loop.
It seems setting the width multiple times did the trick. Lost the span somewhere, and advancing by 0 doesn't do much.
If you would confirm this, then I will do a patch-release.
It works !
Thanks, have a great day
hello
this code (the only relevant part is the
set_col_width
Works on < 0.21 works on >= 0.21 if i remove all the set_col_width. (it seems like only the last 3 works. If I put 4 or if it's not the max last 3 it break again)
the doesn't work is quite simple, write_ods* functions all hang and never finish (finish at a very long time with Zip error
Large file option has not been set
or simply no space left on device) because it writes continuously data, like a infinite loop. it's the functionwrite_sheet
in write.rs, but i don't know enough the code to go further. in any case, this is related to the change in 0.21.thanks !