Skip to content


Subversion checkout URL

You can clone with
Download ZIP


more details about HOW TO USE #6

ppKrauss opened this Issue · 13 comments

4 participants


What the URL? http://localhost/docvert

? no. port 81? no...

Hou to do a "plug-and-play instalation?", like


Hi, once you run ./ it will be available at http://localhost:8080 . There are also some command line parameters that will make it available on other ports.

Unfortunately the Debian/Ubuntu maintainer no longer packages Docvert, and those packages use the out-of-date PHP version.

@holloway holloway closed this

Sorry to ask again, but is there any distro (linux or unix) that i can use with docvert ? Do u recommend one ?
PLease... I am setting up the env, i can use any, even windows server. But what do u suggest ?

Ty a lot


No problem, I'll get you a recommendation tonight (in about 12 hours)


I imagine that it will work on any modern Ubuntu or Debian however as I'm using Mint (which is very similar to Ubuntu) then I'll recommend that. I'm using Mint 12.04.

However if you do have another Debian/Ubuntu-based Linux around then please just try that. It's fairly easy to install.

After installing that I just do this to get it going,

sudo apt-get install libreoffice python-uno python-lxml python-imaging pdf2svg librsvg2-2
/usr/bin/soffice -headless -norestore -nologo -norestore -nofirststartwizard -accept="socket,port=2002;urp;"
# then in another terminal
cd ~
git clone git://
cd docvert
python ./
# and browse to http://localhost:8080


I managed to work on Deb 6.06. But when i load the sample file given and converted to simple web page, it didn't create all the file. Just the part after the first 2 pages. how can i do all document ?



BTW, thwe version is 4.07 and asked one long page, if i ask for break up over Heading 1, nothing happens on the preview page. Zip file created is the same.


Which exact version of Python, lxml, and LibreOffice/OpenOffice are you running?

Are you using Ubuntu 6.06? If so, that means you're using a linux distro from June 2006... a 6 year old distro that builds upon a 6 year old version of OpenOffice won't be able to handle most conversions.

When you say that the version is 4.07 what do you mean? Which version... Docvert? If so, please use the latest version.


It worked! Cool. Using iceweasel (firefox fork for Debian) Ty for yr help!


I tried the above on Ubuntu 12.04, and got:

erelsgl@erel-biu:/host/lxml$ python /host/docvert/
Traceback (most recent call last):
File "/host/docvert/", line 30, in
import core.docvert
File "/host/docvert/core/", line 7, in
import docvert_pipeline
File "/host/docvert/core/", line 3, in
import lxml.etree
ImportError: No module named lxml.etree

So I tried to install lxml.tree, but got errors during build...

Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.