Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-02-2011, 09:08 AM   #31
Maggie-Me
Zealot
Maggie-Me plays well with othersMaggie-Me plays well with othersMaggie-Me plays well with othersMaggie-Me plays well with othersMaggie-Me plays well with othersMaggie-Me plays well with othersMaggie-Me plays well with othersMaggie-Me plays well with othersMaggie-Me plays well with othersMaggie-Me plays well with othersMaggie-Me plays well with others
 
Maggie-Me's Avatar
 
Posts: 146
Karma: 2594
Join Date: May 2009
Device: Kindle PW,Sony 700, Sony 950 (Daily Edition),Nook Color,iPad
thanks for the tweaks to turn off this feature

Last edited by Maggie-Me; 01-02-2011 at 09:25 AM.
Maggie-Me is offline   Reply With Quote
Old 01-02-2011, 07:45 PM   #32
hijack
Junior Member
hijack doesn't litterhijack doesn't litter
 
Posts: 3
Karma: 158
Join Date: Dec 2008
Location: Missouri
Device: Sony 505
learning to be a good poster. OOPS! messed up my 7.36 fix.

Ok, these are my mistakes, not yours.

After reading your comments about the 7.36 and my posts, I decided to do it right. First, I read the posting guidelines. Then I read all I could find about "Tweaks" in the manual. I'm impressed with all of Calbres abilities! I felt, and do feel, I can make the changes.

I downloaded 7.35 to have as a backup if needed. Lastly, before starting on the tweaking with 7.36 I copied a back-up of the folders that had calibres catalog/lists or what ever on a separate drive. (remember, I'm new at Calibre.)

That's when the disaster struck. (Mine, not yours)

When I went back to Calibre, all my lists were gone. I had no catalog.
My books were still on the PC, but not in Calibre.

I tried to find a way to recover and reclaim the existing list. Not having studied that subject yet, lets just say, I failed.

My main problem seemed to be it kept trying to go to the hard drive I put the back-up files on when I would try to recreate the catalog.

To wind this up, I did manage to create a new catalog. I'm adding my books back into a better folder structure that will be cleaner.

My Questions?

Could I have saved my Library with a simple procedure?
Any guesses on why it kept wanting to go to the back-up drives?

I did go back to 7.35 after all this happened. I see that 7.37 is now out. After following that awhile on the forums, I'll update.

I am going to read all I can find in the manual. All this is happening faster than I can read! I've been through the FAQs several times.

Thanks

Jack
hijack is offline   Reply With Quote
Advert
Old 01-03-2011, 03:05 AM   #33
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by hijack View Post
After reading your comments about the 7.36 and my posts, I decided to do it right. First, I read the posting guidelines. Then I read all I could find about "Tweaks" in the manual. I'm impressed with all of Calbres abilities! I felt, and do feel, I can make the changes.
Good. Although with what you wrote below, my guess is that you are also frustrated.
Quote:
I downloaded 7.35 to have as a backup if needed. Lastly, before starting on the tweaking with 7.36 I copied a back-up of the folders that had calibres catalog/lists or what ever on a separate drive. (remember, I'm new at Calibre.)
These are good steps.
Quote:
That's when the disaster struck. (Mine, not yours)

When I went back to Calibre, all my lists were gone. I had no catalog.
My books were still on the PC, but not in Calibre.
OK, this is seriously strange. Nothing should have emptied your library.

Briefly explaining calibre's library might help. The library is a combined file store + database. All the metadata is stored in a file metadata.db, which is in the root folder of the library (the one with all the author names in it). All the book formats, covers, and other like information is stored in the subfolders. Another folder, completely separate from your library, contains your preferences.

I assume that you mean 'catalog' as calibre's book display (it has other meanings in calibre). For the display to empty, one of three things must have happened.
1) The library folder's name was changed.
2) The metadata.db file was removed.
3) The preferences indicating where the library is stored were changed.

From here, I can't tell you which one (or ones) happened to you. My suspicion is that when you were doing your backup, you might have accidentally changed the name of the library. Alternatively, you accidentally moved metadata.db instead of copying it. One technique that has bitten me is to do a backup by renaming a folder, then copying the contents back to the original. It is easy to make mistakes during the copy-back.

If you are using Linux, you would also need to be careful about letter case. In linux, the files 'somebook' and 'Somebook' are different files and you can have them both. In windows and (I think) macos, you can't.
Quote:
I tried to find a way to recover and reclaim the existing list. Not having studied that subject yet, lets just say, I failed.

My main problem seemed to be it kept trying to go to the hard drive I put the back-up files on when I would try to recreate the catalog.
This sounds like the preferences got changed.
Quote:
My Questions?

Could I have saved my Library with a simple procedure?
Making a copy of the library folder is the best way to do a backup of the library. Note that I say a copy of the folder, not a copy of the content of the folder. It is too easy not to select everything in the library (such as metadata.db) when making a copy of the content.

Note that you should also make a backup of calibre's preferences folder (again, the folder, not the content).
Quote:
Any guesses on why it kept wanting to go to the back-up drives?
Somehow in your experiments you aimed calibre at your backup? That could happen if you used 'change library' or played with the --with-library option.
Quote:
I did go back to 7.35 after all this happened. I see that 7.37 is now out. After following that awhile on the forums, I'll update.
One suggestion: do one thing at a time. Play first with backing up your library, to be sure you can back it up. Also play with recovering it. Backups you can't use to recover are worse than useless.

Next, play with the configuration options using the release you have. Particularly related to this discussion are the change library commands that let you switch between copies of a library.

Last, when you upgrade, don't change anything else until you have satisfied yourself that the upgrade works.

Good luck!
chaley is offline   Reply With Quote
Old 01-03-2011, 03:11 AM   #34
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Note for those of you who used tweaks to disable categorization in 0.7.36: the option structure changed in 0.7.37. Enabling/disabling and controlling the type of categorization is no longer a tweak. It is a GUI-available option, on preferences -> look and feel, and also on a right-click on the tab browser. The partition count is on preferences -> look and feel.

The templates used to for the partition display remain as tweaks.
chaley is offline   Reply With Quote
Old 01-03-2011, 03:22 AM   #35
library addict
Grand Sorcerer
library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.
 
library addict's Avatar
 
Posts: 12,885
Karma: 35535698
Join Date: Nov 2010
Location: USA
Device: Nexus 7 2, Samsung Galaxy Tab A 8" (retired=Sony PRS650, Kobo Mini)
Quote:
Originally Posted by chaley View Post
Note that you should also make a backup of calibre's preferences folder (again, the folder, not the content).
Where is this folder stored in Windows?

I always back up the Calibre Library folder, but didn't know this info was stored separately.

Also, thanks for the quick fix on the tags.
library addict is offline   Reply With Quote
Advert
Old 01-03-2011, 03:30 AM   #36
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by library addict View Post
Where is this folder stored in Windows?

I always back up the Calibre Library folder, but didn't know this info was stored separately.
The easiest way to find out is to ask calibre. Go to preferences -> advanced -> miscellaneous, press the 'open calibre configuration directory' button, and see where you end up.
Quote:
Also, thanks for the quick fix on the tags.
Welcome.
chaley is offline   Reply With Quote
Old 01-03-2011, 01:01 PM   #37
hijack
Junior Member
hijack doesn't litterhijack doesn't litter
 
Posts: 3
Karma: 158
Join Date: Dec 2008
Location: Missouri
Device: Sony 505
Thanks for all your help.

Last, when you upgrade, don't change anything else until you have satisfied yourself that the upgrade works.

Good luck![/QUOTE]

Thanks for your help. I believe my mistake was included somewhere in your lists of possiblities.

I kept a copy of all your comments.

I intend on being very careful until I get to read all of the manual.

The only thing I'm going to work on now is getting my books all back into my library.

Then, I'll clean up all my extra back-ups so I'll know what I have.

After all that, I'll think about 7.37 or what ever is current at the time.

Thanks alot for your help.

Jack
hijack is offline   Reply With Quote
Old 01-04-2011, 04:17 AM   #38
pusskins
Junior Member
pusskins began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2010
Device: ipod touch
Thanks for 7.37 Still not entirely sure why my tags went but given the changelog and the fact that I'm still going through the books dh asked calibre to library and trying to bring some sense to the metadata I suspect I had an empty catagory or two.

But yippee skip I now have my catagories back and can find books by format for the different devices.

Thanks again, quick catch

Yours Aye,
Puss
pusskins is offline   Reply With Quote
Old 01-06-2011, 11:13 AM   #39
OtterBooks
Wizard
OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.
 
OtterBooks's Avatar
 
Posts: 1,262
Karma: 2979086
Join Date: Nov 2010
Device: Kindle 4, iPad Mini/Retina
Hi. I recently downloaded 7.37 and noticed that the Author list in Tag Browser was sorted into subcategories by author letter. It may have done this in the previous version as well, but I just noticed it now. Anyway, I really liked it.

I was going through letter by letter, correcting metadata, and after changing an author name I noticed that suddenly the Author list no longer was sorted into subcategories, but one long list. I tried getting it back by choosing the various options in the right-click drop down menu for the Author tag, and none of the options appeared to change anything.

