![]() |
#1 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
|
CLI catalog bib -> Values instance has no attribute 'bibfile_enc'
Hello
Where is the syntax for the options of the BIB format when I use CLI? >calibredb catalog list.bib I want, for example, to restrict the fields used in the output. The doc and the online help only list the EPUB options. Also: if calibre is running, calibre says I need to use remote library, but 'catalog' is not compatible with remote library. Any suggestion? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,159
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibredb catalog t.bib --help
|
![]() |
![]() |
![]() |
#3 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
|
yes, it works. Thanks
This is not explained anywhere, is it? You should upgrade the doc to give this command, shouldn't you? |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,159
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The --help flag is standard for the vast majority of command line tools and is documented in calibre's user manual as well.
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
|
yes, thanks, I know this, but how are we suppose to know to give "t.bib" to have the doc for the bib format?
|
![]() |
![]() |
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,159
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The very first line in the output of --help tells you you invoke it with
calibredb catalog file.bib [options] so run it with calibredb catalog file.bib --help |
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
|
Sorry but no.
It says: >calibredb catalog /path/to/destination.(csv|epub|mobi|xml...) [options] In the option list, it says: >-h, --help affiche ce message d'aide et quitte which translates to: >-h, --help display this help message and quit This says that whatever filename I type, I will always have the same help message. |
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,159
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sorry, but yes:
Code:
calibredb catalog -h Usage: calibredb catalog /path/to/destination.(csv|epub|mobi|xml...) [options] Export a catalog in format specified by path/to/destination extension. Options control how entries are displayed in the generated catalog output. Note that different catalog formats support different sets of options. |
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
|
How is this saying that to get the documentation of a specific format, you need to run it with a dummy file?
|
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,159
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Note that different catalog formats support different sets of options.
|
![]() |
![]() |
![]() |
#11 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,004
Karma: 150500002
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
calibredb catalog --help help on the default epub format calibredb catalog .epub --help for help on epub format calibredb catalog .bib --help for help on bib format calibredb catalog .csv --help for help on the csv format calibredb.exe catalog /path/to/destination.(csv|epub|mobi|xml...) [options] where you will notice the destination.extension with the ... as a gentle hint that there are options that are not visible such as AZW3 and BIB—the usual purpose of an ellipsis. (the omission from speech or writing of a word or words that are superfluous or able to be understood from contextual clues). |
|
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
|
I really think that this piece of documentation is obscure, and that you should add a few sentances to indicate that the help for specific format has to be called with that syntax.
The thing is not even in the manual (you have epub format, why not the bib format). Look for yourself: https://manual.calibre-ebook.com/gen...b.html#catalog This would save time to the user, and to you people in the forum. But I see that you do not agree, and of course, at the end, it's up to you. |
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,159
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Was already added days ago. https://github.com/kovidgoyal/calibr...4eab6f96d38813
|
![]() |
![]() |
![]() |
#14 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
|
I meant: it's not in the HTML manual.
|
![]() |
![]() |
![]() |
Tags |
bib, calibredb, catalog, cli |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bib format in catalogue and calibre 2.6 | Terisa de morgan | Library Management | 2 | 10-18-2014 01:19 AM |
Unable to create BIB catalog | excaliber | Calibre | 1 | 11-02-2013 10:49 PM |
calibredb catalog CLI error | ilovejedd | Library Management | 4 | 02-06-2012 10:26 AM |
Spaces in attribute values (updating El Pais recipe) | lordvetinari2 | Recipes | 2 | 10-19-2010 01:32 PM |