Bug 112766 - can't import photo because digikamalbums:// died
Summary: can't import photo because digikamalbums:// died
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-16 23:39 UTC by nicolas Mahoudeaux
Modified: 2017-07-23 20:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments
Here is a photo that reproduce the bug (917.02 KB, image/jpeg)
2005-09-17 08:17 UTC, nicolas Mahoudeaux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nicolas Mahoudeaux 2005-09-16 23:39:22 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 3.4.4  (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
OS:                Linux

When I try to import some photos (store on a local drive), I have this error message :

"The process for the digikamalbums:// protocol died unexpectedly"

And the pictures is not imported (not visible in the gui) but seems to be inserted into the DB.
The problem seems to come from EXIF infos because pictures without EXIF infos are inserted well.
For info, the camera used to get the photo was a nikkon coolpix 5200 (I can provide a photo for test :) ).



-> this is the output from console :

digikam: digikamalbums:///multimedia/Photos@%20/Vacances/Bretagne
digikam:
kio (KDirLister): -KDirLister
kio (KDirLister): [virtual void KDirLister::stop()]
kio (KDirListerCache): [void KDirListerCache::stop(KDirLister*)] lister: 0x81c4e78
kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*)] 0x81c4e78
kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*, const KURL&, bool)] 0x81c4e78 _url: file:///multimedia/photos repository/ok_Bretagne/Nous 20050821
kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*, const KURL&, bool)] 0x81c4e78 item moved into cache: file:///multimedia/photos repository/ok_Bretagne/Nous 20050821
kio (KIOJob): stat digikamalbums:///multimedia/Photos@%20/Vacances/Bretagne
kio (KIOJob): stat file:///multimedia/photos repository/ok_Bretagne/Nous 20050821/dscn0785.jpg
kio (KIOJob): copying /Vacances/Bretagne/dscn0785.jpg
kio (Slave): slave died pid = 6636
kio (KIOJob): Observer::open_SkipDlg job=0x82f7408 progressId=5
kio (KDirWatch): KDirWatch-1 emitting dirty /multimedia/Photos/Vacances/Bretagne
digikam: Dirty: /Vacances/Bretagne
kio (Slave): slave died pid = 6650
kio (Scheduler): Scheduler: killing slave 6651
kio (Slave): killing slave pid=6651 (digikamalbums:// )
kio (KIOJob): Job::kill this=0x81e5750 KIO::TransferJob m_progressId=0 quietly=true
Comment 1 nicolas Mahoudeaux 2005-09-17 08:17:38 UTC
Created attachment 12604 [details]
Here is a photo that reproduce the bug

Here is a test case
Comment 2 Renchi Raju 2005-09-17 17:46:33 UTC
can you do the following:
a) put this file in a separate directory.
b) In digikam set the album library path to this directory

digikam should start scanning the items on the album library path and it will do the same steps that the digikamalbums kioslave is doing, but it will do it in process and will be easier to debug.

(btw, i imported the file you attached without any problems)
Comment 3 nicolas Mahoudeaux 2005-09-22 22:43:13 UTC
Thanks for your help, 

I update kde-svn and recompile kdelibs, kdebase and digikam today and everything is ok now.

I beleive this bug can be close now.
Comment 4 nicolas Mahoudeaux 2005-09-22 22:44:24 UTC
closed.
Comment 5 caulier.gilles 2017-07-23 20:44:31 UTC
This problem is relevant of digiKam KIO slaves which are dropped since version 5.0.0 in favor of a multithreaded interface to query the database. It will not reproducible.