Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using docbuilder files, temporary files are not deleted when done #112

Open
petrw opened this issue Aug 18, 2023 · 0 comments
Open

Comments

@petrw
Copy link

petrw commented Aug 18, 2023

Steps to reproduce the problem:

When is used docbuilder file for document conversion from XLSX to CSV, in OS temp folder (in this case /tmp) are left ascXXXXXX folders (where is X is random lower/upper case character). This happens when is called builder.SetTmpFolder at start of the script and this setting seems to be mostly respected for other temporary files.

Sample docbuilder file

builder.SetTmpFolder("/home/user/temp");
builder.OpenFile("/home/user/multiple_sheets.xlsx", "");
var sheets = Api.GetSheets();
sheets[0].SetActive();
builder.SaveFile("csv", "/home/user/out.csv", "");
builder.CloseFile();

DocumentBuilder version:
7.3.3, 7.4.0, Linux x86_64

Installation method:
Extracted RPM contents

Operating system:
CentOS 7, Ubuntu 20.04, likely others

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant