[Digikam-users] How to move a digikam collection

Thomas thomasdn at gmail.com
Tue Jun 26 19:47:20 BST 2012


More info.

Digikam  produces lots of lines like these:
digikam(14521)/digikam (core) Digikam::DImg::load:
"/net/photo/photos/2008/2008-02-Val-dIsere/raw/p2013103.orf"  : RAW file
identified
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
No image data to encode Exif.OlympusCs.PreviewImageStart.
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.Olympus2.ThumbnailImage not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageLength not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageStart not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageValid not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.Photo.MakerNote not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusIp.0x1103 not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusIp.0x1104 not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2ExceptionError: Cannot find Xmp
key 'Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonDisplayName' into image
using Exiv2   (Error # 35 :  No namespace info available for XMP prefix `MP'
digikam(14521)/digikam (core) Digikam::DImg::load:
"/net/photo/photos/2008/2008-02-Val-dIsere/raw/p2013104.orf"  : RAW file
identified
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
No image data to encode Exif.OlympusCs.PreviewImageStart.
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.Olympus2.ThumbnailImage not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageLength not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageStart not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageValid not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.Photo.MakerNote not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusIp.0x1103 not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusIp.0x1104 not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2ExceptionError: Cannot find Xmp
key 'Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonDisplayName' into image
using Exiv2   (Error # 35 :  No namespace info available for XMP prefix `MP'
digikam(14521)/digikam (core) Digikam::DImg::load:
"/net/photo/photos/2008/2008-02-Val-dIsere/raw/p2013105.orf"  : RAW file
identified
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
No image data to encode Exif.OlympusCs.PreviewImageStart.
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.Olympus2.ThumbnailImage not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageLength not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageStart not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageValid not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.Photo.MakerNote not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusIp.0x1103 not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusIp.0x1104 not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2ExceptionError: Cannot find Xmp
key 'Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonDisplayName' into image
using Exiv2   (Error # 35 :  No namespace info available for XMP prefix `MP'
digikam(14521)/digikam (core) Digikam::DImg::load:
"/net/photo/photos/2008/2008-02-Val-dIsere/raw/p2013106.orf"  : RAW file
identified
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
No image data to encode Exif.OlympusCs.PreviewImageStart.
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.Olympus2.ThumbnailImage not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageLength not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageStart not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageValid not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.Photo.MakerNote not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusIp.0x1103 not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusIp.0x1104 not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2ExceptionError: Cannot find Xmp
key 'Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonDisplayName' into image
using Exiv2   (Error # 35 :  No namespace info available for XMP prefix `MP'
digikam(14521)/digikam (core) Digikam::DImg::load:
"/net/photo/photos/2008/2008-02-Val-dIsere/raw/p2013107.orf"  : RAW file
identified
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
No image data to encode Exif.OlympusCs.PreviewImageStart.
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.Olympus2.ThumbnailImage not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageLength not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageStart not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusCs.PreviewImageValid not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.Photo.MakerNote not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusIp.0x1103 not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2MessageHandler: Exiv2 ( 2 ) :
Exif tag Exif.OlympusIp.0x1104 not encoded
digikam(14521)/KEXIV2
KExiv2Iface::KExiv2::KExiv2Priv::printExiv2ExceptionError: Cannot find Xmp
key 'Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonDisplayName' into image
using Exiv2   (Error # 35 :  No namespace info available for XMP prefix `MP'
^C


It seems to me that digikam has begun scanning my entire collection, but
that should not be necessary, should it? I mean, the photos has not
changed. So from digikam's perspective it should just be another regular
day as usual. Digikam should be unaware that the path has been changed,
since I have changed this in the db before starting digikam.

What to do?
Of course, I have backup of both db and digikamrc from before.


Med venlig hilsen/Kind regards
Thomas


2012/6/26 Thomas <thomasdn at gmail.com>

> 2012/6/25 Jean-François Rabasse <jean-francois.rabasse at wanadoo.fr>
>
>> Seems good. That kind of tweak works for me, I have similar problems
>> when replicating (rsync) DK database between two computers, a desktop
>> and a laptop, and yes, I have to change the path of the collection
>> base directory.
>> A simple command line SQL command can do "UPDATE TABLE ... " etc.
>>
>> One more thing you should check is the location of your DB file, the
>> digikam4.db, because it's stored into the DK runtime configuration
>> file, $HOME/.kde4/share/config/**digikamrc
>> If your DB file is stored at the root of your collection, you'll
>> also have to change the "Database Name=" parameter from, e.g.
>> /photodisk/photos to /net/photo/photos, so that DK can find your new DB
>> upon next startup.
>>
>> And if your DB file is on your local computer, not on a USB drive or
>> network drive, of course nothing to change in rc configuration.
>>
>
> I have tried changing the collection path in my SQL dump of the
> digikam4.db, then restored the db.
> I have then copied the old digikamrc into ~/Pictures/digikam4.db
> Then I started digikam..
> I see that is has my albums and tags. Howeverr, when I click an album in
> My Albums, no photos are shown. Even though digikam says it has 1145 photos
> (or similar) in the paranthesis after the album name.
> If I go to My Tags and click a tag that should have photos in it, no
> phottos are shown.
>
> digikam is now also horribly slow. Even though my new computer is
> immensely faster than the old one.
> digikam prints *lots* of these errors:
> digikam(14521)/digikam (core)
> Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Database is
> locked. Waited 5600
> digikam(14521)/digikam (core)
> Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Database is
> locked. Waited 5610
>
> Please note that only photos are on NFS. The database is on local
> filesystem.
>
>
>
>
> Med venlig hilsen/Kind regards
> Thomas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20120626/e6bfc831/attachment.html>


More information about the Digikam-users mailing list