Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-15-2016, 11:15 AM   #61
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Quote:
Originally Posted by Beltonmike View Post
Hi again
Thanks for your quick reply but I'm still struggling. Whenever I hit consolidate I am still getting the same message. It is when I hit consolidate not when I am in the library tab. CALM seems to create the library but doesn't put the book metadata in. The address that is created is c\users\....... \CALM\metadata.db There are also metadata_tools, metadata_backup and an empty text file
@Beltonmike:

You need to start over from the beginning. Read and follow the instructions embedded in the Target Library Tab.

You should first "Refresh" the Target Library. Then, specify the Source Libraries, which are your "real" Calibre libraries that have real books in them. Be sure to "save". Then, you must "Generate" your Source Custom Columns. You have never used the word "Generate", so I suspect you have not done so. It is required. Read the ToolTips on that Tab. After a successful Generation, you click the "Execute Consolidation" pushbutton on the Target Library Tab.

Nuclear Option: If the above does not work, delete this file: C:\Users\Beltonmike\AppData\Roaming\calibre\plugin s\Consolidate All Library Metadata.json which is the configuration file that has been saved as a result of everything you have done so far. Then, manually delete the CALM target library (everything, including /CALM/ itself). Then start over from scratch.

If you still have problems, you must attach to your next post "Screen Snips" (using the Windows 10 "Snipping Tool" located at "C:\WINDOWS\system32\SnippingTool.exe") of the first 3 Tabs. Also, attach the entire Job Log from the Consolidation Job after you copy it into a Notepad text file.


DaltonST
DaltonST is offline   Reply With Quote
Old 02-15-2016, 12:43 PM   #62
Beltonmike
Enthusiast
Beltonmike began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jan 2016
Device: Illumina XL HD
Again thank you, I"'ll go for the nuking option as I now have libraries a bit all over the place. Then try again ..... slowly Hopefully the next message will be a thankyou
Beltonmike is offline   Reply With Quote
Advert
Old 02-15-2016, 02:16 PM   #63
Beltonmike
Enthusiast
Beltonmike began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jan 2016
Device: Illumina XL HD
Sorry Mike again I actually managed to get through to the calibre job box this time but get sqlerror: no such table: Source.languages.


Calm is only finding one of my libraries though calibre can read 2 and I typed the address wrong for the second one which I presume will be the "no such table" error

No more time this evening (france) so will renuke and start over tomorrow when I am CALMer.

I have attached the files but if I am right about the error not a lot to see

Thanks for your trouble and sorry for being dumber than usual

Mike
Attached Thumbnails
Click image for larger version

Name:	librariesCapture.PNG
Views:	506
Size:	9.1 KB
ID:	146377   Click image for larger version

Name:	targetCapture.PNG
Views:	492
Size:	21.7 KB
ID:	146378   Click image for larger version

Name:	columnCapture.PNG
Views:	471
Size:	21.8 KB
ID:	146379   Click image for larger version

Name:	ccmappingCapture.PNG
Views:	467
Size:	16.7 KB
ID:	146380  
Attached Files
File Type: txt consolidate error job failed.txt (10.7 KB, 461 views)
Beltonmike is offline   Reply With Quote
Old 02-15-2016, 04:29 PM   #64
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
@Mike:

Quote:
Attaching to New Source Library: C:/Users/MIKE/Desktop/metadata.db
Consolidating Source Standard Metadata: Mon Feb 15 19:06:17 2016
Job: "CALM Consolidation" failed with error:
Traceback (most recent call last):
File "site-packages\calibre\gui2\threaded_jobs.py", line 83, in start_work
File "calibre_plugins.consolidate_all_library_metadata. calm_consolidation", line 94, in main_calm_consolidation
File "calibre_plugins.consolidate_all_library_metadata. calm_consolidation", line 193, in CALM_Control
File "calibre_plugins.consolidate_all_library_metadata. calm_consolidation", line 374, in source_control
File "calibre_plugins.consolidate_all_library_metadata. calm_consolidation", line 392, in source_copy_control
File "calibre_plugins.consolidate_all_library_metadata. calm_consolidation", line 450, in add_new_language_codes
File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\cursor.c", line 990, in APSWCursor_execute.sqlite3_prepare
File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\statementcache.c", line 386, in sqlite3_prepare
SQLError: SQLError: no such table: SOURCE.languages
The cause of your problem is very clear. Your Source Library is "C:/Users/MIKE/Desktop/metadata.db" which has no Standard Calibre Table languages. The languages table is the very, very first thing that CALM copies from a Source Library into the Target Library. Your Source Library is not a valid Calibre Library.

By the way, in Windows, the "Desktop" folder is a very special folder. I would not recommend using it as a Calibre library itself.

