SmilyOrg / photofield

Experimental fast photo viewer.
MIT License
398 stars 7 forks source link

Vacuum panics with "SQL logic error: no such column:" #106

Open SmilyOrg opened 4 months ago

SmilyOrg commented 4 months ago

Found another bug with db vacuum:


.\photofield.exe -vacuum
photofield 0.15.0
config path configuration.yaml
geo using file:data/geo/geoBoundariesCGAZ_ADM2_s5_twkb_p3.gpkg?vfs=vfs1&mode=ro
cache database version 13, migrating if needed
ffmpeg found at C:\Program Files\ffmpeg\ffmpeg.exe
thumbs database version 1, migrating if needed
extensions .jpg, .jpeg, .png, .avif, .bmp, .pam, .ppm, .jxl, .exr, .cr2, .dng, .mp4
20 collections
panic: sqlite: step: SQL logic error: no such column:

goroutine 1 [running]: main.main() /home/runner/work/photofield/photofield/main.go:1373 +0x183e



_Originally posted by @evrial in https://github.com/SmilyOrg/photofield/issues/100#issuecomment-1963014659_