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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-06-2025, 05:06 PM   #1
Lewis_Mcc94
Junior Member
Lewis_Mcc94 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2025
Device: Kobo Libra Colour
Post Can't Launch Calibre

Any time I try to launch the app I get this error:

calibre, version 8.13.0
ERROR: Startup error: There was an error during calibre startup. Parts of calibre may not function. Click "Show details" to learn more.

Traceback (most recent call last):
File "calibre\db\fields.py", line 187, in get_categories
KeyError: 63

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\db\cache.py", line 1578, in get_categories
File "calibre\db\categories.py", line 259, in get_categories
File "calibre\db\fields.py", line 192, in get_categories
calibre.db.fields.InvalidLinkTable: series

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\db\fields.py", line 187, in get_categories
KeyError: 63

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\tag_browser\model.py", line 1382, in _get_category_nodes
File "calibre\db\cache.py", line 1587, in get_categories
File "calibre\db\cache.py", line 1578, in get_categories
File "calibre\db\categories.py", line 259, in get_categories
File "calibre\db\fields.py", line 192, in get_categories
calibre.db.fields.InvalidLinkTable: series

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\db\fields.py", line 187, in get_categories
KeyError: 63

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\db\cache.py", line 1578, in get_categories
File "calibre\db\categories.py", line 259, in get_categories
File "calibre\db\fields.py", line 192, in get_categories
calibre.db.fields.InvalidLinkTable: series

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\db\fields.py", line 187, in get_categories
KeyError: 63

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\main.py", line 307, in initialize_db_stage2
File "calibre\gui2\main.py", line 250, in start_gui
File "calibre\gui2\ui.py", line 381, in initialize
File "calibre\gui2\tag_browser\ui.py", line 137, in init_tag_browser_mixin
File "calibre\gui2\tag_browser\view.py", line 417, in set_database
File "calibre\gui2\tag_browser\model.py", line 524, in set_database
File "calibre\gui2\tag_browser\model.py", line 601, in _run_rebuild
File "calibre\gui2\tag_browser\model.py", line 606, in _rebuild_node_tree
File "calibre\gui2\tag_browser\model.py", line 1389, in _get_category_nodes
File "calibre\db\cache.py", line 1587, in get_categories
File "calibre\db\cache.py", line 1578, in get_categories
File "calibre\db\categories.py", line 259, in get_categories
File "calibre\db\fields.py", line 192, in get_categories
calibre.db.fields.InvalidLinkTable: series


I have restarted my PC, updated to the latest version and completely uninstalled and re-installed and nothing works
Lewis_Mcc94 is offline   Reply With Quote
Old 11-06-2025, 07:31 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 81,046
Karma: 150250725
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The database calibre is trying to load may be corrupted. Try renaming the directory and see what happens when calibre is not able to try to load that library's database.
JSWolf is online now   Reply With Quote
Old 11-06-2025, 11:32 PM   #3
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,664
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That looks like a corrupted database. You can rebuild it with the command in comand prompt:

calibredb restore_database -r
kovidgoyal is offline   Reply With Quote
Old Yesterday, 09:26 PM   #4
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,196
Karma: 32370
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by kovidgoyal View Post
That looks like a corrupted database. You can rebuild it with the command in comand prompt:

calibredb restore_database -r
Hi, in the command prompt do you need to be in a specific directory to run this command?

When I open command prompt with the cmd command my default directory is
C:\Users\my-username"

To run calibredb do we need to navigate to our Calibre library first?

Sorry if this sounds like a basic question but I could not find the answer in the help manual.

Thanks,
Amalthia
Amalthia is offline   Reply With Quote
Old Yesterday, 10:13 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 48,676
Karma: 174510110
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Amalthia View Post
Hi, in the command prompt do you need to be in a specific directory to run this command?

When I open command prompt with the cmd command my default directory is
C:\Users\my-username"

To run calibredb do we need to navigate to our Calibre library first?
AFAIR, from the last time I repaired a database, that command will look up the last used calibre library and automatically repair it. You can use the either --library-path=<path to library> or --with-library=<path to library> options after the -r to set a different library.

Say you have a intake library in D:\calibre library\intake, you would use
calibredb restore_database -r --library-path="D:\calibre library\intake" (the "s are needed since there is a space in the path).
DNSB is offline   Reply With Quote
Old Yesterday, 11:23 PM   #6
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,196
Karma: 32370
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by DNSB View Post
AFAIR, from the last time I repaired a database, that command will look up the last used calibre library and automatically repair it. You can use the either --library-path=<path to library> or --with-library=<path to library> options after the -r to set a different library.

Say you have a intake library in D:\calibre library\intake, you would use
calibredb restore_database -r --library-path="D:\calibre library\intake" (the "s are needed since there is a space in the path).
I'm bookmarking this page! I like the idea of changing the library in command line vs switching the libraries before I run any maintenance commands for each library.

Thank you for the fast reply!
Amalthia
Amalthia is offline   Reply With Quote
Old Yesterday, 11:28 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: 22,046
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Amalthia View Post
Hi, in the command prompt do you need to be in a specific directory to run this command?
Unless you deliberately removed it at install time in the Advanced options dialogue, the calibre install directory (e.g.C:\Program Files\Calibre2\) should be in the System Environment Variable "PATH".

Click image for larger version

Name:	Screenshot 2025-11-30 142525.jpg
Views:	7
Size:	46.9 KB
ID:	219485

BR
BetterRed is online now   Reply With Quote
Reply

Tags
can't launch

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Wont launch JULIUSGT Calibre 1 02-05-2025 03:03 PM
Calibre 7.2.0 won't launch Rinakles Calibre 39 11-14-2024 09:54 AM
Can't launch Calibre TheOnionBoy Library Management 3 11-15-2023 11:05 AM
Calibre wo'nt launch picpuss Calibre 5 03-15-2022 02:12 PM
Can't launch Calibre on MacOS peterloron Calibre 2 12-31-2009 03:35 AM


All times are GMT -4. The time now is 03:46 PM.


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