![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,579
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Well, my bad, I haven't read that sentence
![]() Edit: I've made the change and it already works. Thank you again. Last edited by Terisa de morgan; 09-18-2016 at 04:33 AM. Reason: Added info |
![]() |
![]() |
![]() |
#17 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,309
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I will submit a change to calibre to print the lookup name of the column where the error happened. Having that name might save lots of future debug time. |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,579
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
![]() |
![]() |
![]() |
#19 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
|
@chaley, as you see from thread searching for books modified in forum Calibre, I would like to try searching on a custom date column created by program: select(formats_modtimes('yyyy-MM-dd'), 'EPUB'). I installed [Library Closed Plugin] Save Composite Custom Columns and customized it to run. However, it doesn't actually populate metadata.db from this column. Can you explain? Is there a way to get this column populated in the database?
|
![]() |
![]() |
![]() |
#20 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,309
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I don't think this plugin does what you want, unless you are willing to write code. The data stored is in JSON, one dictionary per book. It would be very difficult to write a query in SQL.
As for not populating: it works for me. I can think of two possible problems: 1) You haven't enabled the plugin for the library you are using. To enable the plugin for the current library go to Preferences / Plugins / Library Closed Plugins / Save Composite Columns / Customize Plugin. 2) You are running calibre with python 3. I haven't tested the plugin in that environment. You can see what is happening by running calibre in debug mode. When you quit calibre you should see a message similar to Code:
plugin Save Composite Custom Columns library C:\...\...\Library.test_small: updated 77 books in 0:00:00.082000 |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
MCS now can use table books_plugin_data.
|
![]() |
![]() |
![]() |
#22 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
|
@chaley, so far as I can see, it appears that the problem with the column not populating was that I was not shutting calibre down in the appropriate way. I usually shut it down by using the Windows X on the GUI screen. However, I shut it down with calibre-debug -s once, and it now appears that it is updating each time I shut it down.
Whatever has changed, it appears OK now, and I will work on a search. Thanks for your help. |
![]() |
![]() |
![]() |
#23 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,309
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Released Version 1.1.1 (11/April/2020)
* Python 3 compatibility |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Color coding and designing composite columns | ElMiko | Library Management | 12 | 01-04-2015 08:55 PM |
Composite column problem combining two tag type columns | At_Libitum | Recipes | 1 | 08-29-2013 12:31 PM |
composite custom columns sorted numerically | Doug-W | Library Management | 2 | 02-18-2011 02:16 AM |
Custom Composite Column | silentguy | Calibre | 4 | 11-24-2010 10:28 AM |