[Digikam-devel] [Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category
cyril.raphanel at gmail.com
cyril.raphanel at gmail.com
Sun Feb 5 14:27:00 GMT 2012
https://bugs.kde.org/show_bug.cgi?id=293297
--- Comment #6 from <cyril raphanel gmail com> 2012-02-05 14:27:00 ---
Now I get stuck in my investigation
Problem seems around this part, it systematically skip all files
###############################################################################
# $refImages always contains all images from all albums. For Mode -A
# in digikam 0.10 it may happen that some albums are not on the same
filesystem
# like the photoRoot. in this case this album is not cloned to another
# directory buth neverless
# refImages contains also data about photos in this album. But since it is
# not cloned, the cloned root # does not exits and so the photo therin does
# not exist. Thats what we check here.
# CR
print "BEFORE -- ${photoRootDir}$path/$image\n";
print "PHOTOROOTDIR -- ${photoRootDir}\n";
print "PATH -- $path\n";
print "image -- $image\n";
# RC
next if( ! -r "${photoRootDir}$path/$image" );
# CR
print "AFTER -- ${photoRootDir}$path/$image\n";
# RC
$count++;
###############################################################################
I can see "BEFORE" log
##############################################
BEFORE -- /photos/thumb/canond30_IMG_1041.jpg
PHOTOROOTDIR -- /photos
PATH -- /thumb
image -- canond30_IMG_1041.jpg
##############################################
but never reach the "AFTER" log
I would need some help from a PERL Guru ....
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list