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 attachments on Android 10, Librus. #185

Open
gmalinowski opened this issue Oct 26, 2023 · 5 comments
Open

Unable to download attachments on Android 10, Librus. #185

gmalinowski opened this issue Oct 26, 2023 · 5 comments

Comments

@gmalinowski
Copy link

While trying to download the attachment from inbox messages, the following error is occurring:

Kod błędu: 50 (on LibrusSandboxDownloadAttachment) /storage/emulated/0/Download/Szkolny.eu/FILE_NAME:
open failed: ENOENT (No such file or directory)
@kuba2k2
Copy link
Member

kuba2k2 commented Oct 26, 2023

Does the filename contain any special characters? Does the mentioned directory (not the file, the parent directory) exist?

@gmalinowski
Copy link
Author

There are several attachments I think all without special characters like '03.mp3', none of them work. I forgot to add the error title which is Błąd odpowiedzi serwera. Dziennik może być przeciążony lub mieć przerwę techniczną.

And yes, I tried to create the parent directory, it didn't help but the err msg has changed.

signal-2023-10-26-141849

signal-2023-10-26-141832

@kuba2k2
Copy link
Member

kuba2k2 commented Oct 26, 2023

Well, then, did you grant storage permissions to the app? Are you using the latest version?

The error title is a generic one, happens for all kinds of exceptions.

@gmalinowski
Copy link
Author

Yes, I've the latest version (4.13.6) and of course, I granted the required permissions.

@gmalinowski
Copy link
Author

gmalinowski commented Oct 26, 2023

Wow I've solved the problem, kinda. I don't know much about android apps but this is wired. Actually, it has logic in it, the app cannot fetch data from external sources, i guess.

In the advanced settings in app info, it requires to grant permissions to "Install unknown apps" / "Allow from this source". The app was installed from the apk not from the google play. Like on the screenshot below.

signal-2023-10-26-144215

Right now, it's downloading the files, but it's still throwing an error:
signal-2023-10-26-144246

After the app restarts everything seems to work just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants