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

Error: EBUSY: resource busy or locked #82

Closed
androidghosh opened this issue May 1, 2023 · 1 comment
Closed

Error: EBUSY: resource busy or locked #82

androidghosh opened this issue May 1, 2023 · 1 comment

Comments

@androidghosh
Copy link

androidghosh commented May 1, 2023

Describe the bug
The builder is erroring with this,
[builder] Listening at port 8000 [builder] The webserver is now running! [builder] Opening the app in the default browser... Done, check if a browser window has opened Not sure what to do with typed value of type 0x4, falling back to reading an uint32. [builder] An error occured. Error: EBUSY: resource busy or locked, unlink '\\?\C:\Users\rudra\Downloads\revanced-cache\1.apk' at unlinkSync (node:fs:1780:3) at _unlinkSync (node:internal/fs/rimraf:214:14) at rimrafSync (node:internal/fs/rimraf:195:7) at node:internal/fs/rimraf:253:9 at Array.forEach (<anonymous>) at _rmdirSync (node:internal/fs/rimraf:250:7) at rimrafSync (node:internal/fs/rimraf:193:7) at rmSync (node:fs:1274:10) at afterBuild (C:\snapshot\rvx-builder-main2\wsEvents\patchApp.js:28:3) at Socket.<anonymous> (C:\snapshot\rvx-builder-main2\wsEvents\patchApp.js:186:53) [builder] Please report this bug here: https://github.com/inotia00/rvx-builder/issues.

To Reproduce
run it
select youtube
select all patches
select 18.16.37 apk
after almost complete it gets errored
there was no log.txt file

same thing happens when I manually add the apk instead of downloading from apkmirror
Happens every time. Also happens when not all patches are included.
Looks like a widespread issue

Screenshots
image

revanced-builder Version: 3.9.1

Desktop (please complete the following information):

  • OS: Win 10 Home latest update 1/05/2023

Additional context
Oddly, if I install revanced_signed.apk from revanced-cache folder, everything seems to work.

Also, I later found this, these two might be same. I'll try to implement the solutions given there.

@inotia00
Copy link
Owner

inotia00 commented May 3, 2023

If the issue persists despite you following this guide, please follow the method below:

  1. Close rvx-builder
  2. If you have Zulu in Windows Task Manager, force close it
  3. Delete the revanced-cache directory
  4. Run rvx-builder again, continue patching

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

2 participants