Bug 349929 - Digikam can't register existing type 'GstObject' on startup
Summary: Digikam can't register existing type 'GstObject' on startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 4.11.0
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-05 15:12 UTC by Cor
Modified: 2017-07-27 10:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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