Bug 111591

Summary: Tag images browser doesn't show any images
Product: [Applications] digikam Reporter: M. Ignacio Monge Garc <ignaciomonge>
Component: Database-AlbumsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, hy
Priority: NOR    
Version: 0.8.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0
Sentry Crash Report:
Attachments: more debug output from kio job result

Description M. Ignacio Monge Garc 2005-08-27 03:19:14 UTC
Version:           0.8.0-beta1 (using KDE 3.4.90 (alpha1, >= 20050806), compiled sources)
Compiler:          gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)
OS:                Linux (i686) release 2.6.13-rc7-ck1

If I pick an image and assign it one tag, Digikam can't display it from the tag image broswser (Date browser works fine).
Comment 1 Renchi Raju 2005-08-27 03:52:58 UTC
are the images in a read only directory tree? Is there a digikam3.db file in the Album library path?
Comment 2 Renchi Raju 2005-08-27 04:01:25 UTC
more questions: How did you assign the tag? Are you sure the tag got properly assigned, i.e does it show up under the thumbnail of the item? Are there error messages on a konsole, if you run digikam from it?
Comment 3 M. Ignacio Monge Garc 2005-08-27 10:35:29 UTC
First question: no. My whole collection is on an USB disk with right read/write permissions.
Second: just I select "assign to a tag (my free translation from my spanish language)", and yes, I can see the new tag below the image. The same tag appears on the "tag browser" (clicking on the tab on the left side of the app window), but none images are inside the tag album.

This is the console output (+debug on the compile flags for more information) after start Digikam, select and assign "Place" tag to an image an then looking for it on the tag browser.

digikam: ScanLib: Finding non-existing Albums: 8 ms
digikam: ScanLib: Finding items not in the database or disk: 1375 ms
digikam: ScanLib: Updating items without date: 5 ms
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Core
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_RainDrop
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_InPainting
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Infrared
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Texture
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Border
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_OilPaint
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_InsertText
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Emboss
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Unsharp
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_HotPixels
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustLevels
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_ShearTool
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Solarize
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_DistortionFX
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_LensDistortion
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_FilmGrain
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_BlowUp
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Restoration
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_SuperImpose
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Refocus
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_WhiteBalance
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_BlurFX
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Despeckle
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AntiVignetting
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustCurves
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_FreeRotation
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Perspective
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_ChannelMixer
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Charcoal
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
unsupported file format.
/mnt/usb/Images/Fotos/Viajes/Egipto/Videos/dscn3295.mov: unsupported file format.
kio_digikamthumbnail: WARNING: Cannot create thumbnail for /mnt/usb/Images/Fotos/Viajes/Egipto/Videos/dscn3295.mov
digikam: Found JPEGLossless plugin
digikam: Found JPEGLossless plugin
digikam: Dirty: /
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
digikam: WARNING: Failed to list url
digikam: WARNING: Failed to list url
Comment 4 Renchi Raju 2005-08-27 12:07:01 UTC
Created attachment 12392 [details]
more debug output from kio job result

Can you apply the following patch and then rebuild digikam? It doesn't do
anything substantial than just trying to find what the exact error was when you
tried to list images from a tag.

Also if it would be possible for you to email me (by private email) the
digikam3.db file in your Album Library Path, it will help in finding the
problem more easily.
Comment 5 M. Ignacio Monge Garc 2005-08-27 12:33:53 UTC
Ok. Applied patch.
Here is the new output:


digikam: ScanLib: Finding non-existing Albums: 39526 ms
digikam: ScanLib: Finding items not in the database or disk: 4751 ms
digikam: ScanLib: Updating items without date: 32 ms
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Core
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_RainDrop
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_InPainting
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Infrared
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Texture
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Border
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_OilPaint
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_InsertText
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Emboss
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Unsharp
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_HotPixels
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustLevels
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_ShearTool
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Solarize
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_DistortionFX
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_LensDistortion
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_FilmGrain
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_BlowUp
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Restoration
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_SuperImpose
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Refocus
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_WhiteBalance
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_BlurFX
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Despeckle
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AntiVignetting
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustCurves
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_FreeRotation
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Perspective
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_ChannelMixer
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Charcoal
digikam: WARNING: Failed to list url: No hay acciones especiales
disponibles para el protocolo kio_digikamtags.
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
unsupported file format.
/mnt/usb/Images/Fotos/Viajes/Egipto/Videos/dscn3295.mov: unsupported
file format.
kio_digikamthumbnail: WARNING: Cannot create thumbnail
for /mnt/usb/Images/Fotos/Viajes/Egipto/Videos/dscn3295.             mov
digikam: WARNING: Failed to list url: No hay acciones especiales
disponibles para el protocolo kio_digikamtags.
digikam: WARNING: Failed to list url: No hay acciones especiales
disponibles para el protocolo kio_digikamtags.
digikam: Found JPEGLossless plugin
digikam: Dirty: /
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
QDate::fromString: Parameter out of range
digikam: WARNING: Failed to list url: No hay acciones especiales
disponibles para el protocolo kio_digikamtags.
digikam: WARNING: Failed to list url: No hay acciones especiales
disponibles para el protocolo kio_digikamtags.
digikam: WARNING: Failed to list url: No hay acciones especiales
disponibles para el protocolo kio_digikamtags.

Free translation of the wARNING: failed to list url: there's no special
actions avaible for kio_digikamtags protocol. I think this must be the
problem, but I don't know exactly why.
Comment 6 Renchi Raju 2005-08-27 12:37:39 UTC
> digikam: WARNING: Failed to list url: No hay acciones especiales
  disponibles para el protocolo kio_digikamtags.

looks like you have digikam 0.7.x also installed at the same time (or digikamtags kioslave from a previous 0.7.x installation left behind). Your 0.8 installation of digikam is calling the 0.7.x version of digikamtags kioslave which is causing the breakage.
Comment 7 M. Ignacio Monge Garc 2005-08-27 12:44:26 UTC
You're right. I've found old libs on /usr/lib/kde3 instead /usr/kde/3.4/lib (gentoo default). After removing them, all seems to be fine now.
Sorry for any inconvenience. It was my fault. I have to be more careful.
Thanks.
Comment 8 caulier.gilles 2017-07-15 22:00:12 UTC
Problem not reproducible since digiKam 5.0.0 as all KIO slave have been
replaced by a multithreaded interface to query the database.