What the URL? http://localhost/docvert
? no. port 81? no...
Hou to do a "plug-and-play instalation?", like http://packages.ubuntu.com/lucid/web/docvert
but or NEW VERSION?
Hi, once you run ./docvert-web.py 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.
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
git clone git://github.com/holloway/docvert.git
# 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/docvert-web.py
Traceback (most recent call last):
File "/host/docvert/docvert-web.py", line 30, in
File "/host/docvert/core/docvert.py", line 7, in
File "/host/docvert/core/docvert_pipeline.py", line 3, in
ImportError: No module named lxml.etree
So I tried to install lxml.tree, but got errors during build...