Shotwell crashes on library scan/update
Mandatory: Shotwell version the issue was seen with
30.8
The expected behaviour
Shotwell should open normally
What was actually happening
Shotwell opens, attempts to scan/update library and crashes:
(shotwell:8168): GLib-GObject-WARNING **: 16:58:27.178: invalid cast from 'EventsEventEntry' to 'EventsYearDirectoryEntry'
L 8168 2020-06-07 16:58:27 [CRT] events_year_directory_entry_get_year: assertion 'EVENTS_IS_YEAR_DIRECTORY_ENTRY (self)' failed
(shotwell:8168): GLib-GObject-WARNING **: 16:58:27.178: invalid cast from 'EventsEventEntry' to 'EventsYearDirectoryEntry'
L 8168 2020-06-07 16:58:27 [CRT] events_year_directory_entry_get_year: assertion 'EVENTS_IS_YEAR_DIRECTORY_ENTRY (self)' failed
**
ERROR:src/25a6634@@shotwell@exe/events/EventsBranch.c:1400:events_branch_event_year_comparator: assertion failed: (result != 0)
Bail out! ERROR:src/25a6634@@shotwell@exe/events/EventsBranch.c:1400:events_branch_event_year_comparator: assertion failed: (result != 0)
Aborted (core dumped)
Steps to reproduce the issue
Prior to this I had deleted some photos from the file system directly, expecting the to show up in Missing Files in Shotwell. Restoring the photos fixed the issue.
Edited by baarkerlounger