09-22-2010, 04:59 AM | #16 | |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
The one caution is that if anything changes in the database schema between releases (although this is rare) you may find that the metadata.db file is not compatible with both releases (calibre only provides forwards compatibility). |
|
09-22-2010, 05:26 AM | #17 | |
tenjooberrymuds
Posts: 58
Karma: 12
Join Date: Sep 2010
Device: Android
|
Quote:
in regards to the metadata.db, does this mean both installations would share the same database, or are you simply telling me that I might not be able to use the old database on the new beta install? my intention would be to install a separate Calibre with its own (throwaway)database solely for testing... |
|
Advert | |
|
09-22-2010, 06:52 AM | #18 |
Grand Sorcerer
Posts: 11,771
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@theducks & @Manichean: Any chance you have books in your library that have no formats? Kovid found a bug in get_metadata last night that explains Manichean's exception. I don't know about theducks' case, because the exception text is missing.
@Manichean: exceptions during set_books_in_library will cause no end of troubles. Lets wait to trace down the second issue (add_book exception), because it will probably go away. I too use folder devices for lots of testing, for exactly the same reason. However, I can't test collections that way. @theducks: how big is your library and on your device? Assuming the problem is missing formats, then 55 seconds in set_books_in_library is a bit excessive. |
09-22-2010, 07:01 AM | #19 | |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
It would be interesting to see if you can run two versions of calibre in parallel if they are using completely different sets of files. I have never tried it, but it may well work. However if you decide to try it i would strongly recomment having backups of your library before trying in case it goes wrong and you end up with a corrupt library. |
|
09-22-2010, 07:13 AM | #20 | ||
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
Quote:
|
||
Advert | |
|
09-22-2010, 07:38 AM | #21 |
Grand Sorcerer
Posts: 11,771
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Could you run a database integrity check? The code that is blowing up is indeed the formats check. Either a book has no formats, or a book has formats that don't actually exist.
|
09-22-2010, 08:09 AM | #22 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Of course. Since I blew up my testing database (entirely through faults of my own), I've ran the check on my "production" installation (0.7.19). Completed without error. I'm currently restoring the testing database on this computer from the "production" one and will re-run the check once it's completed using 0.7.901. I'll post again once that's done.
|
09-22-2010, 10:18 AM | #23 | |
Well trained by Cats
Posts: 29,932
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I had been using the "Get by ISBN function with a Bar-code scanner, to document my paperback library (of which some are so old as to not have either Bookman (978...) nor ISBN codes) . formats:false count : 36 I have to use a USB 1 connection as the V5 hates Intel's USB2-enhanced driver (verified 4 different make-models of computers) 1100+ books. I ran a disc-repair (no errors) just in case (Calibre has not dealt well with FS errors in the past) Get Meta-data has always been slow, used to take 5Mins with 800 books until the cached data Last edited by theducks; 09-22-2010 at 10:25 AM. |
|
09-22-2010, 10:24 AM | #24 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
This is weird: I just finished restoring my test library, ran a database integrity check (which didn't report any errors) and then was unable to replicate the error I reported earlier.
Edit: Oh, and I took a bit longer because totally unrelated issues interfered. |
09-22-2010, 11:36 AM | #25 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
I just uninstalled Calibre, removed any folders left, re-copied the library and reinstalled the beta. Again, I'm unable to reproduce the error. I'm assuming that, since I performed a database integrity check on the library, Calibre did find some errors and silently corrected them without notice. Can this happen?
|
09-22-2010, 11:39 AM | #26 |
creator of calibre
Posts: 43,980
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
A db integrity check dumps the db to sql and re-creates it. This can often fix small problems in the db.
|
09-22-2010, 11:48 AM | #27 | |
Grand Sorcerer
Posts: 11,771
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
In any event, Kovid is making new binaries. I will make an announcement when they are ready. In addition to the fix(es), there are some new features. |
|
09-22-2010, 11:50 AM | #28 | |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
Though this might be insignificant by now, there still aren't any entries without formats in the library. Yes, I did restore it, but I was only trying to replicate conditions as they were before I noticed the error. Still, I'm excited for those features |
|
09-22-2010, 01:45 PM | #29 |
Grand Sorcerer
Posts: 11,771
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
New release available (0.7.902)
A new binary release of this beta has been uploaded to http://calibre-ebook.com/downloads/betas/.
Changes in this version: 1) Fixed problem where books with no formats caused an exception when a device was connected. 2) Several performance enhancements 3) In RE mode, composite fields can now be used as a search/replace source. 4) Bulk edit can now renumber series starting at an arbitrary integer. 5) Bulk edit can now force titles to title case. 6) Template values can now include text that will be included only if the referenced field is not empty. (See the soon-to-be template language faq entry below for details.) Calibre Template Language: Spoiler:
|
09-22-2010, 01:55 PM | #30 | |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sony collections and custom fields: how to handle duplicates? | chaley | Calibre | 13 | 09-02-2010 04:11 PM |
Amazon integrates Video and Audio with Ebooks | luqmaninbmore | News | 22 | 06-28-2010 06:22 PM |
PRC file doesn't fully import into Calibre | MSJim | Kindle Formats | 1 | 06-01-2010 02:55 PM |
Calibre custom news feed and python help. | harrynewman | Calibre | 4 | 10-08-2009 09:26 AM |
Smashwords integrates with Stanza, optimized for iPhone | Smashwords | News | 1 | 11-29-2008 03:26 PM |