Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-02-2016, 08:20 PM   #1
wooverine
Junior Member
wooverine began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2015
Device: Kindle PaperWhite
headless ebook-convert running on Ubuntu for Windows

I'm trying to get headless ebook-convert running on Ubuntu for Windows 10 (bash shell within Windows 10 Preview). I've been running

Code:
xvfb-run -a ebook-convert test.md out.pdf -vvv
and everything proceeds correctly until it reaches

Code:
Trimming unused files from manifest...
Processed HTML written to: /home/fred/pagekicker-community/here/processed
Creating PDF Output...
67% Running PDF Output plugin
where it hangs. I assume this is because it is missing some library needed for PDF creation. I installed qt5-default and qt5-dev via apt-get but did not fix. It would be good to be able to turn on verbose logging for the PDF output tools as Ubuntu for Windows is a stripped down version that does not support all syscalls and does not have all normal ubuntu libraries.
wooverine is offline   Reply With Quote
Old 05-02-2016, 09:35 PM   #2
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)
ebook-convert does not require xvfb-run.

calibre's cli tools are truly headless -- as long as you have the x server libraries installed on linux, it "just works" without the need for virtual displays.

OTOH, I have no idea how complete Ubuntu for Windows 10 is, and supposedly not everything works yet.
Since calibre already has a native Windows build, why not stick with that for now? I doubt running calibre for linux under a beta linux emulator for Windows is going to receive any sort of proper support...
eschwartz is offline   Reply With Quote
Advert
Old 05-02-2016, 10:25 PM   #3
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,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Why on earth are you running calibre for linux under windows? calibre for windows comes with its own ebook-convert.
kovidgoyal is offline   Reply With Quote
Reply

Tags
ebook-convert, headless, pdf, qt5


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu userland running on Windows 10 kacir News 22 04-10-2016 08:45 AM
Ubuntu Headless, Windows 8.1 and database malformation (Cygwin?) Kouwezakkie Devices 2 03-01-2015 01:56 PM
ebook-convert not found on headleass Ubuntu tomp Devices 8 07-29-2011 03:17 AM
Installing calibre solely for ebook-convert on headless system Zeroth Related Tools 1 08-24-2010 08:59 PM
ebook-convert don't work in ubuntu 9.10 vakya Calibre 2 10-26-2009 04:36 PM


All times are GMT -4. The time now is 08:45 PM.


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