Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 09-07-2012, 08:40 AM   #1
vivdev
Junior Member
vivdev began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2011
Device: kindle
custom recipes lost after transfer to new computer

I have transferred library to new computer and everything looks fine, except that none of the custom recipes are there now.

I tried the command to export the recipes from metadata.tb as per URL:

https://www.mobileread.com/forums/arc.../t-107126.html

The command I tried:

Code:
calibre-debug -c "from calibre.library import db; db = db(); ans = list(db.get_custom_recipes()); import pprint; pprint.pprint(ans)"
Above command fails saying there is no symbol get_custom_recipes() inside Database.

I printed the symbols on python interpreter and there is no function with recipe in its name. I tried the get_feeds() instead and it returns zero results as below:
Code:
N:\Documents\Own Docs\PC Docs\AppData\CalibreLibrary>"c:\Prog(x86)\Calibre2\cali
bre-debug.exe" -c "from calibre.library import db; db = db(); ans = list(db.get_
feeds()); import pprint; pprint.pprint(ans)"
[]
Finally, I tried opening the metadata.tb file in sqlite browser and can't find any entry in feeds table. The other tables authors, books have lots of rows.

Any way to recover the custom recipes? Even to get the feeds again will be painful as I remember the websites but there was lot of work involved selecting only appropriate feeds and putting them in one book.

Thanks in anticipation!
vivek
vivdev is offline   Reply With Quote
Old 09-07-2012, 09:05 AM   #2
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,259
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The storage of custom recipes was removed from metadata.db a while ago. They are currently stored in the config folder. Preferences->Miscellaneous->Open config directory. The custom recipes will be in the "custom_recipes" sub folder.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
my custom recipes turn off constantly sdow1 Recipes 4 02-22-2011 04:23 PM
Where are custom recipes? AustinTim Recipes 2 02-07-2011 09:50 PM
How to back up preferences and custom recipes? greenapple Calibre 3 03-29-2010 05:08 AM
Donations for Custom Recipes ddavtian Calibre 5 01-23-2010 04:54 PM
Help understanding custom recipes andersent Calibre 0 12-17-2009 02:37 PM


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


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