https://groups.google.com/forum/?fromgroups#!topic/scriptella/wr_dkDaQsKQ
Sometimes after reading a spreadsheet, after all of the statements have been
executed and it attempts to close the connection on the xls driver, it seems
like it rewrites the entire xls file? I have noticed at times the file size
will shrink which I assume is due to a difference in compression in how the
sheet is being saved as; but the big issue here is that if anything happens
during this period, or if there is an exception during the processing phase,
the context is not closed properly and the xls file is basically truncated and
you're left with a spreadsheet that has 0 bytes. Is the only way to avoid this
making all of the source files read-only?
Original issue reported on code.google.com by vasilievip on 30 Apr 2012 at 9:49
Original issue reported on code.google.com by
vasilievip
on 30 Apr 2012 at 9:49