Bug 349929

Summary: Digikam can't register existing type 'GstObject' on startup
Product: [Applications] digikam Reporter: Cor <kde>
Component: Preview-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 4.11.0   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0

Description Cor 2015-07-05 15:12:21 UTC
If I start digikam, the application doesn't get past the splash-screen. If I run the application from command line I get this:

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
digikam(3468)/digikam (core) Digikam::CollectionScanner::scanAlbum: Folder does not exist or is not readable:  "/home/cpt/large/Pictures/lost+found" 

(digikam:3468): GLib-GObject-WARNING **: cannot register existing type `GstObject'

(digikam:3468): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(digikam:3468): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(digikam:3468): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(digikam:3468): GLib-GObject-CRITICAL **: g_object_newv: assertion `G_TYPE_IS_OBJECT (object_type)' failed


Reproducible: Always

Steps to Reproduce:
1. call 'digikam'  on commandline
2. press Enter
3.

Actual Results:  
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
digikam(3468)/digikam (core) Digikam::CollectionScanner::scanAlbum: Folder does not exist or is not readable:  "/home/cpt/large/Pictures/lost+found" 

(digikam:3468): GLib-GObject-WARNING **: cannot register existing type `GstObject'

(digikam:3468): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(digikam:3468): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(digikam:3468): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(digikam:3468): GLib-GObject-CRITICAL **: g_object_newv: assertion `G_TYPE_IS_OBJECT (object_type)' failed


Expected Results:  
As started application with menus etc.
Comment 1 caulier.gilles 2015-07-05 15:27:39 UTC
Not relevant of digiKam digiKAm do not use Glib as well. It's a Qt application. This is probably a sub component from your system, as Phonon or GStreamer.

Gilles Caulier
Comment 2 caulier.gilles 2016-12-24 10:20:30 UTC
digiKam 5.4.0 bundles will use QtAV framework instead Qt5Multimedia to thumb
and play video/audio. The Slideshow tool will also support video as well.

QtAV use ffmpeg codecs. It's multi-platform and will always available in
OSX, Windows and Linux bundles that digiKam team provide.

For Linux packagers, you will need to turn on video support at compilation time
and solve QtAV dependencies...

See screenshots here :

https://www.flickr.com/photos/digikam/30886133553
https://www.flickr.com/photos/digikam/31679362466
https://www.flickr.com/photos/digikam/31572654722
https://www.flickr.com/photos/digikam/31726086736

Bundles have been recompiled are posted to GDrive for testing :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM