Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 04-27-2026, 12:46 PM   #1
Bookies_favorite
Junior Member
Bookies_favorite began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2026
Device: nook
calibre2opds fatal error

Hi, I've been using calibre2opds 3.6 (rev 424) for several years without problem on win10... but now - I've started getting "unexpected fatal error during catalog generation" error.

The error comes early in the generate catalog option (immediated it starts on the "Loading and filtering database" phase).

Annoyingly option "tools->view the current log" shows nothing... And if I manually search windows there seems to be no new logs generated... as though calibre2opds fails too early in the process to log anything??

I'm running calibre 9.7... to which I have updated recently
but calibre works fine and a calibre check of the library database shows no errors.

Any ideas to fix this?
thanks
Bookies_favorite is offline   Reply With Quote
Old 04-27-2026, 05:14 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,946
Karma: 82520964
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I think this might be related to calibre v9 changing the calibre database to remove the isbn column. Browsing the GitHub source code definitely shows the isbn column bring retrieved
PeterT is offline   Reply With Quote
Old 04-28-2026, 06:54 AM   #3
Bookies_favorite
Junior Member
Bookies_favorite began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2026
Device: nook
Quote:
Originally Posted by PeterT View Post
I think this might be related to calibre v9 changing the calibre database to remove the isbn column. Browsing the GitHub source code definitely shows the isbn column bring retrieved
Ah yes... I thought it might be down to some change to the metadata.db file...

do you know if calibre2opds is still maintained at all?
or how best to change the metadata.db file to become compatabile again?

thanks
Bookies_favorite is offline   Reply With Quote
Old 04-28-2026, 11:31 AM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,946
Karma: 82520964
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
At one point for some experiments I used the following script

Code:
#!/usr/bin/env bash

sqlite3 /mnt/chromeos/GoogleDrive/MyDrive/DR/Books/metadata.db \
"alter table books add column isbn text" \
"alter table books add column lccn text"
This is of course unsupported. It will survive updates to calibre.
PeterT is offline   Reply With Quote
Old 04-28-2026, 11:33 AM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,946
Karma: 82520964
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Looking at GitHub I'd say it's a dead project. Repository is https://github.com/calibre2opds/calibre2opds
PeterT is offline   Reply With Quote
Old 04-29-2026, 11:06 AM   #6
Bookies_favorite
Junior Member
Bookies_favorite began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2026
Device: nook
Quote:
Originally Posted by PeterT View Post
At one point for some experiments I used the following script

Code:
#!/usr/bin/env bash

sqlite3 /mnt/chromeos/GoogleDrive/MyDrive/DR/Books/metadata.db \
"alter table books add column isbn text" \
"alter table books add column lccn text"
This is of course unsupported. It will survive updates to calibre.


Brilliant, adding those 2 columns to the books table in calibre's metadata.db database has got calibre2opds working again!

btw: I used the opensource db4s tool to successfully open and alter the database in windows.

thanks again
Bookies_favorite is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange (but not fatal) error in Calibre Web dizzy_aardvark Calibre 1 02-24-2024 10:55 PM
Sigil crashes with fatal OpenGL error Banjo Sigil 42 04-10-2020 12:25 PM
Fatal Error when adding metadata and covers. jgforbes Library Management 1 02-19-2020 09:37 PM
Fatal Dose free today only! RussA Self-Promotions by Authors and Publishers 0 09-26-2015 03:02 PM
Mystery and Crime Marlowe, Dan: The Fatal Frails. v1. 10 July 07 Dr. Drib BBeB/LRF Books (offline) 2 07-11-2007 06:35 AM


All times are GMT -4. The time now is 02:59 PM.


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