Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-25-2025, 02:06 PM   #16
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: 79,353
Karma: 145488914
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I have one other suggestion. Given that when you run in safe mode, the graphics driver is disabled, try setting the following environement variable.

Code:
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu"
JSWolf is offline   Reply With Quote
Old 05-25-2025, 04:11 PM   #17
MikesBooks
Member
MikesBooks began at the beginning.
 
Posts: 10
Karma: 10
Join Date: May 2025
Device: Kindle
Quote:
Originally Posted by JSWolf View Post
I have one other suggestion. Given that when you run in safe mode, the graphics driver is disabled, try setting the following environement variable.

Code:
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu"
Thanks for the tip! You know what? I think it actually worked!

After setting the flag, and restarting twice (just to make sure), I opened Calibre and it hard crashed after the splash window. So I restarted once more, and so far, it's been stable! I've added 41 books (mix of epub, azw3, and mostly pdf) and no crashes. I edited the publisher tag and no crashes. This is the most stable it's been!

I'm looking at the driver details for my video card (NVIDIA GeForce RTX 4070 Ti) and it was updated 5/20/25 which is pretty much when all of the crashes started! So perhaps that really was the issue? The driver is 576.52 and I updated from 566.36

I'll keep plucking around in the program in debug mode and see if I get any further errors!

One thing though:
Is there an easy way to put my custom stuff back? I have some old backups and things, but I'm not sure what the best/quickest way to doing that is.

Example: Custom Columns (i had a big #subject one) and Custom Icons that showed the rating and what kind of file it was.

Thanks!
MikesBooks is offline   Reply With Quote
Advert
Old 05-25-2025, 07:39 PM   #18
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,650
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by JSWolf View Post
I have one other suggestion. Given that when you run in safe mode, the graphics driver is disabled, try setting the following environement variable.

Code:
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu"
Bookmarked

Because I never update device drivers I always forget this one.

Quote:
Originally Posted by MikesBooks View Post
. . .

One thing though:
Is there an easy way to put my custom stuff back? I have some old backups and things, but I'm not sure what the best/quickest way to doing that is.

Example: Custom Columns (i had a big #subject one) and Custom Icons that showed the rating and what kind of file it was.
Did you lose the custom column definitions or 'just' the content

As for the column icons, see the WARNING in ==>> restore_database

But running 'calibredb --restore_database -r' wasn't the solution, do you have a backup of the library you can restore?

BR
BetterRed is offline   Reply With Quote
Old 05-29-2025, 05:27 AM   #19
MikesBooks
Member
MikesBooks began at the beginning.
 
Posts: 10
Karma: 10
Join Date: May 2025
Device: Kindle
Quote:
Originally Posted by BetterRed View Post
Bookmarked

Did you lose the custom column definitions or 'just' the content


BR
So I'm not sure how to answer this, so I'll do my best

Inside the opf file for each book I still see the information, such as price and read_month. But of course, the new database doesn't know what these columns are. If I try and create, say, a #priority one, it doesn't recognize it as the same data from the books opf.

I can easily redo the custom icons, that was no big deal, but I'd really love to recover the custom columns somehow.

Restoring an old db still leads to crashes, and just for the sake of things, i did a hard factory reset/format of the HD, reinstalled windows, and went back to the old drivers.

So far it seems stable with the new metadata.db but I really would like to figure out how to copy the look/feel and customs from the old one to the new.

Is there any way to export/import just that? Or copy it somehow to a new empty database and start fresh?

Thanks!
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-05-29 022201.png
Views:	10
Size:	41.7 KB
ID:	215913  
MikesBooks is offline   Reply With Quote
Old 05-29-2025, 06:29 AM   #20
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: 79,353
Karma: 145488914
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by MikesBooks View Post
So I'm not sure how to answer this, so I'll do my best

Inside the opf file for each book I still see the information, such as price and read_month. But of course, the new database doesn't know what these columns are. If I try and create, say, a #priority one, it doesn't recognize it as the same data from the books opf.

I can easily redo the custom icons, that was no big deal, but I'd really love to recover the custom columns somehow.

Restoring an old db still leads to crashes, and just for the sake of things, i did a hard factory reset/format of the HD, reinstalled windows, and went back to the old drivers.

So far it seems stable with the new metadata.db but I really would like to figure out how to copy the look/feel and customs from the old one to the new.

Is there any way to export/import just that? Or copy it somehow to a new empty database and start fresh?

Thanks!
You can start a new empty library with all of your custom columns. Then you can copy from the current library to the new library. If there are any columns in the current library that are not in the new library, you can decide if you want them or not as you'll get asked which columns you want.
JSWolf is offline   Reply With Quote
Advert
Old 05-29-2025, 07:02 AM   #21
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,650
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by MikesBooks View Post
. . .

Is there any way to export/import just that? Or copy it somehow to a new empty database and start fresh?
Not that I know of, only Kovid would be able to answer definitively.

My 'assumption' has been that the GUI Library manager->Library maintenance->Restore database function
  • creates a fresh database as a clone with the same database schema,
  • restores the column data from the book folder metadata.opf files
  • restores the library specific preferences from the metadata_db_prefs_backup.json file
But I'm wondering if the command line version of restore_database does something less that that - hence the WARNING in the manual.

BR
BetterRed is offline   Reply With Quote
Old 05-29-2025, 09:44 AM   #22
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,240
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
restore database restores all the custom columns adn their data as best as it can from those very OPF files.
kovidgoyal is offline   Reply With Quote
Reply

Tags
calibre 8.4.0, crashing, techsupport


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CBZ to PDF AttributeError Pannette Conversion 7 09-26-2021 07:20 PM
[iOS] CC crashes with lots of books nimapourkarimi Calibre Companion 2 10-12-2018 07:51 PM
Lots of Crashes with 7.4.0 jonalbert Sigil 6 03-20-2014 05:34 PM
Lots of Crashes: MySQL Database! emax Calibre 1 08-25-2011 06:51 AM
Unhandled exception: AttributeError? unboggling Calibre 2 08-17-2011 02:08 AM


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


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