-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Unable to Delete Input File #381
Comments
And the same node script can delete the files (without any user/owner / rights modification) if the node js process has been restarted? |
yes. if I just delete the files, it works fine. |
you need to do that in the done callback:
|
still the same error :( |
I wrote a Test which does exactly this. There is either some Race condition or you have that file Open somwewhere else. Please also test if a setTimeout and unlink files later works. This might inidicate some Timing issues. |
If I comment the Recipe code and just delete the files, it works. But when I put back the code, I'm getting the error. Also setTimeout does not work and the file is still locked. So I'm guessing something within the Recipe is not freeing up the files. |
please provide your os, arch and node version |
windows x64 node 20.12.2 |
Does this ever got resolved? Same error same code on windows x64 node 20.12.2 |
if i get the time for it of course. please test current dev by compiling your own version as there is a big pdf writer update which will be released shortly. that has a lot of internal changes and might fix this too. |
should be solved. see PR. can not reproduce it anymore. feel free to review the testcase i added |
it seems to be a windows issue. interesting |
Can you confirm you use muhammara in/with electron? Cause node only seems to run fine, even on windows. |
Hi, first of all thank you for maintaining this project. Its awesome.
I just encountered an issue where I will merge two pdfs, then delete the files after wards. However I'm unable to delete the files and get an error EBUSY: resource busy or locked. Workaround is not to use Recipe, but would be great if this is fixed. Please see code below:
The text was updated successfully, but these errors were encountered: