aniyomiorg / aniyomi

An app for manga and anime
https://aniyomi.org
Apache License 2.0
4.51k stars 279 forks source link

Can't install extensions from app #1616

Open Hasan-Arif opened 2 weeks ago

Hasan-Arif commented 2 weeks ago

Steps to reproduce

  1. Extension download
  2. App chashes

Expected behavior

The extensions should download.

Actual behavior

But it crashes everytime

Crash logs

App version: 0.15.3.0 (standard, c91fb86, 123, 2024-05-10T08:46Z) Android version: 12 (SDK 31; build SP1A.210812.016) Android build ID: SP1A.210812.016 Device brand: Redmi Device manufacturer: Xiaomi Device name: rembrandt (rembrandt) Device model: 22122RK93C WebView: Android System WebView 127.0.6533.2 MPV version: c6ccabe Libplacebo version: v7.349.0 FFmpeg version: n6.1.1

--------- beginning of system 06-16 23:30:13.336 13880 13880 E MQSEventManagerDelegate: failed to get MQSService. 06-18 00:10:10.493 3882 3882 E MQSEventManagerDelegate: failed to get MQSService. --------- beginning of crash 06-18 01:10:50.131 3882 4220 E AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-20 06-18 01:10:50.131 3882 4220 E AndroidRuntime: Process: xyz.jmir.tachiyomi.mi, PID: 3882 06-18 01:10:50.131 3882 4220 E AndroidRuntime: java.lang.NullPointerException: Can't toast on a thread that has not called Looper.prepare() 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at com.android.internal.util.Preconditions.checkNotNull(Preconditions.java:167) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at android.widget.Toast.getLooper(Toast.java:184) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at android.widget.Toast.(Toast.java:169) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at android.widget.Toast.makeText(Toast.java:518) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at android.widget.Toast.makeText(Toast.java:506) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at eu.kanade.tachiyomi.util.system.ToastExtensionsKt.toast(SourceFile:19) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at eu.kanade.tachiyomi.util.system.ToastExtensionsKt.toast$default(SourceFile:4) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at eu.kanade.tachiyomi.ui.player.PlayerActivity$$ExternalSyntheticLambda9.uncaughtException(SourceFile:16) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at org.chromium.base.JavaExceptionReporter.uncaughtException(chromium-TrichromeWebViewGoogle6432.aab-beta-653300242:32) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1073) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(SourceFile:21) 06-18 01:10:50.131 3882 4220 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:63) 06-18 01:10:50.134 3882 4220 E MQSEventManagerDelegate: failed to get MQSService. 06-18 01:10:54.211 3882 8529 E AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-73 06-18 01:10:54.211 3882 8529 E AndroidRuntime: Process: xyz.jmir.tachiyomi.mi, PID: 3882 06-18 01:10:54.211 3882 8529 E AndroidRuntime: java.lang.NullPointerException: Can't toast on a thread that has not called Looper.prepare() 06-18 01:10:54.211 3882 8529 E AndroidRuntime: at com.android.internal.util.Preconditions.checkNotNull(Preconditions.java:167) 06-18 01:10:54.211 3882 8529 E AndroidRuntime: at android.widget.Toast.getLooper(Toast.java:184) 06-18 01:10:54.211 3882 8529 E AndroidRuntime: at android.widget.Toast.(Toast.java:169) 06-18 01:10:54.211 3882 8529 E AndroidRuntime: at android.widget.Toast.makeText(Toast.java:518) 06-18 01:10:54.211 3882 8529 E AndroidRuntime: at android.widget.Toast.makeText(Toast.java:506) 06-18 01:10:54.211 3882 8529 E AndroidRuntime: at eu.kanade.tachiyomi.util.system.ToastExtensionsKt.toast(SourceFile:19) 06-18 01:10:54.211 3882 8529 E AndroidRuntime: at eu.kanade.tachiyomi.util.system.ToastExtensionsKt.toast$default(SourceFile:4) 06-18 01:10:54.211 3882 8529 E AndroidRuntime: at eu.kanade.tachiyomi.ui.player.PlayerActivity$$ExternalSyntheticLambda9.uncaughtException(SourceFile:16) 06-18 01:10:54.211 3882 8529 E AndroidRuntime: at org.chromium.base.JavaExceptionReporter.uncaughtException(chromium-Trich

Aniyomi version

0.15.3.0

Android version

Android 12

Device

Redmi K60E

Other details

No response

Acknowledgements

s1nistr4 commented 1 week ago

https://torrentfreak.com/sony-dmca-notice-nukes-200-aniyomi-extensions-as-tachiyomi-fork-feels-heat-240617/

Basically S*ny DCMAd all the extensions. All we can do is wait for the next brave maintainer to come along, fork the extensions and continue their legacy.