Bug 185494 - No images in digiKam, possibly database problem, however they look fine in showfoto
Summary: No images in digiKam, possibly database problem, however they look fine in sh...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 0.10.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 05:51 UTC by manuel fernández
Modified: 2017-07-25 19:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description manuel fernández 2009-02-25 05:51:36 UTC
Version:           0.10.0-rc2 (using 4.2.00 (KDE 4.2.0), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.27-12-generic

The program remains open but with no images.
Used tools->Rebuild all thumbnails (worked hard and finished) still no images
Used tools->Rebuild all fingerprints (worked hard and finished) still no images
Used tools->Synchronize All images with Database (hangs and performs nothing, percentage remains in 0% parsing all albums
Comment 1 caulier.gilles 2009-02-25 05:55:07 UTC
Please, start digikam from the console and report here all messages printed.

Note: You cannot compare digiKam and showfoto.

Are you used a precompiled package or compiled source code yourself ?

Gilles Caulier
Comment 2 caulier.gilles 2009-02-25 06:12:36 UTC
Manuel, please post your comment in bugzilla, not in mailinglist:

//-----------------------------------------------------------------

I complied the source code.

Here is terminal output:

mfg@jtakel:~$ digikam
digikam(30543) Phonon::KdePlatformPlugin::createBackend: using backend:  "Xine"
Starting to load Plugins.
Files:  "CompassFloatItem.so"
Files:  "MapScaleFloatItem.so"
Files:  "MarbleCrosshairsPlugin.so"
Files:  "MarbleGeoDataPlugin.so"
Files:  "MarbleOverviewMap.so"
Files:  "MarbleStarsPlugin.so"
Files:  "NavigationFloatItem.so"
=== MarbleDirs: ===
Local Path: "/home/mfg/.marble/data"
Plugin Local Path: "/home/mfg/.marble/plugins"

Marble Data Path (Run Time) : ""
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data"

Marble Plugin Path (Run Time) : ""
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"

System Path: "/usr/share/kde4/apps/marble/data"
Plugin System Path: "/usr/lib/kde4/plugins/marble"
===================
"CompassFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/CompassFloatItem.so"
"MapScaleFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so"
"MarbleCrosshairsPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleCrosshairsPlugin.so"
"MarbleGeoDataPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleGeoDataPlugin.so"
"MarbleOverviewMap.so"  -  "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so"
"MarbleStarsPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so"
"NavigationFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/NavigationFloatItem.so"
Time elapsed: 102 ms
Use workaround:  0
loadMapTheme "earth/citylights/citylights.dgml"
loadMapTheme "earth/bluemarble/bluemarble.dgml"
MapThemeId "earth/srtm/srtm.dgml"
loadMapTheme "earth/srtm/srtm.dgml"
DGML2 Name       :  "Atlas"
adding container: "cityplacemarks.kml" false
adding container: "baseplacemarks.kml" false
starting parser for "cityplacemarks"
starting parser for "baseplacemarks"
adding container: "elevplacemarks.kml" false
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache"
Loading ended true
starting parser for "elevplacemarks"
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache"
adding container: "otherplacemarks.kml" false
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache"
starting parser for "otherplacemarks"
adding container: "boundaryplacemarks" true
Loading ended true
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache"
Loading ended true
starting parser for "boundaryplacemarks"
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache"
Loading ended true
TextureColorizer: Time elapsed: 62 ms
THEME CHANGED: *** "earth/srtm/srtm.dgml"
SunLocator::setBody( QString )
Loading ended true
Starting to load Plugins.
Files:  "CompassFloatItem.so"
Files:  "MapScaleFloatItem.so"
Files:  "MarbleCrosshairsPlugin.so"
Files:  "MarbleGeoDataPlugin.so"
Files:  "MarbleOverviewMap.so"
Files:  "MarbleStarsPlugin.so"
Files:  "NavigationFloatItem.so"
=== MarbleDirs: ===
Local Path: "/home/mfg/.marble/data"
Plugin Local Path: "/home/mfg/.marble/plugins"

Marble Data Path (Run Time) : ""
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data"

Marble Plugin Path (Run Time) : ""
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"

System Path: "/usr/share/kde4/apps/marble/data"
Plugin System Path: "/usr/lib/kde4/plugins/marble"
===================
"CompassFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/CompassFloatItem.so"
"MapScaleFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so"
"MarbleCrosshairsPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleCrosshairsPlugin.so"
"MarbleGeoDataPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleGeoDataPlugin.so"
"MarbleOverviewMap.so"  -  "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so"
"MarbleStarsPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so"
"NavigationFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/NavigationFloatItem.so"
Time elapsed: 37 ms
Use workaround:  0
loadMapTheme "earth/citylights/citylights.dgml"
loadMapTheme "earth/bluemarble/bluemarble.dgml"
MapThemeId "earth/srtm/srtm.dgml"
loadMapTheme "earth/srtm/srtm.dgml"
DGML2 Name       :  "Atlas"
adding container: "cityplacemarks.kml" false
adding container: "baseplacemarks.kml" false
starting parser for "cityplacemarks"
starting parser for "baseplacemarks"
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache"
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache"
Loading ended true
adding container: "elevplacemarks.kml" false
starting parser for "elevplacemarks"
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache"
Loading ended true
adding container: "otherplacemarks.kml" false
starting parser for "otherplacemarks"
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache"
Loading ended true
adding container: "boundaryplacemarks" true
starting parser for "boundaryplacemarks"
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache"
Loading ended true
THEME CHANGED: *** "earth/srtm/srtm.dgml"
SunLocator::setBody( QString )
Loading ended true
Style reset requested.
Style reset requested.
Style reset requested.
Style reset requested.
start generate indexes
generated indexes
MarblePlacemarkModel (generateIndex): Time elapsed: 557 ms
Style reset requested.
Style reset requested.
Style reset requested.
Style reset requested.
Style reset requested.
Style reset requested.
start generate indexes
generated indexes
MarblePlacemarkModel (generateIndex): Time elapsed: 716 ms
Style reset requested.
Style reset requested.
timeChanged
void SunLocator::update()
timeChanged
void SunLocator::update()
digikam(30543): Attempt to use QAction "camera_solid" with KXMLGUIFactory!
digikam(30543): Attempt to use QAction "usb_media" with KXMLGUIFactory!
digikam(30543): Attempt to use QAction "card_reader" with KXMLGUIFactory!
digikam(30543): Attempt to use QAction "camera_addedmanually" with KXMLGUIFactory!
digikam(30543): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'digikamalbums'.
"
digikam(30543): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'digikamtags'.
"
digikam(30543): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'digikamdates'.
"
digikam(30543): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'digikamalbums'.
"
digikam(30543) KTipDatabase::Private::addTips: KTipDatabase::addTips: can't find ' "kipi/tips" ' in
standard dirs
digikam(30543): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'digikamalbums'.
"
//-----------------------------------------------------------------

This is the problem :

>digikam(30543): couldn't create slave: "Unable to create io-slave:
>klauncher said: Unknown protocol 'digikamalbums'.

digiKam kioslave are not copied at the right place on your system. sound like a package problem.

Gilles Caulier
Comment 3 Arnd Baecker 2009-02-25 08:00:12 UTC
Concerning:

>digikam(30543): couldn't create slave: "Unable to create io-slave:
>klauncher said: Unknown protocol 'digikamalbums'.

as this seems to happen rather frequently, I was about to suggest
that digikam should just stop with this error message
(maybe with a brief explanation). However, this would mean that
people which did not start digikam from the konsole won't see anything.
So maybe a message box should be displayed (as well) and then digikam 
should stop?

Best, Arnd
Comment 4 Marcel Wiesweg 2009-02-25 16:50:08 UTC
The message comes from the KIO framework. It's not transparent from digikam. We could try if the error message from the KJob provides something useful.

Yes, this is annoying for users, but in the end it is a 100% downstream (may we say kubuntu?) packaging problem
Comment 5 manuel fernández 2009-03-06 05:06:53 UTC
I installed kdepim-dev which in turn installed a few other programmes.
The I compiled Digikam 0.10.0-rc2 again and it works well.

Also used cmake with option
cmake . -DCMAKE_INSTALL_PREFIX=/usr
and did the same when compiling kipi-plugins so that they are found by other programs like gwenview

I would suggest putting libkdepimlibs as required rather than optional
Comment 6 caulier.gilles 2017-07-25 19:18:25 UTC
This problem is relevant of digiKam KIO Slaves and all of these have been dropped in favor of a multi-threaded interface to query the database.