GithubHelp home page GithubHelp logo

Comments (5)

Radiokot avatar Radiokot commented on July 17, 2024

Hi Geert.
First, thank you so much for the detailed report for the app that haven't ever worked properly for you.
I think I have a clue regarding the crash, but still looks weird. It looks like the first and the fifth newest "photos" in your gallery has the same hash, which I haven't ever faced. How do they look in the web version? The default search query used by the app is "order:newest public:true"

from photoprism-android-client.

Biert85 avatar Biert85 commented on July 17, 2024

Hi Oleg, thank you for the quick response.

The first and 5th item are completely different (one a picture of my cat, the other a concert photo). The hashes are different, too.

My Photoprism server debug output suggests the app requests image 0-49 and 50-99, so I used a script to compare all hashes of those responses, and there are no collisions.

Photoprism server debug output

photoprism_1  | time="2023-04-26T13:21:44Z" level=debug msg="photos: found 1 result for public:true dist:20 count:1 order:newest merged:true [8.658602ms]"                                                                                                                                  
photoprism_1  | time="2023-04-26T13:21:44Z" level=debug msg="server: GET /photoprism/api/v1/photos?count=1&offset=0&merged=true&order=newest&public=true (200) [41.416187ms]"                                                                                                               
photoprism_1  | time="2023-04-26T13:21:44Z" level=debug msg="photos: found 50 results for public:true dist:20 count:50 order:newest merged:true [66.177592ms]"                                                                                                                              
photoprism_1  | time="2023-04-26T13:21:44Z" level=debug msg="photos: found 1 result for public:true dist:20 count:1 order:oldest merged:true [129.576452ms]"                                                                                                                                
photoprism_1  | time="2023-04-26T13:21:44Z" level=debug msg="server: GET /photoprism/api/v1/photos?count=1&offset=0&merged=true&order=oldest&public=true (200) [137.181359ms]"                                                                                                              
photoprism_1  | time="2023-04-26T13:21:44Z" level=debug msg="server: GET /photoprism/api/v1/photos?count=50&offset=0&merged=true&order=newest&public=true (200) [338.519592ms]"                                                                                                             
photoprism_1  | time="2023-04-26T13:21:44Z" level=debug msg="photos: found 50 results for public:true dist:20 count:50 offset:50 order:newest merged:true [41.440774ms]"                                                                                                                    
photoprism_1  | time="2023-04-26T13:21:45Z" level=debug msg="server: GET /photoprism/api/v1/photos?count=50&offset=50&merged=true&order=newest&public=true (200) [283.179378ms]"

from photoprism-android-client.

Radiokot avatar Radiokot commented on July 17, 2024

Thanks for clarification.

Recently I've been fixing some issues with pagination and changed the code related to the issue. Could you please test if this release candidate crashes too?
https://anonfiles.com/WenaBen4z1/ua_com_radiokot_photoprism_1_5_2_rc1_apk

from photoprism-android-client.

Biert85 avatar Biert85 commented on July 17, 2024

The app no longer crashes with this version :) Thank you for the quick fix!

from photoprism-android-client.

Radiokot avatar Radiokot commented on July 17, 2024

Hah, great, hope you'll find the app useful :)

Still, I'm not sure what caused two items with the same identifiers (used to be the hash) to appear in the collection. In this version, I've fixed a bug that caused item duplication, but the catch is that the duped items were visually identical while having different identifiers, which didn't cause crashes.

We'll see. If you'll face other bugs in the gallery, I'm here to investigate.

from photoprism-android-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.