TheLastGimbus / GooglePhotosTakeoutHelper

Script that organizes the Google Takeout archive into one big chronological folder
https://aur.archlinux.org/packages/gpth-bin
Apache License 2.0
3.48k stars 176 forks source link

Unsupported operation: Infinity or NaN toInt #216

Closed kapitanluffy closed 9 months ago

kapitanluffy commented 1 year ago

I have successfully run the app on my Takeout folder but it said it didn't process some files os I ran it again and I got the error.

Here's a screenshot

gpth-error

TheLastGimbus commented 1 year ago

hi!

damn, i really don't know what this is about, i will try to look into it in some free time

kapitanluffy commented 1 year ago

No worries. It seems to be about the "fill bar". Take your time :)

TheLastGimbus commented 9 months ago

Hi! Sorry this took so long :DDDDDDDDDD

So, I honestly don't have a good idea what's happening, but...

I see that "guessing dates from files" bar didn't even complete... which means there must be a bug with images count?? or somehing?

and then the other bar crashes, saying that it got infinity or nan... the code that would do that:

https://github.com/TheLastGimbus/GooglePhotosTakeoutHelper/blob/f42822dacd0ff94d7578b711f4aad0bf6822142c/lib/utils.dart#L106-L116

...doesn't seem like it should give a NaN 0_o

could you test your takeout with the newest release? maybe it will magically work??

I would really like to find the issue here :eyes:

kapitanluffy commented 1 month ago

Hey, totally forgot about this issue. I did another takeout today and remembered this tool. It's working great!

Thank you so much for this <3

image

TheLastGimbus commented 1 month ago

Happy it works then!!