mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #235] call workbook_close somtimes not create xlsx file #189
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @myseemylife on GitHub (Jun 13, 2019).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/235
Originally assigned to: @jmcnamara on GitHub.
I have inserted 19000+row data ,6 colums,then call workbook_close,but the lib not always create the file successfully.after 2 hours debug,in iowin32.c line 185.
hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, dwFlagsAndAttributes, NULL);the handle is NULL.GetLastError = 32. need help
@jmcnamara commented on GitHub (Jun 14, 2019):
According to this MS Doc Error 32 is:
Is the file already open in Excel?
Also, can you put this as the close() for your application and let me know the output:
@jmcnamara commented on GitHub (Jul 29, 2019):
Closing due to lack of feedback.
@myseemylife commented on GitHub (Aug 23, 2019):
Sorry Disappeared for many days~
I reproduce the case today,got
error = LXW_ERROR_CREATING_XLSX_FILE,OS: Win10 64bit @jmcnamara .
I can make sure that I got permissions on the destination dir.
I run Administrator account.
@jmcnamara commented on GitHub (Aug 23, 2019):
What is the full printf output from the error code above?