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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 06-23-2017, 06:03 AM   #1
flink
Banned
flink began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jun 2010
Device: Android/Linux/Windows
ebook-convert - text to epub conversion failing - Nevermind

Never mind. I'm sorry to have troubled you with this. I mis-typed a variable and so ebook-convert choked when it couldn't find something that didn't exist.


========================

Hello,

I am try to convert a text file to epub using ebook-convert from a bash script.

Verbose screen output:

Python function terminated unexpectedly
[Errno 13] Permission denied: u'E:\\hold\\text\\novel\\1_test' (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\ebooks\conversion\cli.py", line 391, in main
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1028, in run
File "site-packages\calibre\ebooks\conversion\plumber.py", line 972, in setup_options
File "site-packages\calibre\ebooks\conversion\plumber.py", line 941, in read_user_metadata
IOError: [Errno 13] Permission denied: u'E:\\hold\\text\\novel\\1_test'

My bash script:

BOOKNAME_SRC="V-37836_Using Branding Mechanicals Underwater_John Doe.txt"
BOOKNAME_EPUB="V-37836_Using Branding Mechanicals Underwater_John Doe.epub"
AUTHOR="John Doe"
AUTHOR_SORT="Doe, John"
TITLE="Using Branding Mechanicals Underwater"
TITLE_SORT="Using Branding Mechanicals Underwater"
COVER_DOC=file:///"V-37836_Using Branding Mechanicals Underwater.jpg"

ebook-convert "$BOOKNAME_SRC" "$BOOKNAME_EPUB" -v --base-font-size 11 --minimum-line-height 110 --author-sort "$AUTHOR" --authors "$AUTHORS" --smarten-punctuation --enable-heuristics --cover "$COVER_LOC" --title "$TITLE" --title-sort "$TITLE_SORT"

I also attempted the conversion from a local drive with the same result.

Manual conversion in Calibre works okay.

Last edited by flink; 06-23-2017 at 07:04 PM. Reason: Operator error - Stupid typo
flink 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
EPUB -> EPUB Conversion Results In BOLD Text cromag Conversion 3 03-18-2017 12:38 AM
Docx to ePub conversion keeps failing oberon567 Conversion 3 11-06-2015 08:33 AM
[Solved] PDF to epub conversion failing on imbedded web link? Ronin2009 Conversion 3 10-24-2013 11:58 AM
Text to ePub Chapter conversion dvd8n Conversion 6 10-19-2012 03:11 AM
CBR convert to EPUB failing. skullmonger Conversion 1 02-08-2011 09:33 AM


All times are GMT -4. The time now is 07:29 AM.


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