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 10-20-2012, 07:38 AM   #1
RotAnal
Connoisseur
RotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheese
 
RotAnal's Avatar
 
Posts: 87
Karma: 1234
Join Date: Sep 2012
Device: Onyx Boox M92
Persistancy among Removed or Moved records

Dear Sirs,
am quite unaware whether this issue has been already addressed in this forum.
I noticed that there are cases in which folders have been NOT removed from a library by Calibre whenever they should have.
This may happen when one moves books from a library to another (e.g. to merge) or renames a record by changing Author and/or Title.
At beginnings I thought they were books failed being moved but soon realised they are just not removed when they should and therefore are just unwanted duplicates.
This situation adds a lot of confusion to the library management and it took me sometimes to localise empty or redundant folders among thousands and remove them by hand, thus violating the first principle of Calibre, i.e. not to touch the content of a library.
Is this issue known to the developers?
Thanks for your attention
RotAnal is offline   Reply With Quote
Old 10-20-2012, 08:48 AM   #2
Gunnerp245
Gadget Freak
Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.
 
Gunnerp245's Avatar
 
Posts: 1,169
Karma: 1043832
Join Date: Nov 2007
Location: US
Device: EE, Note 8
Wouldn't have running the library maintenance function found the situations you mention?
Gunnerp245 is offline   Reply With Quote
Advert
Old 10-20-2012, 09:54 AM   #3
RotAnal
Connoisseur
RotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheese
 
RotAnal's Avatar
 
Posts: 87
Karma: 1234
Join Date: Sep 2012
Device: Onyx Boox M92
Interesting suggestion, which I am unaware of. Thanks!
Which function in particular, Gunner?
RotAnal is offline   Reply With Quote
Old 10-20-2012, 10:39 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,012
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by RotAnal View Post
Interesting suggestion, which I am unaware of. Thanks!
Which function in particular, Gunner?
There is only one Library Maintenance
The first phase checks the DB for structural errors.
The (optional) second phase checks the DB against the File structure/contents

You get to resolve the errors in phase 2.

the only reason I can think of that old folder persist, is someone visited the folder and that left debris (causing 'folder not empty' (or RW ownership) to block the deletion)
theducks is online now   Reply With Quote
Old 10-20-2012, 11:52 AM   #5
RotAnal
Connoisseur
RotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheese
 
RotAnal's Avatar
 
Posts: 87
Karma: 1234
Join Date: Sep 2012
Device: Onyx Boox M92
Dear Ducks,
I asked because Library Mantainance menu has several submenus. I thought you refer to as Check Library and I eventally automatically solved my trouble.
Thanks!
As regards the origin of the trouble am wondering if "debris" may be the only source. I tried my best to care not to dirty the library content, but with 16000 records one cannot never say!
Thanks again for your suggestions.
RotAnal is offline   Reply With Quote
Advert
Old 10-20-2012, 01:20 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,012
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by RotAnal View Post
Dear Ducks,
I asked because Library Mantainance menu has several submenus. I thought you refer to as Check Library and I eventally automatically solved my trouble.
Thanks!
As regards the origin of the trouble am wondering if "debris" may be the only source. I tried my best to care not to dirty the library content, but with 16000 records one cannot never say!
Thanks again for your suggestions.
Debris (Def: any file not managed or expected by Calibre) can be caused by many things.
I do not use the the Calibre internal viewer for Mobi (Mobipocket reader is on my system), it leaves a copy of the book and a MBP file in the root of the Library. I now know to clean those manually.
theducks is online now   Reply With Quote
Old 10-20-2012, 04:31 PM   #7
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: 21,701
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
If I open a format in an editor then the file for that format will probably be locked

If I then change the title or author then calibre will create the new folder and move the existing files to it, only when it finds it cant remove the folder (because of the locked file) will it tell me a format is locked, via this message



Happens occasionally to me - when it does I fix it immediately by hand. Otherwise when I save my edits they will be saved to the old folder and at some stage I be left doing this

I'd rather calibre pop the message at the start and leave things as is. But there may be factors that preclude that - such as the difference in the behaviour of the target operating systems.

BR
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	326
Size:	24.3 KB
ID:	94555  

Last edited by BetterRed; 10-20-2012 at 04:36 PM.
BetterRed is offline   Reply With Quote
Old 10-20-2012, 06:25 PM   #8
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Quote:
Originally Posted by BetterRed View Post
If I open a format in an editor then the file for that format will probably be locked

If I then change the title or author then calibre will create the new folder and move the existing files to it, only when it finds it cant remove the folder (because of the locked file) will it tell me a format is locked, via this message



Happens occasionally to me - when it does I fix it immediately by hand. Otherwise when I save my edits they will be saved to the old folder and at some stage I be left doing this

I'd rather calibre pop the message at the start and leave things as is. But there may be factors that preclude that - such as the difference in the behaviour of the target operating systems.

BR
I seem to recall this being fixed for GUI editing, but not in the edit metadata window a couple of years ago.

Helen
speakingtohe is offline   Reply With Quote
Old 10-21-2012, 01:26 AM   #9
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: 21,701
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by speakingtohe View Post
I seem to recall this being fixed for GUI editing, but not in the edit metadata window a couple of years ago.

Helen
Helen

if I'm editing an RTF with Word or PDF with Acrobat, and I change the book title or author in the book list (not sure about metadata editor) then calibre does as I describe above.

But, I of all people, should understand why its daft to change those particular fields whilst the RTF and or PDF is open for editing. Maybe its only Word and Acrobat - perhaps other editors (eg Sigil) don't hold any locks in which case...

BR
BetterRed is offline   Reply With Quote
Old 10-21-2012, 10:06 AM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,012
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by BetterRed View Post
Helen

if I'm editing an RTF with Word or PDF with Acrobat, and I change the book title or author in the book list (not sure about metadata editor) then calibre does as I describe above.

But, I of all people, should understand why its daft to change those particular fields whilst the RTF and or PDF is open for editing. Maybe its only Word and Acrobat - perhaps other editors (eg Sigil) don't hold any locks in which case...

BR
A (write) Lock is a good idea as it keeps 2 people (sessions) from making changes to the same object.
Some programs offer to open a locked file in read only mode (I wish Sigil could do this). Opening a second instance is useful for side-by-side reference/copying , but it is possible to get confused as wich is the one under edit ( )
theducks is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge records mruseless Library Management 6 04-16-2014 09:01 AM
Your records are correct Tom93 Introduce Yourself 2 01-03-2012 11:58 PM
Max number of records spruce Library Management 2 08-25-2011 08:52 AM
Merging records and ISBN Starson17 Calibre 13 09-26-2010 10:41 PM


All times are GMT -4. The time now is 10:36 AM.


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