[PR #217] [CLOSED] Additional debugging for temporary directory. #440

Closed
opened 2026-05-05 12:15:59 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jmcnamara/libxlsxwriter/pull/217
Author: @squinky86
Created: 3/3/2019
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 9c62358 Additional debugging for temporary directory.

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 src/workbook.c (+2 -2)

📄 Description

After cross-compiling libxlsxwriter using gcc on Ubuntu 18.04 for Windows 64-bit, I kept encountering an error when trying to build any .xlsx file:
[ERROR] workbook_close(): Error creating 'C:\temp\3.xlsx'. Error = No error

In trying to track down what was causing the issue, it was helpful to see what the temporary directory was being set to:
[ERROR] workbook_close(): Error creating 'C:\temp\3.xlsx' using '(null)'. Error = No error

I still haven't tracked down why I'm getting an error, but I feel like I'm getting closer and thought that someone else could benefit from the extra error debugging.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jmcnamara/libxlsxwriter/pull/217 **Author:** [@squinky86](https://github.com/squinky86) **Created:** 3/3/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`9c62358`](https://github.com/jmcnamara/libxlsxwriter/commit/9c62358abb1cea9a6747d2eb75ff8d4c0b1cd586) Additional debugging for temporary directory. ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/workbook.c` (+2 -2) </details> ### 📄 Description After cross-compiling libxlsxwriter using gcc on Ubuntu 18.04 for Windows 64-bit, I kept encountering an error when trying to build any .xlsx file: `[ERROR] workbook_close(): Error creating 'C:\temp\3.xlsx'. Error = No error` In trying to track down what was causing the issue, it was helpful to see what the temporary directory was being set to: `[ERROR] workbook_close(): Error creating 'C:\temp\3.xlsx' using '(null)'. Error = No error` I still haven't tracked down why I'm getting an error, but I feel like I'm getting closer and thought that someone else could benefit from the extra error debugging. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 12:15:59 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#440
No description provided.