You need to use Calibre to create a 'real' Calibre Library using its proper menu path for doing so: Right Click the Library Icon> Switch/Create Library > Choose the parent directory which must already exist, and go from there.

Example: "C:\Users\Mike\Documents\eBooks\MyLibraryName" .

Then, switch to that new Library and test it. Add a book to it, and check its functionality.

Click the CALM icon. Refresh the Target Library. Change the Source Libraries to what they should now be, and that does not include C:/Users/MIKE/Desktop . Generate the Source Custom Columns. Then, run the Consolidation.

Note that you can Consolidate a particular Source Library only once for any single incarnation of the CALM Target Library, but that does not mean that you have to Consolidate all of the Source Libraries at once. The checkboxes on the Source Library Tab control which to consolidate at any particular time. The ToolTips say that too. You could try Consolidating only the OneDrive library to see what happens. Based on your attachments, it should work fine. If it does not, apply the Nuclear Option again, and start over from scratch again but using "C:\Users\Mike\Documents\eBooks\MyLibraryName" instead of "C:/Users/MIKE/Desktop/metadata.db".

The reason that only one (1) of your Source Libraries was "Generated" is that you have only one (1) Source Library with any Custom Columns whatsoever.

In summary, the problem is not CALM, but C:/Users/MIKE/Desktop/metadata.db.

Good luck.


DaltonST

Edit: I just noticed that your CALM DB path is C:/Users/MIKE/Desktop/CALM/metadata.db . The erroneous Source Library is C:/Users/MIKE/Desktop/metadata.db . That means that your CALM Target Library is a "child" of your Source Library! That is not ever going to work as far as CALM is concerned. Your CALM Target Library path should be something like: "C:\Users\Mike\Documents\eBooks\CALM\metadata. db"

Last edited by DaltonST; 02-15-2016 at 04:47 PM. Reason: Your CALM Target Library is a "child" of your Source Library
DaltonST is offline   Reply With Quote
Old 02-16-2016, 05:11 AM   #65
Beltonmike
Enthusiast
Beltonmike began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jan 2016
Device: Illumina XL HD
Thanks again. I've been playing around this morning and by just selecting the libraries that CALM finds it works wonderfully. My problem seems to have come from the test library that I created. Calibre reads it fine but CALM doesn't 'see' it at all and when I type it in I get the CALM library error. I installed Job Spy to try and get a log of what happens but nothing shows up. I recreated a test library ticking the copy current library structure box then importing a book and that went fine, CALM found it and everything worked

If you can tell me how to get a file to show what is going on I will be very happy to send it to you.

Also for information, working on my rather small monitor I didn't see the save button on the source libraries screen (see clip) so that may not have helped the first run through although I would still have got the error message due to the library that CALM wasn't seeing.

Many thanks again for a great program

Mike
Attached Thumbnails
Click image for larger version

Name:	nosaveCapture.PNG
Views:	500
Size:	17.1 KB
ID:	146393  
Beltonmike is offline   Reply With Quote
Advert
Old 02-19-2016, 11:18 PM   #66
tekeek
Member
tekeek began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2013
Location: Tennessee
Device: Kindle HDX
So I came across an issue that causes my Preference - Toolbar to act unusual.

When I mouse over CALM it causes the Available Action to expand

Then even if I expand the Preference - Toolbar it still causes it to expand
Attached Thumbnails
Click image for larger version

Name:	2016-02-19 22_01_22-New notification.png
Views:	494
Size:	47.2 KB
ID:	146512   Click image for larger version

Name:	2016-02-19 22_01_50-calibre.png
Views:	491
Size:	23.3 KB
ID:	146513  

Last edited by tekeek; 02-19-2016 at 11:24 PM.
tekeek is offline   Reply With Quote
Old 02-20-2016, 01:48 AM   #67
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,532
Karma: 26944418
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by tekeek View Post
So I came across an issue that causes my Preference - Toolbar to act unusual.

When I mouse over CALM it causes the Available Action to expand

Then even if I expand the Preference - Toolbar it still causes it to expand
@tekeek - far as I can see, you're seeing what's known as a 'Tooltip'. They've been a standard feature of graphical user interfaces for last 30+ years, hover over almost anything and you'll see something similar. The CALM Tooltip text looks to be longer than most, but that's better than some applications which have none or merely repeat the name.

That it's also shown at bottom of the lists may be a recent innovation - saves the user the bother of hovering

Last edited by BetterRed; 02-20-2016 at 01:51 AM.
BetterRed is offline   Reply With Quote
Old 03-04-2016, 10:58 AM   #68
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Version 2.0.15 CALM & MCS Word-Book Index Queries

Version 2.0.15 -2016-03-04 New: Option to consolidate the 'Multi-Column Search' plug-in 'Word-Book Index' into the CALM Target Library so that MCS Word-Book Queries may be executed against all consolidated Source Libraries simultaneusly.

