GNOME Bugzilla – Bug 792058
Shotwell 0.27.2 does not start on Ubuntu 17.10
Last modified: 2018-01-01 13:01:44 UTC
I'm using the development PPA and installed shotwell 0.27.2 (same issue with 0.27.1) When I run shotwell I get: ~$ shotwell (shotwell:17988): GLib-GObject-WARNING **: cannot register existing type 'SpitModule' (shotwell:17988): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed (shotwell:17988): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed L 17988 2017-12-30 00:37:49 [CRT] Plugins.vala:401: Unable to load module /usr/lib/x86_64-linux-gnu/shotwell/plugins/builtin/libshotwell-publishing-extras.so (SPIT 0): no spit module returned (shotwell:17988): GLib-GObject-WARNING **: cannot register existing type 'SpitModule' (shotwell:17988): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed (shotwell:17988): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed (shotwell:17988): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed (shotwell:17988): GLib-GObject-WARNING **: cannot register existing type 'SpitPublishingAuthenticatorFactory' (shotwell:17988): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed (shotwell:17988): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed (shotwell:17988): GLib-GObject-WARNING **: invalid cast from 'PublishingAuthenticatorFactory' to '<invalid>' And then it just hangs until I ctrl-c it. I tried moving libshotwell-publishing-extras.so out of the way, but it just does the same thing on the next module it tries to load. Here's a backtrace at the point it is hanging:
+ Trace 238305
let me know if you need any more information. I can just switch back to 26.4 for now (which works fine, well except for segfaulting when trying to store files in a webdav location to the sqlite db, but that's probably not something normal people are going to do a lot). Regards Aaron
Hm. 0.27.2 on 17.10 in principal should work. Maybe the meson dpkg stuff is a bit broken. It looks like the plugins are available twice. Can you attach the output of ls /usr/lib/x86_64-linux-gnu/shotwell/plugins/builtin/ Also, please file a ticket for the WEBDAV issue.
Can reproduce it here.
---- $ ls /usr/lib/x86_64-linux-gnu/shotwell/plugins/builtin/ libshotwell-publishing-extras.so libshotwell-publishing.so libshotwell-transitions.so ---- I just did a complete purge of the shotwell PPAs (as I had both stable and unstable installed) and reinstalled. Still the same problem. I'm planning on filing the webdav issue once I check if it still happens in 0.27.2, that was why I initally upgraded, to see if it was still a problem, seeing as some work seems to have been done on gvfs support.
Odd. Only with the binary form the ppa buildserver. works fine with locally built binary
Created attachment 366133 [details] [review] Make internal helper library shared Fixes issue with multiple class registration in ubuntu ppa binaries
Attachment 366133 [details] pushed as f55ead6 - Make internal helper library shared
Rebuild of packages in PPA have been triggered. I hope it will work after that. I cannot reproduce it with binaries build on my laptop, which is weird.
I downloaded the lasted deb (it's hadn't quite made it to "released" yet so apt wasn't seeing it) and it seems to work fine. Thanks for your help! The webdav issue is still happening, but I'll log that separately in the next couple of days. HAPPY NEW YEAR!