Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffice5.0

LogicalDOC has many interesting features, but requires some configuration process to show its full potential.

Moderators: car031, car031, car031

lmilesuk
Posts: 10
Joined: Thu Jan 28, 2016 12:43 pm

Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffice5.0

Post by lmilesuk » Wed Feb 03, 2016 2:18 pm

Hi,

Could some tell me whether logicaldoc is capable of showing LibreOffice previews for .doc, .odt, .txt extensions. As at present I am unable to configure it to work correctly.

I have pdf's, jpegs previewing (only in the small preview window in the documents->Properties tab, the main preview tab doesn't work at all it is blank with a black bar along the top!!!), however it doesn't seem to work with anything to do with from libreoffice.

My Administrations->Settings->GUI Settings are currently set too;

See ScreenShot

However I have also tried

/usr/lib/libreoffice
/usr/local/bin/libreoffice5.0

With no effect.

My setup is;

LogicalDoc 7.4
Ubuntu 14.04 LTS x64
libreoffice 5.0.4.2 x64

Many thanks in advance
Attachments
Screenshot.png
ScreenShot
Screenshot.png (86.37 KiB) Viewed 5125 times

shatzing
Posts: 35
Joined: Tue Jan 21, 2014 9:46 am

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Post by shatzing » Wed Feb 03, 2016 6:45 pm

Check this page for the correct configuration of LibreOffice:

http://docs.logicaldoc.com/en/installat ... are-ubuntu

For what regards the setup of SWFTools you will have to build and compile from the sources since the packages for Ubuntu as far as I remember does not include the command that LD needs: pdf2swf

shatzing
Posts: 35
Joined: Tue Jan 21, 2014 9:46 am

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Post by shatzing » Wed Feb 03, 2016 6:48 pm

This is to get SWFTools 0.9.0

Code: Select all

sudo apt-get install libjpeg62 libgif4 libart-2.0-2
wget http://archive.canonical.com/ubuntu/pool/partner/s/swftools/swftools_0.9.0-0ubuntu2_amd64.deb
chmod a+x swftools_0.9.0-0ubuntu2_amd64.deb
sudo dpkg -i swftools_0.9.0-0ubuntu2_amd64.deb

shatzing
Posts: 35
Joined: Tue Jan 21, 2014 9:46 am

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Post by shatzing » Wed Feb 03, 2016 6:54 pm

This is another useful link that will allow you to setup a more updated version of SWFTool

https://help.ubuntu.com/community/SWFTools

lmilesuk
Posts: 10
Joined: Thu Jan 28, 2016 12:43 pm

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Post by lmilesuk » Thu Feb 04, 2016 7:57 am

So I followed the guide you sent me and the user manual. And have reinstalled swfttools;

I now do a whereis swfttools in teminal and get /usr/share/swftools. My setup now looks like (see screenshot.

Previews are still only working for PDF's and JPEGs in the little preview box and nothing works for preview tab.

Any more Idea's?
Attachments
1.png
1.png (37.11 KiB) Viewed 5100 times

agaspa
Posts: 490
Joined: Tue Apr 20, 2010 8:24 am

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Post by agaspa » Fri Feb 12, 2016 12:52 pm

Hi @lmilesuk,
unfortunatelly there is a thing you should know,
in the latest available distribution of SWFTools for Ubuntu the needed command is missed,
check for the command pdf2swf

Code: Select all

whereis pdf2swf
If you have it installed you should use its parent path so, if pdf2swf full path is /usr/bin/pdf2swf
you should just put /usr/bin in the field SWFTools path

Also I have another interesting info,
starting from LogicalDOC 7.4.2 SWFTools will be no more required, so you don't need to install it in your system to see the preview of the documents.

shatzing
Posts: 35
Joined: Tue Jan 21, 2014 9:46 am

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Post by shatzing » Fri Feb 12, 2016 5:17 pm

Hi to all,
I found a good article that can be useful: swftools on Ubuntu 14.04 – Trusty Tahr

Here is the link:
http://www.toysdesk.com/2014/06/swftool ... usty-tahr/

The sequence of commands allows to successfully compile and install on the system SWFTools version 0.9.2

lmilesuk
Posts: 10
Joined: Thu Jan 28, 2016 12:43 pm

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Post by lmilesuk » Wed Feb 17, 2016 9:20 am

So now when I do a whereis pdf2swf;

pdf2swf: /usr/local/bin/pdf2swf

My settings are now set at (See Screenshot 1)

This has not helped improve the previews at all, I am unable to get a preview. the only previews I do see is the thumbnail in properties for jpeg and pdf's. However this doesn't work for .txt, .doc, .zip.

Am I missing anything else here?

Many thanks
Attachments
Screenshot 1.png
Screenshot 1.png (24.6 KiB) Viewed 5010 times

agaspa
Posts: 490
Joined: Tue Apr 20, 2010 8:24 am

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Post by agaspa » Thu Feb 18, 2016 12:20 pm

Hi lmilesuk,
the community edition of LD has limited preview capabilities,
in particular you can get the preview of images, txt, html and pdf, but not openoffice documents or ms office documents.
In order to know if everything is in place try to upload a new pdf and request the preview of it.

lmilesuk
Posts: 10
Joined: Thu Jan 28, 2016 12:43 pm

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Post by lmilesuk » Fri Feb 19, 2016 12:43 pm

Ok but my previews aren't working for txt or hrml, which third party app is responsible for this? So I know what to investigate further?

Locked

Who is online

Users browsing this forum: No registered users and 1 guest