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

failed to remove original file #243

Closed
DTD369 opened this issue Nov 30, 2023 · 2 comments · Fixed by #249
Closed

failed to remove original file #243

DTD369 opened this issue Nov 30, 2023 · 2 comments · Fixed by #249
Labels
bug Something isn't working

Comments

@DTD369
Copy link

DTD369 commented Nov 30, 2023

What happened?

When I downloaded an IPA using IPATool, it completed with this error:

[Time] ERR error="failed to remove original file: remove C:\\Users\\<user>\\Downloads\\<app>.ipa: The process cannot access the file because it is being used by another process." success=false

When I checked the Downloads folder, I could see that there were the original IPA file and a TMP file. Since I had read the code, I understood that IPATool was meant to delete the original file and then rename the TMP file to the IPA file, but was unable to do the former since the file handle was still open. Of course, I can do the rest but it's annoying to do so every time.

Version

v2.1.3 (latest)

Relevant log output

D:\IPATool>ipatool download -b com.iYOK.BLEJoyStick -o "%USERPROFILE%\Downloads\BLE Joystick.ipa" --verbose
9:10AM INF enter passphrase to unlock "C:\\Users\\'\\.ipatool" (this is separate from your Apple ID password):
9:10AM DBG error="failed to remove original file: remove C:\\Users\\'\\Downloads\\BLE Joystick.ipa: The process cannot access the file because it is being used by another process."
9:10AM ERR error="failed to remove original file: remove C:\\Users\\'\\Downloads\\BLE Joystick.ipa: The process cannot access the file because it is being used by another process." success=false
@DTD369 DTD369 added the bug Something isn't working label Nov 30, 2023
@ksagameng2
Copy link

The bug was fixed but the latest release doesn't have it so build the source yourself and use that

@mikesTech
Copy link
Contributor

#248
this may apply to u @DTD369

@majd majd linked a pull request Jan 19, 2024 that will close this issue
@majd majd closed this as completed in #249 Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants