Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-18-2014, 08:48 AM   #1
bhambhu
Member
bhambhu began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Apr 2014
Device: epub to pdf
error in epub to pdf

i try to reun command convert book in php then book not convert and stop command in php but in terminal book convert successfully. please can u help me
When i run this command.
$output = shell_exec("ebook-convert test.epub mech4eck.pdf");
echo $output;
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on /var/www/html/dombive/uploads/product/0827e57a1e514d43283c72dd010a9173/0c11f07c8d05d086ba38ead3fb6aafcc.epub
Found HTML cover titlepage.xhtml
Parsing all content...
flow is too short, not running heuristics
flow is too short, not running heuristics
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Creating PDF Output...
67% Running PDF Output plugin

and i m also try this command then not convert
$output = shell_exec("ebook-convert test.epub mech4eck.lit");
echo $output;
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on /var/www/html/dombive/uploads/product/0827e57a1e514d43283c72dd010a9173/0c11f07c8d05d086ba38ead3fb6aafcc.epub
Found HTML cover titlepage.xhtml
Parsing all content...
flow is too short, not running heuristics
flow is too short, not running heuristics
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Creating LIT Output...
67% Running LIT Output plugin
Splitting markup on page breaks and flow limits, if any...
Generating in-line TOC...
Applying case-transforming CSS...
bhambhu is offline   Reply With Quote
Old 04-18-2014, 09:19 AM   #2
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: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
PDF output requires a running X server. Use xvfb.
kovidgoyal is offline   Reply With Quote
Advert
Old 04-19-2014, 02:11 AM   #3
bhambhu
Member
bhambhu began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Apr 2014
Device: epub to pdf
thanks

Quote:
Originally Posted by kovidgoyal View Post
PDF output requires a running X server. Use xvfb.
Thanks your so much
bhambhu is offline   Reply With Quote
Old 04-19-2014, 07:43 AM   #4
bhambhu
Member
bhambhu began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Apr 2014
Device: epub to pdf
use calibre

Quote:
Originally Posted by kovidgoyal View Post
PDF output requires a running X server. Use xvfb.

can i use calibre in my site without any issue.
i m also custimize calibre in my site.
bhambhu is offline   Reply With Quote
Old 04-20-2014, 01:17 AM   #5
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: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by bhambhu View Post
can i use calibre in my site without any issue.
i m also custimize calibre in my site.
calibre is licensed under the GNU GPL v3.

See: http://manual.calibre-ebook.com/faq....s-app-licensed

Last edited by eschwartz; 04-20-2014 at 02:01 AM.
eschwartz is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when converting from EPUB to PDF slex Conversion 3 05-28-2011 05:04 PM
Error - convert pdf to epub alephan Calibre 2 09-27-2010 05:12 PM
Conversion Error - pdf to epub Quint Calibre 3 09-26-2010 09:06 PM
PDF to epub error captainplanet Calibre 5 07-02-2010 12:50 PM
Error converting to PDF from EPub and PRC gauravj Calibre 3 05-24-2010 02:07 AM


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


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