aniyomiorg / aniyomi-extensions

Source extensions for the Aniyomi app.
Apache License 2.0
668 stars 252 forks source link

AnimePahe isn't working #1277

Closed KiritoX1 closed 1 year ago

KiritoX1 commented 1 year ago

Source information and language

AnimePahe 13.17

Steps to reproduce

Streaming and downloading are not working

Expected behavior

Should stream and download anime properly

Actual behavior

Showing - Expected start of the object '{', but had 'EOF' instead JSON input: not enough arguments

Aniyomi version

0.12.3.10

Android version

Android 11

Other details

No response

Acknowledgements

devinbedari commented 1 year ago

Managed to grab a stack trace of the error:

02-14 18:43:56.222 22075 22225 E StandaloneCoroutine: Expected start of the object '{', but had 'EOF' instead
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine: JSON input: not enough arguments
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine: kotlinx.serialization.json.internal.JsonDecodingException: Expected start of the object '{', but had 'EOF' instead
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine: JSON input: not enough arguments
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:2)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.internal.AbstractJsonLexer.fail(AbstractJsonLexer.kt:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$kotlinx_serialization_json(AbstractJsonLexer.kt:2)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken(AbstractJsonLexer.kt:4)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.internal.StringJsonLexer.consumeNextToken(StringJsonLexer.kt:9)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.internal.StreamingJsonDecoder.beginStructure(StreamingJsonDecoder.kt:2)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:3)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.JsonObjectSerializer.deserialize(JsonElementSerializers.kt:3)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.JsonObjectSerializer.deserialize(JsonElementSerializers.kt:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:12)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.serialization.json.Json.decodeFromString(Json.kt:3)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at eu.kanade.tachiyomi.animeextension.en.animepahe.AnimePahe.videoListParse(AnimePahe.kt:337)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at eu.kanade.tachiyomi.ui.anime.AnimePresenter$$ExternalSyntheticLambda8.call(Unknown Source:46)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onNext(OnSubscribeDoOnEach.java:3)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at eu.kanade.tachiyomi.network.OkHttpExtensionsKt$asObservable$1$requestArbiter$1.request(OkHttpExtensions.kt:4)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.Subscriber.setProducer(Subscriber.java:8)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeMap$MapSubscriber.setProducer(OnSubscribeMap.java:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.Subscriber.setProducer(Subscriber.java:6)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at eu.kanade.tachiyomi.network.OkHttpExtensionsKt$$ExternalSyntheticLambda0.call(Unknown Source:5)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.Observable.unsafeSubscribe(Observable.java:2)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:2)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.Observable.unsafeSubscribe(Observable.java:2)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:4)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.Observable.unsafeSubscribe(Observable.java:2)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeFlattenIterable.call(OnSubscribeFlattenIterable.java:5)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeFlattenIterable.call(OnSubscribeFlattenIterable.java:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.Observable.unsafeSubscribe(Observable.java:2)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:4)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:4)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:4)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.Observable.unsafeSubscribe(Observable.java:2)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:2)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:4)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.Observable.subscribe(Observable.java:25)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at eu.kanade.tachiyomi.util.lang.RxCoroutineBridgeKt.awaitOne(RxCoroutineBridge.kt:4)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at eu.kanade.tachiyomi.util.lang.RxCoroutineBridgeKt.awaitSingle(RxCoroutineBridge.kt:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at eu.kanade.tachiyomi.ui.player.PlayerActivity$awaitVideoList$1.invokeSuspend(PlayerActivity.kt:6)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:4)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:18)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:2)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:4)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:4)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:1)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine: Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting onNext value: okhttp3.Response.class
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:5)
02-14 18:43:56.222 22075 22225 E StandaloneCoroutine:   ... 39 more
02-14 18:43:56.327 22075 22225 E StandaloneCoroutine: java.lang.Exception
02-14 18:43:56.327 22075 22225 E StandaloneCoroutine:   at eu.kanade.tachiyomi.extension.api.ExtensionGithubApi$findExtensions$2.invokeSuspend(ExtensionGithubApi.kt:19)
02-14 18:43:56.327 22075 22225 E StandaloneCoroutine:   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:4)
02-14 18:43:56.327 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:18)
02-14 18:43:56.327 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:2)
02-14 18:43:56.327 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:1)
02-14 18:43:56.327 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:1)
02-14 18:43:56.327 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:4)
02-14 18:43:56.327 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:4)
02-14 18:43:56.327 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:1)
02-14 18:51:35.465 22075 22225 E StandaloneCoroutine: java.lang.Exception
02-14 18:51:35.465 22075 22225 E StandaloneCoroutine:   at eu.kanade.tachiyomi.extension.api.ExtensionGithubApi$findExtensions$2.invokeSuspend(ExtensionGithubApi.kt:19)
02-14 18:51:35.465 22075 22225 E StandaloneCoroutine:   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:4)
02-14 18:51:35.465 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:18)
02-14 18:51:35.465 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:2)
02-14 18:51:35.465 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:1)
02-14 18:51:35.465 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:1)
02-14 18:51:35.465 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:4)
02-14 18:51:35.465 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:4)
02-14 18:51:35.465 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:1)
02-14 18:51:38.913 22075 22225 E StandaloneCoroutine: java.lang.Exception
02-14 18:51:38.913 22075 22225 E StandaloneCoroutine:   at eu.kanade.tachiyomi.extension.api.ExtensionGithubApi$findExtensions$2.invokeSuspend(ExtensionGithubApi.kt:19)
02-14 18:51:38.913 22075 22225 E StandaloneCoroutine:   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:4)
02-14 18:51:38.913 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:18)
02-14 18:51:38.913 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:2)
02-14 18:51:38.913 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:1)
02-14 18:51:38.913 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:1)
02-14 18:51:38.913 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:4)
02-14 18:51:38.913 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:4)
02-14 18:51:38.913 22075 22225 E StandaloneCoroutine:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:1)

Seems to suggest the issue is from this parsing call. Probably some server side change broke the existing parsing logic :(

ReisR7262 commented 1 year ago

Same issue :'(

devinbedari commented 1 year ago

@jmir1 @Secozzi thanks a ton for fixing this so quickly <3

ShauniBoi commented 1 year ago

Still not working for me