photonixapp / photonix

A modern, web-based photo management server. Run it on your home server and it will let you find the right photo from your collection on any device. Smart filtering is made possible by object recognition, face recognition, location awareness, color analysis and other ML algorithms.
https://photonix.org/
GNU Affero General Public License v3.0
1.85k stars 125 forks source link

GraphQL Error: "invalid literal for int() with base 10: '3.7'" #167

Closed EduFdezSoy closed 3 years ago

EduFdezSoy commented 3 years ago

Error when loading the filters invalid literal for int() with base 10: '3.7' The filters does not load (but looks like the response has them all).

image

damianmoore commented 3 years ago

@EduFdezSoy if I understand correctly then you have an exposure that has a decimal point in it? Something like 1/3.7 seconds. I'll add a fix for this. Guess it's a bad assumption. Thanks for reporting.

EduFdezSoy commented 3 years ago

i dont really know neither know how to check it

Are those values on the db? I can take a look if so

EduFdezSoy commented 3 years ago

This is what I found image

damianmoore commented 3 years ago

Thanks @EduFdezSoy for investigating this. Seems like a sensible value for exposure. We'll get on with fixing this.