Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Saving all media saves only a portion of them and results an error

Open steelowheel opened this issue 1 year ago • 9 comments

  • [x] I have searched open and closed issues for duplicates
  • [x] I am submitting a bug report for existing functionality that does not work as intended
  • [x] I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
  • [x] This isn't a feature request or a discussion topic

Bug description

I’m trying to save thousands of media files from years of chatting, but it seems only a portion of files will be saved and the operation will end with an error message: "Error while saving attachements to storage!"

Longer decription

I open the Chat view and open one of my friends. Then I select "All media" from the three-dot menu. I go to "All", long press one thumb to select it and then hit "Select all".

In this case, 10940 files (9.1 GB) are now selected. I have 35 GB of free space in my phone, so there’s enough space. Then I hit "Save" and it says "Saving 10940 attachements to storage..."

After a while the operation ends with an error message "Error while saving attachements to storage!". I open my file browser and see that there’s new files in three folders: Pictures, Music, and Movies. It seems that altogether only 4852 files were saved. I deleted the saved files and tried it again few times, but every time I got the same error after a while of waiting.

About the "I have searched open and closed issues for duplicates", there's been similar, but they haven't included what the error message says, or not included error log.

Steps to reproduce

  • Open the Chat view of Signal app
  • Open one of the friends on the list
  • Select "All media" from the three-dot menu
  • Select "All", then long press one thumb to select it and hit "Select all"
  • All should be now selected, then hit "Save"

Actual result: After a while I get "Error while saving attachements to storage!" and find that only a portion of the files have been saved. Expected result: A message "Media saved", and all files saved.

Device info

Device: OnePlus 7T (HD1903) Android version: 10 Signal version: 6.41.3

(Edit: I accidentally typed "6.14.3" earlier, sorry about that. Corrected the version info to 6.41.3 just now)

Link to debug log

https://debuglogs.org/android/6.41.3/489db31909652e0d781841eef3414d5da46b66d62759ac42e622c2046a5f91b8

steelowheel avatar Dec 15 '23 17:12 steelowheel

It looks to be a duplicated issue of mine: https://github.com/signalapp/Signal-Android/issues/13250#issuecomment-1808395885

vince-from-nice avatar Dec 26 '23 19:12 vince-from-nice

Possibly also the same as this one that was closed by the Stale bot: #13061

janvlug avatar Dec 26 '23 19:12 janvlug

I updated to 6.43.2 today and tested how saving media files worked this time. The result was the same: saving ended up with an error and only less than half of the selected media files were saved. Debug log here:

https://debuglogs.org/android/6.43.2/e8dc928b94850449cd19114cf17c0eabca6146e34c0e265a3f8cfc9ca6a5e02c

steelowheel avatar Jan 12 '24 15:01 steelowheel

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 13 '24 07:03 stale[bot]

See also the already incorrectly by stale bot closed issue: #13061.

janvlug avatar Mar 13 '24 08:03 janvlug

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 16 '24 23:05 stale[bot]

The issue persists.

steelowheel avatar May 17 '24 19:05 steelowheel

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 18 '24 21:07 stale[bot]

it looks that something has changed with recent releases...

vince-from-nice avatar Jul 19 '24 22:07 vince-from-nice