cloudstream icon indicating copy to clipboard operation
cloudstream copied to clipboard

All search items disappear after leaving app and returning after awhile

Open Luna712 opened this issue 1 month ago • 0 comments

Steps to reproduce

  1. Search something
  2. Leave the app for awhile
  3. Return to the app and research it

Expected behavior

The search should function

Actual behavior

No items shown from any provider anymore

Cloudstream version and commit hash

4.6.1 2ac0698

Android version

Android 16

Logcat

11-30 16:19:45.164 18668 18865 D ApiError: -------------------------------------------------------------------
11-30 16:19:45.164 18668 18865 D ApiError: safeApiCall: null
11-30 16:19:45.164 18668 18865 D ApiError: safeApiCall: null
11-30 16:19:45.164 18668 18865 W System.err: com.lagradost.cloudstream3.ErrorLoadingException
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.ui.APIRepository$search$2$1.invokeSuspend(APIRepository.kt:128)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.ui.APIRepository$search$2$1.invoke(Unknown Source:8)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.ui.APIRepository$search$2$1.invoke(Unknown Source:4)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:50)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:149)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.TimeoutKt.withTimeout(Timeout.kt:44)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.ui.APIRepository$search$2.invokeSuspend(APIRepository.kt:126)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.ui.APIRepository$search$2.invoke(Unknown Source:8)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.ui.APIRepository$search$2.invoke(Unknown Source:2)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.mvvm.ArchComponentExtKt$safeApiCall$2.invokeSuspend(ArchComponentExt.kt:240)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.mvvm.ArchComponentExtKt$safeApiCall$2.invoke(Unknown Source:8)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.mvvm.ArchComponentExtKt$safeApiCall$2.invoke(Unknown Source:4)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.mvvm.ArchComponentExtKt.safeApiCall(ArchComponentExt.kt:238)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.ui.APIRepository.search(APIRepository.kt:125)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.ui.search.SearchViewModel$search$1$1$2.invokeSuspend(SearchViewModel.kt:200)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.ui.search.SearchViewModel$search$1$1$2.invoke(Unknown Source:8)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.ui.search.SearchViewModel$search$1$1$2.invoke(Unknown Source:4)
11-30 16:19:45.164 18668 18865 W System.err: 	at com.lagradost.cloudstream3.ParCollectionsKt$amap$4$1$1.invokeSuspend(ParCollections.kt:39)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
11-30 16:19:45.164 18668 18865 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
11-30 16:19:45.164 18668 18865 D ApiError: ------------------------------------------------------------------- fd=200
11-30 16:19:46.095 18668 18741 D ApiError: -------------------------------------------------------------------
11-30 16:19:46.095 18668 18741 D ApiError: safeApiCall: null
11-30 16:19:46.095 18668 18741 D ApiError: safeApiCall: null
11-30 16:19:46.095 18668 18741 W System.err: com.lagradost.cloudstream3.ErrorLoadingException
11-30 16:19:46.095 18668 18741 W System.err: 	at com.lagradost.cloudstream3.ui.APIRepository$search$2$1.invokeSuspend(APIRepository.kt:128)
11-30 16:19:46.095 18668 18741 W System.err: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
11-30 16:19:46.095 18668 18741 W System.err: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
11-30 16:19:46.095 18668 18741 W System.err: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
11-30 16:19:46.095 18668 18741 W System.err: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
11-30 16:19:46.095 18668 18741 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
11-30 16:19:46.095 18668 18741 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
11-30 16:19:46.095 18668 18741 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
11-30 16:19:46.095 18668 18741 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
11-30 16:19:46.095 18668 18741 D ApiError: -------------------------------------------------------------------

Other details

I only attached the relevant logcat here.

Acknowledgements

  • [x] I am sure my issue is related to the app and NOT some extension.
  • [x] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • [x] I have written a short but informative title.
  • [x] I have updated the app to pre-release version Latest.
  • [x] I will fill out all of the requested information in this form.

Luna712 avatar Nov 30 '25 23:11 Luna712