[Bug 293297] New: Digitaglinktree does not process any photos even if tags exists under People category

classic Classic list List threaded Threaded
40 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #16 from Gilles Caulier <caulier gilles gmail com>  2012-02-07 16:41:54 ---
Cyril,

Thanks for your patch

Krienke,

Can you review it please ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

Bugzilla from cyril.raphanel@gmail.com
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #17 from  <cyril raphanel gmail com>  2012-02-07 18:41:55 ---
Hi,

It should be also possible to use mysql instead of sqlite.

Only difference seems that result given by only tools is with tab delimiter
mysql -u myuser -p -N -r --execute="mysql query"

I do not have database install with digikam but could try this week.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

Bugzilla from cyril.raphanel@gmail.com
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #18 from  <cyril raphanel gmail com>  2012-02-07 18:42:40 ---
sorry meant "command line tool"

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

krienke
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #19 from  <krienke uni-koblenz de>  2012-02-08 07:43:01 ---
Hi [hidden email],

I looked at your patch and it looks good. Nice year extension. For my photo
collection the old 1.7.0 version still works fine.

I think your trouble originated in the the fact that one of your albumroots was
not mounted in / but in /media/. So the database entry for specific path was
not an absolute path to your album but relative to the mount point of device
with the uuid you posted.

If this is true, then the solution would be to fix function getAlbumRoots to
get things straight automatically.

Can you please check with your system if this works:

ls -l /dev/disk-by-uuid/560e6bbb-a2ae-498f-a335-4a8592005e47/photos

It should list the contents of your album. If this works one could extract the
uuid information for an album root in function getAlbumRoots() and if we find
an uuid in column "identifier" we should prepend /dev/disk-by-uuid/<uuid-value>
in front of the value of column "specificPath". The result would be a complete
path to the albumroot. So option -r would not be needed in your case.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

krienke
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #20 from  <krienke uni-koblenz de>  2012-02-08 09:10:54 ---
@[hidden email]:
The result of of the check I asked you to do:

ls -l /dev/disk-by-uuid/560e6bbb-a2ae-498f-a335-4a8592005e47/photos

is of course a device. It should be the one containing your album.  So in order
to find out the path where this device is (possibly) mounted one still has to
search eg the contents of /proc/mounts (if available). To the result of this
search one has to append "specificPath" and this should then be the albums
root.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

krienke
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #21 from  <krienke uni-koblenz de>  2012-02-08 12:42:24 ---
I created a new version of digitaglinktree that just does what I described
above.
So an albumroot for removable media that is described by a uuid value in
digikams database should now automatically be found by digitaglinktree. So not
-r /path is needed for this..

Could you please check if it works for you.

Thanks
Rainer

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

krienke
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #22 from  <krienke uni-koblenz de>  2012-02-08 12:43:19 ---
Created an attachment (id=68620)
 --> (http://bugs.kde.org/attachment.cgi?id=68620)
digitaglinktree Version 1.8.1

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

Bugzilla from cyril.raphanel@gmail.com
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #23 from  <cyril raphanel gmail com>  2012-02-08 18:26:12 ---
Works great!
More elegant ... re-enabling "-r" was a quick fix than a real solution :-)

If you do not mind I will still look in your script as there is one feature
that would make it perfect for my need. User could define what tag category
could be used as drill down strategy.

For example, parameter would be People|Places|Animal|Date will result in:
People
->Peter
--> Places (continue by places)
---> Germany
----> Dates (continue by date)
-----> 2006
------> Animal (continue by animal)
-------> Image_of_Peter_In_Germany_With_A_cat_In_2006
------> All2
-----> All
----> Animal (continue by animal)
----> All
---> France
---> All
--> Dates (continue by date)
--> Animal (continue by date)
--> All
->All

Places
-> "start" again with same logic ....

Looks complex but coding should not be that difficult.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

Bugzilla from cyril.raphanel@gmail.com
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #24 from  <cyril raphanel gmail com>  2012-02-08 18:31:55 ---
somehow, I have stopped in the middle with the -Y option ... My coding skills
are a bit rusty!

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

krienke
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #25 from  <krienke uni-koblenz de>  2012-02-09 09:48:59 ---
Good to hear that it works. I will still fix the help text and manual pages.

Your proposal about you example  People|Places|Animal|Date is something I do
not really understand yet. The purpose of digitaglinktree is a mapping of tag
hierarchies into the filesystem. So basically folder have subfolders if a
corresponding tag has a subtag.  

It seems to me that your wish is something different?

Anyhow a discussion about this subject would fit better in a new  feature
request because its not related to the bug that has been discussed in this
thread.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

Bugzilla from cyril.raphanel@gmail.com
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #26 from  <cyril raphanel gmail com>  2012-02-09 19:17:30 ---
the searching logic is actually hierarchical but i agree this is something that
the problem I was originally facing.

I will open another case on the wish list with maybe a proposal if I do not
lose my mind in recusivity loops.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

Bugzilla from cyril.raphanel@gmail.com
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #27 from  <cyril raphanel gmail com>  2012-02-10 02:51:25 ---
one additional thing  for "Y" option we could get add "all" directory.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #28 from Gilles Caulier <caulier gilles gmail com>  2012-02-11 13:13:05 ---
There is any patch ready to apply on git/master now ?

Best

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

krienke
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #29 from  <krienke uni-koblenz de>  2012-02-13 07:51:57 ---
Created an attachment (id=68749)
 --> (http://bugs.kde.org/attachment.cgi?id=68749)
Fixed digitrablinktree version

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

krienke
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #30 from  <krienke uni-koblenz de>  2012-02-13 07:52:45 ---
Created an attachment (id=68750)
 --> (http://bugs.kde.org/attachment.cgi?id=68750)
Manual Page for digitaglinktree

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

krienke
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297





--- Comment #31 from  <krienke uni-koblenz de>  2012-02-13 07:53:44 ---
Hi Gilles,

just added 2 new attachments for the script as well as the manual page. Would
be nice if you could put it into git master.

Rainer

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297

--- Comment #32 from Gilles Caulier <[hidden email]> ---
Krienke,

files to put in git/master are the last versions ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

krienke
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297

--- Comment #33 from [hidden email] ---
No changes since Comment 31 from 2012-02-13).

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |4.0.0
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/d744bec46402c0d12cb56a2
                   |                            |39562cdd5c2249b58

--- Comment #34 from Gilles Caulier <[hidden email]> ---
Git commit d744bec46402c0d12cb56a239562cdd5c2249b58 by Gilles Caulier.
Committed on 26/11/2013 at 13:22.
Pushed by cgilles into branch 'master'.

update digikamlinktree script and man page to 1.8.2
FIXED-IN: 4.0.0

M  +101  -25   utilities/scripts/digitaglinktree/digitaglinktree
M  +5    -3    utilities/scripts/digitaglinktree/digitaglinktree.1

http://commits.kde.org/digikam/d744bec46402c0d12cb56a239562cdd5c2249b58

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 293297] Digitaglinktree does not process any photos even if tags exists under People category + new option for year subdirectory [patch]

krienke
In reply to this post by Bugzilla from cyril.raphanel@gmail.com
https://bugs.kde.org/show_bug.cgi?id=293297

--- Comment #35 from [hidden email] ---
Should be fixed in version 1.8.3. You may try the new script version attached
to BugĀ 293832

Rainer

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12