View Single Post
Old 01-10-2014, 12:11 AM   #549
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
According to the instructions in the commandline/readme.txt, I run the script by using:
Code:
calibre-debug -e me.py --help
According to:
Code:
man calibre-debug
and http://manual.calibre-ebook.com/cli/calibre-debug.html I should instead use:
Code:
calibre-debug me.py -- --help
(the -e isn't necessary.)

And using
Code:
calibre-debug -e me.py --help
just gets me the help for calibre-debug. Or else using the options, it gets me an error (I assume calibre-debug has no idea what --smarten-punctuation is):
Spoiler:
Code:
Traceback (most recent call last):
  File "site.py", line 58, in main
  File "site-packages/calibre/debug.py", line 269, in main
  File "site-packages/calibre/debug.py", line 187, in run_script
  File "site-packages/calibre/customize/ui.py", line 15, in <module>
  File "site-packages/calibre/customize/builtins.py", line 675, in <module>
  File "site-packages/calibre/devices/kobo/__init__.py", line 4, in <module>
KeyboardInterrupt

So I found the instructions to use the extra "--" and it works just fine.
eschwartz is offline   Reply With Quote