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

App Backup Restore issue #7020

Open
3 tasks done
nightznero opened this issue Jan 25, 2025 · 0 comments
Open
3 tasks done

App Backup Restore issue #7020

nightznero opened this issue Jan 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@nightznero
Copy link

Steps to reproduce

Im trying to backup my app settings before i deleted LT on December. Its got updates so i wanted to test ut back if is usable or not. But after install and trying to restore i got that msg;
java.lang.SecurityException: com.samsung.android.providers.media has no access to content://media/external_primary/file/1001645215 at android.os.Parcel.createExceptionOrNull(Parcel.java:3023) at android.os.Parcel.createException(Parcel.java:3007) at android.os.Parcel.readException(Parcel.java:2990) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190) at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:153) at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:780) at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:2034) at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1849) at android.content.ContentResolver.openInputStream(ContentResolver.java:1525) at com.github.libretube.helpers.BackupHelper.restoreAdvancedBackup(SourceFile:179) at com.github.libretube.ui.preferences.BackupRestoreSettings$getBackupFile$1$1.invokeSuspend(SourceFile:49) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:113) at androidx.work.impl.WorkerWrapper$1.run(SourceFile:15) at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:3) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:96) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@3906b93, Dispatchers.IO]
Media have all privileges and works fine,but LT doesn't ask for permission to read data,its may be the issue?

Expected behavior

Properly restore settings

Actual behavior

Shows error that Media (Samsung) app cannot read the file

LibreTube version

0.27.0

Android version

A13 OneUI 5.1

Other details

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.
@nightznero nightznero added the bug Something isn't working label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant