Bug 177333

Summary: digikam can't find images in album
Product: [Applications] digikam Reporter: Nikita Bige <big-nikita>
Component: Database-AlbumsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0
Attachments: example of error
tag view
console output

Description Nikita Bige 2008-12-09 20:38:56 UTC
Version:           0.10.0-beta7 (rev.: 894976) (using 4.1.80 (KDE 4.1.80 (KDE 4.2 Beta1)), 4.1.80-5.fc10 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.5-117.fc10.i686

I've upgrade digikam to current version from svn (r894976)
And Digikam can't find images in albums
Comment 1 Nikita Bige 2008-12-09 20:42:37 UTC
Created attachment 29190 [details]
example of error 

There are photos in all folders, but digikam don't think so
Comment 2 Andi Clemens 2008-12-09 20:43:50 UTC
Try to click on the Tag tab and then Album again, it should work. We still haven't figured out why this is happening.
If this doesn't work, give us your console output.

Andi
Comment 3 Nikita Bige 2008-12-09 20:50:30 UTC
It didn't help
see screen shot
Comment 4 Nikita Bige 2008-12-09 20:52:00 UTC
Created attachment 29191 [details]
tag view

tag view
Comment 5 Nikita Bige 2008-12-09 21:00:55 UTC
Created attachment 29192 [details]
console output
Comment 6 Andi Clemens 2008-12-09 21:17:49 UTC
Have you installed a prebuild package or did you compile digiKam yourself? It seems to be a packaging error, your installation can't find the kioslaves that are needed to display the thumbs.

Andi
Comment 7 Marcel Wiesweg 2008-12-09 21:19:56 UTC
This is a problem with your installation. The ioslaves cannot be loaded (and all other plugins neither).
See the error messages in your console output.

digikam(22678): couldn't create slave: "Unable to create io-slave:                                                                                    
klauncher said: Error loading 'kio_digikamalbums'.                                                                                                    
Comment 8 Nikita Bige 2008-12-09 21:27:22 UTC
I've created digikam rpm package from fedora rpm digikam-0.10.0-0.8.beta6.fc10.1
# rpm -ql  digikam |grep kio_digikamalbums
/usr/lib/kde4/kio_digikamalbums.so

# ll /usr/lib/kde4/kio_digikamalbums.so
-rwxr-xr-x 1 root root 40920 Dec  9 21:54 /usr/lib/kde4/kio_digikamalbums.so
Comment 9 Andi Clemens 2008-12-09 21:30:22 UTC
Hmm stupid question: Have you restarted your KDE4 desktop?
Maybe the slaves need to be reloaded again?
Comment 10 Nikita Bige 2008-12-09 21:38:26 UTC
I've restart KDE4 desktop, nothing changed.
Comment 11 Mikolaj Machowski 2008-12-09 22:01:02 UTC
Try to execute some searches you know will be positive - it helped me once.
Do it by quick filter, simple search, advanced search.
Comment 12 Nikita Bige 2008-12-09 22:36:01 UTC
Quick search -> A Fatal Error Occurred
This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

--------
console:

digikam(24843): couldn't create slave: "Unable to create io-slave:
klauncher said: Error loading 'kio_digikamsearch'.
"
digikam(24843)/digikam (core) Digikam::AlbumLister::slotResult: Failed to list url:  "Could not start process Unable to create io-slave:
klauncher said: Error loading 'kio_digikamsearch'.


Comment 13 Nikita Bige 2008-12-10 12:23:17 UTC
It seems to me that problem in kde-4.1.80 not in digikam 
I downgraded to digikam-0.10.0-0.8.beta6.fc10.1.i386 and the problem is still here.
Comment 14 Nikita Bige 2008-12-10 13:02:01 UTC
Sorry 
The problem is solved by removing 
export KDEDIRS=/home/nikita/programs/digikam:/usr
from bash_profile

It was my mistake 
Comment 15 caulier.gilles 2017-07-22 21:44:50 UTC
This problem is fixed since 5.0.0 as all KIO slaves is digiKam have been removed in favor of a multi-threaded interface to query the database.