06-22-2018, 10:36 AM | #1 |
Connoisseur
Posts: 88
Karma: 10
Join Date: Nov 2013
Device: android tablets
|
Calibredb Catalog "cannot generate catalog in EPUB format
I am trying to track down a discrepancy between the number and search criteria of books generated by the catalog command in the GUI, which is correct, and those generated by the calibredb catalog command line which is incorrect. Both use the exact same search or filter criteria.
However I am stopped dead as all of a sudden my test batch file does not work anymore and yields the less than useful message of "cannot generate a catalog in the EPUB format". I have already spent a great deal of time trying to understand this failure and get on with my testing but have run out of ideas about what the problem really is and how to correct. Can anyone make helpful suggestions as to what I might try next, please? Also adding --verbose to the command line does not seem to add anything to the output. C:\Users\rracoon\Documents\EPUB Stuff>calibredb catalog "C:\Users\rracoon\Documents\Epub Stuff\test all eBooks.EPUB" --preset="Allen's Catalogs" --search="#booktype:ebook and format:true" --verbose DeDRM v6.1.0: In __init__ DeDRM v6.1.0: In load_resources DeDRM v6.1.0: verdir C:\Users\rracoon\AppData\Roaming\calibre\plugins\D eDRM\6.1.0 DeDRM v6.1.0: In initialize Cannot generate an catalog in the EPUB format C:\Users\rracoon\Documents\EPUB Stuff>pause Press any key to continue . . . |
06-22-2018, 10:41 AM | #2 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
The DeDRM-plugin looks unhappy. Try remove it and see what happens?
|
Advert | |
|
07-12-2018, 11:19 AM | #3 |
Connoisseur
Posts: 88
Karma: 10
Join Date: Nov 2013
Device: android tablets
|
Cannot generate a Catalog in EPUB format
I am posting this again hoping to get some attention to my ongoing problem.
I now have a test batch file that strips down the calibredb catalog command to the bare essentials, ie: where to direct the output. I still get the same error message that it "Cannot generate a Catalog in the EPUB format". No I have not tried to disable DEDRM because I don't know why it even comes into play as there is no need to DEDRM a file that is being created. I just need to understand why this message is being generated because it is particularly unhelpful in figuring out what to try next. Can someone much more familiar with the underlying code please look at this and give me a concrete suggestion what the issue really is and how to correct it. Please and thanks. C:\Users\rracoon\Documents\EPUB Stuff>calibredb catalog "C:\Users\rracoon\Documents\Calibre Library\Allen Williams\test Unread eBooks\test Unread eBooks - Allen Williams.EPUB" --exclusion-rules=(('nobook','format','false'),('nodate','#dat eread','true'))
DeDRM v6.1.0: In __init__ DeDRM v6.1.0: In load_resources DeDRM v6.1.0: verdir C:\Users\rracoon\AppData\Roaming\calibre\plugins\D eDRM\6.1.0 DeDRM v6.1.0: In initialize Cannot generate a catalog in the EPUB format C:\Users\rracoon\Documents\EPUB Stuff>pause Press any key to continue . . . |
07-12-2018, 11:22 AM | #4 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The file extension needs to be lowercase .epub not .EPUB
|
07-13-2018, 01:13 PM | #5 |
Connoisseur
Posts: 88
Karma: 10
Join Date: Nov 2013
Device: android tablets
|
Wow, that worked. Pretty esoteric requirement. Might ought to fix it or at least document it. The Help on Calibredb Catalog does not mention it and all references to available file types are in upper case.
Thanks. |
Advert | |
|
07-13-2018, 08:19 PM | #6 |
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Generate Catalog Error for Epub | dreamer540 | Library Management | 5 | 03-17-2017 02:29 AM |
"calibredb catalog" and customized column with template | commandante | Library Management | 2 | 07-19-2016 03:41 PM |
command line "calibredb catalog" problems | Divingduck | Calibre | 12 | 12-26-2014 05:01 PM |
Unfortunately, another "Failed: Generate catalog" | Sigwolf | Library Management | 4 | 11-10-2012 02:24 PM |
mobi catalog = periodical, ePub catalog = book | trekchick | Library Management | 7 | 03-12-2011 01:11 PM |