https://bugs.freedesktop.org/show_bug.cgi?id=84261
Priority: medium
Bug ID: 84261
Assignee: [email protected]
Summary: libreoffice crash when open a xlsx file saved by
openpyxl
Severity: normal
Classification: Unclassified
OS: Mac OS X (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
Version: 4.3.1.2 release
Component: Libreoffice
Product: LibreOffice
Python Code
-----------
openpyxl 2.1.0 (latest)
~~~python
from openpyxl.workbook import Workbook
from openpyxl.cell import get_column_letter, Cell, column_index_from_string,
coordinate_from_string
data_filename = 'empty_book.xlsx'
wb = Workbook()
ws = wb.active
ws.title = "range names"
# inserting sample data
for col_idx in xrange(1, 10):
col = get_column_letter(col_idx)
for row in xrange(1, 10):
ws.cell('%s%s' % (col, row)).value = '%s%s' % (col, row)
wb.save(filename=data_filename)
~~~
above py create a file "empty_book.xlsx".
open empty_book.xlsx cause libreoffice crash, everytime.
both libreoffice 4.3.1.2 and 4.2.6 are crash.
4.1.6 is OK.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs