reisxd / revanced-builder

A NodeJS ReVanced builder
GNU General Public License v3.0
1.93k stars 172 forks source link

Patching failure #693

Closed baigrawaha closed 1 year ago

baigrawaha commented 1 year ago

I have been trying to patch the YouTube. I am getting 2 common errors. [builder] SEVERE: video-ads failed: app.revanced.patcher.patch.PatchResultError: 'video-ads' depends on 'settings' but the following error was raised: 'settings' did not succeed previously at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:304) at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:36) at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:350) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127) at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83) at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:20) at app.revanced.cli.command.MainCommand.run(MainCommand.kt:155)

and

[builder] An error occured. Error: EBUSY: resource busy or locked, unlink '\\?\C:\Users\rawah\Downloads\Programs\Revanced Builder\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\revanced-builder\wsEvents\patchApp.js:28:3) at Socket.<anonymous> (C:\snapshot\revanced-builder\wsEvents\patchApp.js:186:53) [builder] Please report this bug here: https://github.com/reisxd/revanced-builder/issues.

YT version: 18.05.40

imgodfrey101 commented 1 year ago

Same here.

[builder] SEVERE: Failed to delete existing resource cache directory [builder] INFO: Decoding resources [builder] SEVERE: general-ads failed: [builder] app.revanced.patcher.patch.PatchResultError: 'general-ads' depends on 'GeneralAdsResourcePatch' but the following error was raised: 'GeneralAdsResourcePatch' depends on 'LithoFilterPatch' but the following error was raised: Could not find the method to hook. [builder] at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:304) at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:36) [builder] at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:350) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127) at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83) at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:20) at app.revanced.cli.command.MainCommand.run(MainCommand.kt:155) at picocli.CommandLine.executeUserObject(CommandLine.java:2026) at picocli.CommandLine.access$1500(CommandLine.java:148) at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461) [builder] at picocli.CommandLine$RunLast.handle(CommandLine.java:2453) at picocli.CommandLine$RunLast.handle(CommandLine.java:2415) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273) at picocli.CommandLine$RunLast.execute(CommandLine.java:2417) at picocli.CommandLine.execute(CommandLine.java:2170) at app.revanced.cli.main.MainKt.main(Main.kt:7) [builder] SEVERE: microg-support failed: [builder] app.revanced.patcher.patch.PatchResultError: 'microg-support' depends on 'hide-cast-button' but the following error was raised: 'hide-cast-button' depends on 'settings' but the following error was raised: Failed to resolve ThemeSetterAppFingerprint [builder] at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:304) [builder] at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:36) [builder] at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:350) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127) at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83) [builder] at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:20) at app.revanced.cli.command.MainCommand.run(MainCommand.kt:155) at picocli.CommandLine.executeUserObject(CommandLine.java:2026) at picocli.CommandLine.access$1500(CommandLine.java:148) at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461) at picocli.CommandLine$RunLast.handle(CommandLine.java:2453) at picocli.CommandLine$RunLast.handle(CommandLine.java:2415) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273) at picocli.CommandLine$RunLast.execute(CommandLine.java:2417) [builder] at picocli.CommandLine.execute(CommandLine.java:2170) at app.revanced.cli.main.MainKt.main(Main.kt:7) [builder] SEVERE: video-ads failed: [builder] app.revanced.patcher.patch.PatchResultError: 'video-ads' depends on 'settings' but the following error was raised: 'settings' did not succeed previously [builder] at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:304) at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:36) [builder] at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:350) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127) at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83) at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:20) at app.revanced.cli.command.MainCommand.run(MainCommand.kt:155) [builder] at picocli.CommandLine.executeUserObject(CommandLine.java:2026) [builder] at picocli.CommandLine.access$1500(CommandLine.java:148) at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461) at picocli.CommandLine$RunLast.handle(CommandLine.java:2453) at picocli.CommandLine$RunLast.handle(CommandLine.java:2415) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273) at picocli.CommandLine$RunLast.execute(CommandLine.java:2417) at picocli.CommandLine.execute(CommandLine.java:2170) at app.revanced.cli.main.MainKt.main(Main.kt:7) [builder] INFO: Compiling resources