Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-30-2014, 02:22 PM   #1
signum
Zealot
signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.
 
Posts: 118
Karma: 64428
Join Date: Aug 2011
Device: none
markdown-calibre

While exploring calibre, I came across this program. Unfortunately, it gives an error when I try to run it from the command line with no arguments:

"ImportError: no module named markdown"

Am using kubuntu 12.04 and calibre 2.13
signum is offline   Reply With Quote
Old 12-30-2014, 02:48 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 23,269
Karma: 24326584
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A, Kobo Aura2

It is a undocumented command
calibre-ebook.com/generated/en/cli-index.html#documented-commands

With instructions to do what you did to see arguments

I guess it is not used very often (in Linux). Yours is the first gripe I have seen.
theducks is offline   Reply With Quote
Advert
Old 12-30-2014, 03:13 PM   #3
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 13,607
Karma: 10793754
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post

It is a undocumented command
calibre-ebook.com/generated/en/cli-index.html#documented-commands

With instructions to do what you did to see arguments

I guess it is not used very often (in Linux). Yours is the first gripe I have seen.
Nor in Windows I guess

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Program Files\ConEmu>markdown-calibre
Python function terminated unexpectedly
  No module named markdown (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 132, in main
  File "site.py", line 108, in run_entry_point
  File "site.py", line 50, in load_module
  File "site-packages\calibre\ebooks\markdown\__main__.py", line 7, in <module> ImportError: No module named markdown

C:\Program Files\ConEmu>
psst - the link you posted goes - Page not found

BR
BetterRed is offline   Reply With Quote
Old 12-30-2014, 03:34 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 10,561
Karma: 60968803
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
http://manual.calibre-ebook.com/gene...ented-commands

or

http://manual.calibre-ebook.com/gene...ented-commands
PeterT is offline   Reply With Quote
Old 12-30-2014, 04:06 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 23,269
Karma: 24326584
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A, Kobo Aura2
Quote:
Originally Posted by BetterRed View Post
Nor in Windows I guess

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Program Files\ConEmu>markdown-calibre
Python function terminated unexpectedly
  No module named markdown (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 132, in main
  File "site.py", line 108, in run_entry_point
  File "site.py", line 50, in load_module
  File "site-packages\calibre\ebooks\markdown\__main__.py", line 7, in <module> ImportError: No module named markdown

C:\Program Files\ConEmu>
psst - the link you posted goes - Page not found

BR
I copied it out of my address bar
theducks is offline   Reply With Quote
Advert
Old 12-30-2014, 09:00 PM   #6
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: 34,534
Karma: 11409410
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...f950835e1da153
kovidgoyal is offline   Reply With Quote
Old 12-31-2014, 12:16 AM   #7
signum
Zealot
signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.
 
Posts: 118
Karma: 64428
Join Date: Aug 2011
Device: none
Thank you very much, Kovid, for your rapid fix. I have a project in mind that could make good use of this program. I hope you don't think I was griping. I really do appreciate your efforts. My attitude is that problems don't get fixed if nobody knows that the problem exists.
signum is offline   Reply With Quote
Old 12-31-2014, 06:57 PM   #8
phossler
Guru
phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.
 
Posts: 818
Karma: 156340
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
@theducks --

Quote:
I copied it out of my address bar
Perhaps not all of it?

The "manual." was missing

http://manual.calibre-ebook.com/generated/en/cli-index.html#documented-commands


PeterT's works for me

(And thanks to both for the link to the documented commands -- very handy)

Last edited by phossler; 12-31-2014 at 07:04 PM.
phossler is offline   Reply With Quote
Old 12-31-2014, 07:25 PM   #9
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: 34,534
Karma: 11409410
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You're welcome. Dont worry I did not think you were griping
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multimarkdown instead of markdown anywho Calibre 15 08-13-2013 09:20 PM
markdown-calibre bobb40 Conversion 1 07-08-2011 12:02 PM
detecting chapters with --markdown p3aul Conversion 7 05-15-2011 11:01 AM
->Txt+Markdown Perkin Calibre 2 12-11-2010 04:04 AM
Markdown editor user_none Workshop 0 08-30-2009 09:25 PM


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


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