deckerst / aves

Aves is a gallery and metadata explorer app, built for Android with Flutter.
BSD 3-Clause "New" or "Revised" License
2.77k stars 106 forks source link

Cataloguing does not continue on Pixel 8 Android 14 #1222

Closed SlimyMonz closed 1 month ago

SlimyMonz commented 1 month ago

Describe the bug Cataloguing does not continue. The notification gets stuck at the same number and never progresses. In-app info reflects the issue by never updating the "Places" navigation albums.

To Reproduce Steps to reproduce the behavior:

  1. Open app (fresh, not while it's in the background)
  2. Wait for cataloguing to start.
  3. Check notification. It stop at a number.
  4. Tap "stop" in the notification
  5. Close app completely (multitasker close)
  6. Repeat steps. Cataloguing will always stop at the same number.

Expected behavior Cataloguing to properly continue until complete.

System information and logs: Package: deckers.thibault.aves Installer: com.android.vending Aves version: 1.11.13-play, build 132 Flutter: stable 3.24.3 Android version: 14, API 34 Android build: AP2A.240905.003 Device: Google Pixel 8 Support: dynamic colors=true, geocoder=true, HDR=true Mobile services: ready Connectivity: wifi System locales: en_US Storage volumes: /storage/emulated/0/ Storage grants: /storage/emulated/0/Pictures/ Error reporting: true

Log file: aves-logs-20241006_122927.txt

Additional context Very large photo library of ~12000 photos. Managed/synced by MEGA app. Library security limited most home directory folders.

deckerst commented 1 month ago

Could you please try these steps? https://github.com/deckerst/aves/issues/977#issuecomment-2061905514

A collection of 12000 photos is no problem. It might take some time to do the initial cataloguing, but it shouldn't be stuck. And later on, you can expect a loading time of ~1 second for your collection when launching the app.

SlimyMonz commented 1 month ago

I attempted to install the app and perform another scan. For some reason, the debug app never starts a scan and opening the debug menu does not prompt to save a log file. I manually saved a log file in the about menu from the debug app in case it may help.

aves-logs-20241006_173452.txt

deckerst commented 1 month ago

Thanks for following up. The debug build linked in the comment was made a long time ago, I should review and make another one for you. I'll come back to you when it's ready.

SlimyMonz commented 1 month ago

Disregard, I reinstalled the app and manually enabled notifications and the scan notification shows. I also found another method to access the debug menu by long-pressing the app icon, which allows for saving a log file. I'll return with more info when it's done scanning.

SlimyMonz commented 1 month ago

From log file, the last image directory:

Years/Clermont/2023-07-28 22.18.07.jpeg

Image: 2023-07-28 22 18 07

deckerst commented 1 month ago

Thanks, I can reproduce the issue on my device with the sample!

deckerst commented 1 month ago

FYI, cataloguing apparently trips on some HDR images from the iPhone (like the sample you provided).

SlimyMonz commented 1 month ago

Thank you! Appreciate it a lot.