Obviously I did something to cause this, but can't get the letter sort back. Many thanks in advance and sorry for my noobishness/lack of clarity/failure to use the search function/smell.

Last edited by OtterBooks; 01-06-2011 at 11:15 AM.
OtterBooks is offline   Reply With Quote
Old 01-06-2011, 11:26 AM   #40
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
the list is sorted into sub categories only is there are more than x number of items where x is set in preferences->look and Feel
kovidgoyal is online now   Reply With Quote
Old 01-06-2011, 11:29 AM   #41
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by OtterBooks View Post
HiObviously I did something to cause this, but can't get the letter sort back. Many thanks in advance and sorry for my noobishness/lack of clarity/failure to use the search function/smell.
You probably removed enough authors to fall below the limit, which defaults to 100. Go to preferences/look & feel and change the number to what you like.
chaley is offline   Reply With Quote
Old 01-06-2011, 12:28 PM   #42
OtterBooks
Wizard
OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.OtterBooks ought to be getting tired of karma fortunes by now.
 
OtterBooks's Avatar
 
Posts: 1,262
Karma: 2979086
Join Date: Nov 2010
Device: Kindle 4, iPad Mini/Retina
Ah ha. That was it. Thanks a bunch, kovidgoyal and chaley.
OtterBooks is offline   Reply With Quote
Old 01-23-2011, 05:03 AM   #43
Stampercam
Connoisseur
Stampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to behold
 
Stampercam's Avatar
 
Posts: 86
Karma: 19674
Join Date: Jan 2011
Device: ipad, MiGear
I really love the subcategorisation of authors by letter, this has been a great upgrade feature. What I'd like is to be able to click on (for example) A and not just see the authors in that subcategory but have all the books from all the A authors show up in the book list (I think that sounds better in my head somehow).

In the absence of that ability is there a search string I can enter that will show me all titles that have author surname starting with "a" or "b" etc?
Stampercam is offline   Reply With Quote
Old 01-23-2011, 07:28 AM   #44
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
This probably should have been its own thread rather than being added to this one. You are asking a different question, one that is probably of interest to many people.
Quote:
Originally Posted by Stampercam View Post
I really love the subcategorisation of authors by letter, this has been a great upgrade feature. What I'd like is to be able to click on (for example) A and not just see the authors in that subcategory but have all the books from all the A authors show up in the book list (I think that sounds better in my head somehow).
Others have asked for this. It isn't clear how to do this efficiently, so I haven't done it. I don't know that I ever will, as it isn't high on my own priority list.
Quote:
In the absence of that ability is there a search string I can enter that will show me all titles that have author surname starting with "a" or "b" etc?
Use search with regexp. For these examples, I assume that your author_sort is set up LN, FN (Surname comma firstname). For example, to find books by authors with surname beginning with 'a', search for
Code:
author_sort:"~^a"
To find all authors with names beginning with a or b, search for
Code:
author_sort:"~^[ab]"
or
Code:
author_sort:"~^a" or author_sort:"~^b"
The same works for other fields. For example, to find series beginning with 'a', search for
Code:
series:"~^a"
By way of explanation, the quotes are there just in case there are spaces in the regular expression. In the examples above, the quotes aren't necessary, but I usually add them anyway. The ~ tells calibre's search to use the regular expression that follows the character. The regular expression is ^a. The ^ character says that what follows next must match the beginning of the field. The next character, a, is what must match.

For the example ^[ab], the [ ] indicate that any of the characters within the brackets must match.
chaley is offline   Reply With Quote
Old 01-24-2011, 04:47 AM   #45
Stampercam
Connoisseur
Stampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to beholdStampercam is a splendid one to behold
 
Stampercam's Avatar
 
Posts: 86
Karma: 19674
Join Date: Jan 2011
Device: ipad, MiGear
Thanks Chaley, that answer has helped in many ways.... I've been playing with the regexp a bit to customise the searches but you have explained well what I wasn't clear on.

Cheers
Cam
Stampercam is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tag Browser & Series oldbwl Calibre 7 10-06-2010 04:58 PM
Empty tag browser Rachel Calibre 18 07-26-2010 11:42 AM
Any suggestion to switch the Title and Author fields? evertonhs Calibre 1 10-31-2009 11:04 PM
Title / Author Fields in txt docs tomtt2 Sony Reader 5 03-21-2009 07:54 PM
Deleting AUTHOR fields with mobi2mobi davey Kindle Formats 13 12-17-2008 05:36 AM


All times are GMT -4. The time now is 12:01 PM.


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