python - Segmentation fault when using Xlsxwriter and PyQt4 -
I currently use Python modules Xlsxwriter and PyQt4 a script'm getting a segmentation error. Simply importing PyQt4 when running Xlsxwriter result in segmentation fault.
PyQt4 to import system imports QtGui def Writexx (Gitatekst, filename): Import xlsxwriter workbook = xlsxwriter.Workbook (filename) Worksheet = worksheet .add_worksheet ( 'Test' tab) Worksheet. written (0, 0, Gitekst) Vrkbukkclos () return def main (): WriteExcel ( 'Test text', 'test.xlsx') that __name__ == '__main__': main () "Importing PyQt4 Import from QtGui" fixes the problem, although I use Gui to send Excel file for information I need the code with openxxl instead of xlsxwriter and i still get a seg fault.
seg from gdb The defect result is below.
& lt; Http: // www Gnu.org/software/gdb/bugs/> ... [from the path] / Reading symbols from Ana ... did the conda / bin / dragon ... The program is started: [to path] / anaconda / bin / python qtgui-excel.py [libthread_db thread debugging enabled] from [path received signal SIGSEGV, Segmentation fault 0x00002aaab0541624 fill_window () program] / anaconda / lib / Libz.so.1 Maybe writing something like XML?
Update: Tracked the error for the compression used in the zipfile command in Xlsxwriter.
zipfile.ZIP_DEFLATED uses Liboj module according to Jiffail documentation to the compression.
Maybe writing XML might be something like this
Probably no XlsxWriter uses its own XML author
segfault is the is called libz appears that core Jiffail module for use by both Akselsdraitr and open Piiaksel.
Comments
Post a Comment