Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-11-2025, 09:20 PM   #16
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Or installing every plugin known to mankind.
BetterRed is offline   Reply With Quote
Old 01-11-2025, 10:40 PM   #17
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: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Embedding metadata is not required use Library Mainteneance->Resore database. I would recommend removing all third party plugins first, you have rahter a lot of them installed.
kovidgoyal is online now   Reply With Quote
Advert
Old 01-12-2025, 11:56 AM   #18
mike.katina
Enthusiast
mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.
 
Posts: 35
Karma: 2135976
Join Date: Sep 2011
Location: Eastern Canada
Device: Samsung Galaxy Tab S2
ok, first off I'm sorry to have left last night I got called in.

But I did (before I left) start a "restore database" from an older (previous) backup and it went through.

Drag and drop works again and I'm able to delete the previously undeletable items however now I have empty lines in my library that I cannot delete, here is the message I get...
[
calibre, version 7.24.0
ERROR: Failed to delete: Failed to delete some books, click the "Show details" button for details.

==> id:207273
Traceback (most recent call last):
File "calibre\gui2\actions\delete.py", line 51, in delete_one
File "calibre\db\legacy.py", line 873, in func
File "calibre\db\view.py", line 174, in get_property
File "calibre\db\view.py", line 246, in _get
IndexError: No book with id 207273 present


==> id:216916
Traceback (most recent call last):
File "calibre\gui2\actions\delete.py", line 51, in delete_one
File "calibre\db\legacy.py", line 873, in func
File "calibre\db\view.py", line 174, in get_property
File "calibre\db\view.py", line 246, in _get
IndexError: No book with id 216916 present


==> id:216917
Traceback (most recent call last):
File "calibre\gui2\actions\delete.py", line 51, in delete_one
File "calibre\db\legacy.py", line 873, in func
File "calibre\db\view.py", line 174, in get_property
File "calibre\db\view.py", line 246, in _get
IndexError: No book with id 216917 present


==> id:117728
Traceback (most recent call last):
File "calibre\gui2\actions\delete.py", line 51, in delete_one
File "calibre\db\legacy.py", line 873, in func
File "calibre\db\view.py", line 174, in get_property
File "calibre\db\view.py", line 246, in _get
IndexError: No book with id 117728 present


==> id:232395
Traceback (most recent call last):
File "calibre\gui2\actions\delete.py", line 51, in delete_one
File "calibre\db\legacy.py", line 873, in func
File "calibre\db\view.py", line 174, in get_property
File "calibre\db\view.py", line 246, in _get
IndexError: No book with id 232395 present


==> id:117730
Traceback (most recent call last):
File "calibre\gui2\actions\delete.py", line 51, in delete_one
File "calibre\db\legacy.py", line 873, in func
File "calibre\db\view.py", line 174, in get_property
File "calibre\db\view.py", line 246, in _get
IndexError: No book with id 117730 present
]
mike.katina is offline   Reply With Quote
Old 01-12-2025, 12:26 PM   #19
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,059
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
That can happen when the DB does not match the BOOK folders.
That kind of corruption happen when most of the things listed by others were done.
The DB MUST remain in lockstep with the folders. CaLIBRE MUST BE THE ONLY THING THAT MAKES CHANGES.

ANYTHING that breaks that, leads to the results you see.
In the case of those 'No Book with ID..." you just remove the entry since it does not point to a book (folder) Was the a case in the report where there were similar books found but no DB entry . That could be from a rename that was done by something NOT Calibre.
theducks is offline   Reply With Quote
Old 01-12-2025, 01:26 PM   #20
mike.katina
Enthusiast
mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.
 
Posts: 35
Karma: 2135976
Join Date: Sep 2011
Location: Eastern Canada
Device: Samsung Galaxy Tab S2
I strongly agree with you however do not know how this happened. I did transfer the library to a nas drive and calibre to my laptop from the main pc.

but I copy paste everything without making any change.

a fluke maybe ...
mike.katina is offline   Reply With Quote
Advert
Old 01-12-2025, 02:17 PM   #21
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,059
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 mike.katina View Post
I strongly agree with you however do not know how this happened. I did transfer the library to a nas drive and calibre to my laptop from the main pc.

but I copy paste everything without making any change.

a fluke maybe ...
(OS) Copy does not remove stale files, it only can Overwrite or add files.

OTOH Freefilesync will do that. but only use it in Mirror mode (that will remove now stale folder/files on the target)

:bulb) You could set mirrors for direction, but I really think that is a recipe for ERROR. Only MANAGE (Add, change or Delete) from a single place
theducks is offline   Reply With Quote
Old 01-12-2025, 03:08 PM   #22
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 13,474
Karma: 239219543
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
A NAS could do it. Another major reason is adding/deleting files directly from the library folder, without going through Calibre. That's a big NO and will mess up the database immediately. All changes must be made through Calibre.
Sirtel is offline   Reply With Quote
Old 01-14-2025, 11:52 AM   #23
mike.katina
Enthusiast
mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.mike.katina ought to be getting tired of karma fortunes by now.
 
Posts: 35
Karma: 2135976
Join Date: Sep 2011
Location: Eastern Canada
Device: Samsung Galaxy Tab S2
I want to take a minute and thank everyone who tried to help. Much appreciated.
mike.katina is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I restore the database to backup? - database disk image is malformed lumping-sugar66 Kobo Reader 7 09-10-2024 11:57 AM
I think I broke my database gvantass Calibre 2 06-15-2019 06:37 PM
Aura I can't believe I broke it.... booklover6 Kobo Reader 20 03-13-2015 04:58 PM
Calibre Database cp Kindle Database mitch13 Library Management 1 05-22-2011 07:33 PM
Opus Help! I think I broke it Crusader Bookeen 19 12-07-2009 06:43 PM


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


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