Skip to content

Basic installation process #51

Closed
aroxo opened this Issue Apr 25, 2012 · 35 comments

2 participants

@aroxo
aroxo commented Apr 25, 2012

I'm trying to get unoconv up and running on a shell only Debian system. Do I need to install LibreOffice separately?

I've managed to install it using simple apt-get install unoconc, but when I try and run a command to convert a ppt to jpgs, I'm getting some "Format not supported" complaint. Example below:

:~/ppt-test# unoconv -f jpg my-file.ppt
unoconv: UnoException during conversion: URL seems to be an unsupported one.
The provided document cannot be converted to the desired format.

Maybe the basic command structure is simple wrong?

@dagwieers
Owner

What version of unoconv is this ? Could you try using v0.5 ?

Also you need LibreOffice installed, as well as the packages that are needed for what you like to do. In your case, you may need libreoffice-draw or any other related LibreOffice package. (I am sorry, I don't know what sub-packages are required for Debian. Easiest is to install all of them).

@aroxo
aroxo commented Apr 25, 2012

THanks for the fast response. I installed with with a simple apt-get install unoconv, so I'm guessing it's the latest version. I noticed that it installed Open Office as a dependency. When I tried to installed LIbreOffice I got a page full of unmet dependencies which it then refused to install.

It's an AWS vitutal instance, so it's easy to kill and start again.

Is the a repository for unoconv I should wire up?

@aroxo
aroxo commented Apr 25, 2012

Ok, it's version 0.3, not 0.5.

@aroxo
aroxo commented Apr 25, 2012

Right, how do I install version 0.5, rather than 0.3? Is there a respository I can point to?

@aroxo
aroxo commented Apr 25, 2012

Sorry - meant to add a massive thanks too!

@dagwieers
Owner

Installation of unoconv is simple, you can take the unoconv python script from the latest release (or the master branch) and then run it with python. It is likely your problem is caused by v0.3 not supporting LibreOffice (yet). If this works, I would like you to report this to the upstream project (Debian) to update their unoconv package to v0.5. Please let me know if your issue is fixed with v0.5 !

@dagwieers dagwieers was assigned Apr 26, 2012
@aroxo
aroxo commented Apr 26, 2012
@aroxo
aroxo commented Apr 26, 2012
@dagwieers
Owner

BTW I updated the README on Github to reflect the installation procedure. It should provide sufficient hints to what is needed to get unoconv working. I would appreciate if you could read it and apply what you think is necessary on Debian to make sure you have a working LibreOffice (including pyuno and xsltfilter) setup.

And thanks for opening a bug for Debian to update to v0.5. Much appreciated !

@aroxo
aroxo commented Apr 28, 2012
@dagwieers
Owner

@aroxo I verified on my system, and for converting graphics, you may need openoffice or libreoffice sub-packages installed named e.g. libreoffice-draw and libreoffice-graphicfilter. They may not be requirements for the Debian package, but may be suggested instead ? Your mileage may vary...

@aroxo
aroxo commented May 2, 2012
@dagwieers
Owner
@aroxo
aroxo commented May 2, 2012
@aroxo
aroxo commented May 2, 2012
@dagwieers
Owner
@aroxo
aroxo commented May 4, 2012
@dagwieers
Owner
@aroxo
aroxo commented May 4, 2012
@dagwieers
Owner

I am closing this issue. Various changes have been made to the master tree. If you still have issues making unoconv work on your distribution, please reopen this issue. Thanks in advance !

@dagwieers dagwieers closed this May 16, 2012
@aroxo
aroxo commented Jun 26, 2012
@dagwieers
Owner

@aroxo Have you tried with the latest version from the master branch ? We have made various improvements. Should work out of the box. Testing with this version can give us a clue if we are improving for the open issues. I would like to release this ASAP as v0.6.

@aroxo
aroxo commented Sep 7, 2012
@dagwieers
Owner

You can download a tarball directly from: https://github.com/dagwieers/unoconv/tarball/master or a zip file from: https://github.com/dagwieers/unoconv/zipball/master

Thanks in advance !

@aroxo
aroxo commented Sep 8, 2012
@dagwieers
Owner

This is related to the filter. The PageRange option only works for the pdf-filter. I don't know the various options the jpeg filter supports :-/

One way to do what you like, is use the html output filter, which creates an image of each slide.

@aroxo
aroxo commented Sep 9, 2012
@dagwieers
Owner

The LibreOffice/OpenOffice jpeg filter. I don't know what options this filter accepts as it is not documented (for UNO)...

@aroxo
aroxo commented Sep 9, 2012
@dagwieers
Owner

Do you have a reference ? Might be useful to others too...

@aroxo
aroxo commented Sep 10, 2012
@aroxo
aroxo commented Sep 12, 2012
@dagwieers
Owner

The reply makes perfect sense where the aim is to make a specific selection for the export. We have in fact another issue open (#34) for making selections (in a document-type agnostic manner). I would like to track all relevant bits there.

@dagwieers
Owner

Another suggestion I have made is to allow plugins in unoconv, so specific manipulations (or in this case selections) can be added for specific use-cases. This would allow anyone to create their own specific manipulation. See issue #40 for an example.

@aroxo
aroxo commented Sep 12, 2012
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.