I am attempting to debug a segfault in a plugin when adding a book using calibre-debug. The output of calibre-debug -h gives an example of this, but when I tried it I got:
Code:
dhdurgee@z560:~/Downloads$ calibre-debug -r "Add Books" -- ./Created\ Equal.epub
Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "site.py", line 45, in <module>
File "site.py", line 41, in main
File "calibre/debug.py", line 315, in main
File "calibre/customize/__init__.py", line 324, in cli_main
NotImplementedError: The Add Books plugin has no command line interface
dhdurgee@z560:~/Downloads$
This is despite the -h option showing:
Code:
-r RUN_PLUGIN, --run-plugin=RUN_PLUGIN
Run a plugin that provides a command line interface.
For example:
calibre-debug -r "Add Books" -- file1 --option1
Everything after the -- will be passed to the plugin
as arguments.
The command line approach which hits the segfault is:
Code:
calibredb add ./Created\ Equal.epub --with-library=~/Calibre\ Library
How do I do this?
Dave