You are not logged in.
After upgrading from 2:0.30.17-3 -> 2:0.32.0-1 shotwell doesn't start anymore with my database.
Renaming ~/.local/share/shotwell/ works, downgrading too.
$ shotwell
(shotwell:216618): Gtk-WARNING **: 22:05:01.907: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name
(shotwell:216618): Gtk-WARNING **: 22:05:01.907: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name
** Message: 22:05:01.937: main.vala:440: Starting session with system profile
(shotwell:216618): GLib-GIO-ERROR **: 22:05:02.018: Settings schema 'org.gnome.shotwell.plugins.enable-state' does not contain a key named 'org-gnome-shotwell-publishing-google-photos'
Rilevato trace/breakpoint (core dump creato)
The last error message is only seen with the original database and probably the issue here.
coredump:
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0 0x00007f0c9ed23408 in g_log_structured_array () from /usr/lib/libglib-2.0.so.0
[Current thread is 1 (Thread 0x7f0c9b659a80 (LWP 173629))]
(gdb) where
#0 0x00007f0c9ed23408 in g_log_structured_array () at /usr/lib/libglib-2.0.so.0
#1 0x00007f0c9ed23703 in g_log_default_handler () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0c9ed23975 in g_logv () at /usr/lib/libglib-2.0.so.0
#3 0x00007f0c9ed23c64 in g_log () at /usr/lib/libglib-2.0.so.0
#4 0x00007f0c9ef5a00a in () at /usr/lib/libgio-2.0.so.0
#5 0x00007f0c9ef5f9a9 in g_settings_set_value () at /usr/lib/libgio-2.0.so.0
#6 0x0000564cef97b4c7 in ()
#7 0x0000564cef97b654 in ()
#8 0x0000564cef97b654 in ()
#9 0x0000564cef97e812 in gsettings_configuration_engine_run_gsettings_migrator_v2 ()
#10 0x0000564cef885f72 in db_upgrade_database ()
#11 0x0000564cef886147 in db_verify_database ()
#12 0x0000564cef9914d5 in library_exec ()
#13 0x0000564cef8746bd in main ()
(gdb)
Last edited by steff (2023-05-03 20:21:25)
Offline
Signed up here just to answer this for you, since I just did the same annoying dance on Gentoo.
Somehow its failed/failing to import/update the "gsettings" (though yours has a slightly different error to mine), to fix, assuming you're not using "publish to google photos" plugin:
Backup this file: ~/.config/dconf/user
Dump the shotwell parts to text:
dconf dump /org/yorba/shotwell/ > gnome_shotwell.ini
Edit the file and remove the section about org-gnome-shotwell-publishing-google-photos
Remove the old settings from dconf:
dconf reset -f /org/yorba/shotwell/
Load the changed set:
dconf load /org/yorba/shotwell < gnome_shotwell.ini
Start shotwell again (note if you have many photos it takes a while to convert the 0.30 database!)
Offline
Thanks for the answer, @castaway! I just registered just to make one small correction that might be obvious to those who are regulars with dconf but it took me a minute to figure out: the last command that imports the changed text file is missing a / at the end of the path. So it should be:
dconf load /org/yorba/shotwell/ < gnome_shotwell.ini
Hope this helps someone else too.
Offline