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

Unable to download videos #8021

Open
5 tasks done
Vinesauced opened this issue Mar 12, 2022 · 9 comments
Open
5 tasks done

Unable to download videos #8021

Vinesauced opened this issue Mar 12, 2022 · 9 comments
Labels
bug Issue is related to a bug device/software specific Issues that only happen on some devices or with some specific hardware/software

Comments

@Vinesauced
Copy link

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.22.1

Steps to reproduce the bug

  1. Go to any video
  2. Press download
  3. Press OK

Expected behavior

Expected to download

Actual behavior

An error popups saying "No app on your device can open this" "No appropriate file manager was found for this action. Please install a Storage Access Framework compatible file manager" despite having a file manager with this capability.

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

Android 11

Affected device model

Samsung Galaxy A02s

Additional information

I have installed nearly every file manager on f-droid and tested this error, enabled NewPipe to access files in the permission manager, used a file manager that was recommended here on github (Material Files by Hai Zhang), and the error also occurs when attempting to export subscriptions. I have disabled Samsung's default file manager.

@Vinesauced Vinesauced added the bug Issue is related to a bug label Mar 12, 2022
@litetex litetex changed the title Unable to download/export any content Unable to download videos Mar 13, 2022
@litetex litetex added the device/software specific Issues that only happen on some devices or with some specific hardware/software label Mar 13, 2022
@litetex
Copy link
Member

litetex commented Mar 13, 2022

So as the error states there was not an appropriate file-manager found.

I think if you enable Samsung's default file manager everything should work as expected.

However "Material Files" should work normally - at least what I have heard from other users.

@opusforlife2
Copy link
Collaborator

used a file manager that was recommended here on github (Material Files by Hai Zhang),

Apparently not.

@PORTMANEMMA1

This comment was marked as spam.

@ViperLocust
Copy link

used a file manager that was recommended here on github (Material Files by Hai Zhang),

Apparently not.

yeah same issue here with Material files

@finedust
Copy link

finedust commented Apr 1, 2022

I have the same problem using 21.16 or higher (up to current 22.1), even with Material Files.

I tried reinstalling old 21.15 version and the standard download (no SAF) works smoothly, while enabling SAF gives the following error:

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB
  • Service: none
  • Version: 0.21.5
  • OS: Linux Android 10 - 29
Crash log

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT_TREE flg=0x43 (has extras) }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2064)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1718)
at android.app.Activity.startActivityForResult(Activity.java:5210)
at androidx.fragment.app.FragmentActivity.startActivityForResult(FragmentActivity.java:675)
at androidx.core.app.ActivityCompat.startActivityForResult(ActivityCompat.java:234)
at androidx.fragment.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:795)
at androidx.fragment.app.FragmentActivity$HostCallbacks.onStartActivityFromFragment(FragmentActivity.java:932)
at androidx.fragment.app.Fragment.startActivityForResult(Fragment.java:1278)
at androidx.fragment.app.Fragment.startActivityForResult(Fragment.java:1266)
at org.schabi.newpipe.settings.DownloadSettingsFragment.onPreferenceTreeClick(DownloadSettingsFragment.java:206)
at androidx.preference.Preference.performClick(Preference.java:1192)
at androidx.preference.Preference.performClick(Preference.java:1166)
at androidx.preference.Preference$1.onClick(Preference.java:181)
at android.view.View.performClick(View.java:7260)
at android.view.View.performClickInternal(View.java:7237)
at android.view.View.access$3600(View.java:802)
at android.view.View$PerformClick.run(View.java:27915)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)


@ayoungpilot

This comment was marked as duplicate.

@finedust
Copy link

The issue is still here with 0.23.1.

@litetex, since I'm with Android 10 (CrDroid 6.8) on a Xiaomi Mi A3, this doesn't seem to be device specific. Moreover, it doesn't depend on the file manager.

@litetex
Copy link
Member

litetex commented Jul 24, 2022

The issue is still here with 0.23.1.

This is not app specific, it's a problem that arises because a pre-installed OS component (SAF compatible file manager) is missing.

since I'm with Android 10 (CrDroid 6.8) on a Xiaomi Mi A3

Doesn't look like the default OS to me. Does it have an fully SAF compatible file manager?


However "Material Files" should work normally

I recently found out that Material Files might not be able to save files using SAF (e.g. Export Database is not working). However read operations work fine for me.

@finedust
Copy link

@litetex, since I'm with Android 10 (CrDroid 6.8) on a Xiaomi Mi A3, this doesn't seem to be device specific. Moreover, it doesn't depend on the file manager.

I'm sorry, this was my fault. Nevertheless, it may be useful to clarify what was the problem for me; @Vinesauced, see if this solves the issue for you.

As stated here Material Files it is not a SAF provider, hence if you lack Files (com.android.documentsui) - usually the default file manager - then SAF access won't work.
If you have uninstalled that app, you may want to have a look to #7127. Here is a giude by LineageOS on how to extract the app from their zips and here is a guide on how to install it correctly.

@opusforlife2 opusforlife2 mentioned this issue May 11, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug device/software specific Issues that only happen on some devices or with some specific hardware/software
Projects
None yet
Development

No branches or pull requests

8 participants
@ayoungpilot @finedust @litetex @opusforlife2 @ViperLocust @Vinesauced @PORTMANEMMA1 and others