So, you can do a Word-Book Index Query in MCS while in the CALM Target Library so that you search every book you have consolidated into it simultaneously.

By the way, the MCS 'Full-Text' Query cannot be used in CALM because CALM has no book formats since it is a snapshot of the Source Libraries. However, the Word-Book Index Query does not use any book formats, so it can be used in lieu of a 'Full-Text' Query if a long sentence is broken into individual words (with or without the LIKE wildcards % or _) separated by the bar symbol when the 'bar means AND not OR' checkbox has been selected. It can be orders of magnitude faster too, since it uses an index.



DaltonST
DaltonST is offline   Reply With Quote
Old 03-26-2016, 02:14 PM   #69
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,226
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I have a question (perhaps it's answered but I haven't found it): If I add books to one of my source libraries and I run the consolidation job again, are those books added to the CALM library? Because it isn't happening to me.
Terisa de morgan is offline   Reply With Quote
Old 03-26-2016, 02:32 PM   #70
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Quote:
Originally Posted by Terisa de morgan View Post
I have a question (perhaps it's answered but I haven't found it): If I add books to one of my source libraries and I run the consolidation job again, are those books added to the CALM library? Because it isn't happening to me.
@Terisa de morga:

Absolutely not. The CALM Target Library is a "snapshot" that is transient. If you try to consolidate a Source Library a second time, your consolidation job log will tell you "no". See the example job log below. I guess you didn't read your latest consolidation job log.

To "add books" to the CALM Target Library, you must Refresh, Generate and Consolidate yielding a new temporary and transient snapshot CALM Target Library.

Quote:
Starting job: CALM Consolidation Starting CALM Consolidation CALM DB: X:/CALM/metadata.db Sat Mar 26 13:19:50 2016 Python: Windows CPython 2.7.9 SQLite Version: 3.8.4 [APSW] PRAGMA main.locking_mode = EXCLUSIVE; Beginning 'Consolidate All Library Metadata' ══════════════════════════════════════════════════ ══════════════════════════════════════════════════ ═════════════════════════════════════════════ Number of books for this Source Library found in Target Library: 32 ERROR: Source Already Has Books in This Target Library. Ignoring: S:/Calibre/CalibreEnglishNounFrequency/metadata.db Library SQLite memory usage (in bytes) -- Currently: 2,778,544 Job Maximum: 182,188,496
DaltonST
DaltonST is offline   Reply With Quote
Old 03-26-2016, 02:39 PM   #71
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,226
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
No, I don't usually read the log unless there's a problem. I guessed something like this but I prefer to confirm, thank you.
Terisa de morgan is offline   Reply With Quote
Old 03-26-2016, 04:01 PM   #72
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Version 2.0.17 - Attempt to solve OSX subprocess issue

Version 2.0.17 -2016-03-26 Attempt to solve OSX subprocess issue.

I still do not have OSX to test the changes, but Windows 10 still works perfectly after a reasonable recommendation found in Stackoverflow was implemented.

Good luck.



DaltonST
DaltonST is offline   Reply With Quote
Old 06-04-2016, 01:31 PM   #73
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
I was wondering, can I read the books from the various libraries directly from the Target Library?
Tanjamuse is offline   Reply With Quote
Old 06-04-2016, 03:05 PM   #74
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Quote:
Originally Posted by Tanjamuse View Post
I was wondering, can I read the books from the various libraries directly from the Target Library?
@Tanjamuse:

Nope. The Target Library is metadata-only. No books. No formats. No underlying folders. Nothing but three files: metadata.db, metadata_tools.db, and the preferences backup file.

The CALM Target Library is designed to be used to standardize your metadata among all of your Source Libraries, to shuffle books among those libraries if needed, and then to be deleted and later recreated when appropriate.


DaltonST
DaltonST is offline   Reply With Quote
Old 06-24-2016, 01:13 PM   #75
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Version 2.0.19 Compatibility improvement for use with Linux and OSX

Version 2.0.19 -2016-06-24 Compatibility improvement for use with Linux and OSX; now does not optionally delete any Identifiers that start with a 'z', nor 'doi'.





DaltonST
DaltonST is offline   Reply With Quote
Reply

Tags
calibredb, consolidate, genre, tags

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 492 10-25-2022 08:13 AM
[Metadata Source Plugin] SRU - Library of Congress & GBV (ger) vform Plugins 3 01-28-2014 04:54 PM
Getting custom metadata field in GUI plugin SauliusP. Development 7 02-11-2012 01:31 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM
Can I make Sony Ebook Library consolidate my library? palex481 Sony Reader 5 05-18-2008 07:44 PM


All times are GMT -4. The time now is 11:27 PM.


MobileRead.com is a privately owned, operated and funded community.