Ok

Thanks

What do you think of mariadb ?, i'am on derby (more simple to install for a novice)

best regards


Le 28/06/2015 15:06, Maxim Solodovnik a écrit :
the package has name "imagemagic" it's binary is called "convert" :)

On Sun, Jun 28, 2015 at 7:05 PM, phil <[email protected] <mailto:[email protected]>> wrote:

    Hi

    thanks for your help, the second part is fine

    concernant the first part :
    find / -name imagemagick
    /usr/lib/mime/packages/imagemagick
    /usr/share/menu/imagemagick
    /usr/share/bug/imagemagick
    /usr/share/doc/imagemagick

    so my path seems to be /usr/share/menu

    but It does'nt works when I tests your solution it works, thanks,
    but why ?

    Best regards
    phil

    Le 28/06/2015 13:08, phil a écrit :
    Hi

    debian jessie OM 3.0.6

    libreoffice:
      Installé : 1:4.3.3-2+deb8u1

    jodconverter:
      Installé : 2.2.2-8
      Candidat : 2.2.2-8

    Path in OM

        
    17
        
    swftools_path
        
    /usr/bin/
    18
        
    imagemagick_path
        
    /usr/share/menu/
    19
        
    sox_path
        
    /usr/bin/
    20
        
    ffmpeg_path
        
    /usr/bin/
    21
        
    office.path
        
    /usr/bin/
    22
        
    jod.path
        
    /opt/jodconverter-core-3.0-beta-4/lib


I can see documents pdf, jpg... so swftools seems to be ok pdf2swf installed, just a windows with this error :

    key: processThumb
    process: generateBatchThumbByWidth
    command: /usr/share/menu/convert -thumbnail 50x50
    
/opt/red5306/webapps/openmeetings/upload/files/b2cb448074b50ea33eddbfad0ec94a24.jpg
    
/opt/red5306/webapps/openmeetings/upload/files/_thumb_b2cb448074b50ea33eddbfad0ec94a24.jpg

    exception: java.io.IOException: Cannot run program
    "/usr/share/menu/convert": error=2, Aucun fichier ou dossier de
    ce type
    error: Cannot run program "/usr/share/menu/convert": error=2,
    Aucun fichier ou dossier de ce type
    exitValue: -1
    out:

    find / -name convert returns :

    /var/lib/dpkg/alternatives/convert
    /etc/alternatives/convert
    /usr/bin/convert
    /usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16/convert

    But I can see picture or pdf


    When I load a odt, ods file I have this error msg :

    key: processThumb
    process: generateBatchThumbByWidth
    command: /usr/share/menu/convert -thumbnail 80
    
/opt/red5306/webapps/openmeetings/upload/files/7208cf7d0ec987a2b47e9d5dbbca0c8c/7208cf7d0ec987a2b47e9d5dbbca0c8c.pdf
    
/opt/red5306/webapps/openmeetings/upload/files/7208cf7d0ec987a2b47e9d5dbbca0c8c/_thumb_page-%04d.jpg

    exception: java.io.IOException: Cannot run program
    "/usr/share/menu/convert": error=2, Aucun fichier ou dossier de
    ce type
    error: Cannot run program "/usr/share/menu/convert": error=2,
    Aucun fichier ou dossier de ce type
    exitValue: -1
    out:
    key: processXML
    process: generateXMLDocument
    command: null
    exception: null
    error: null
    exitValue: 0
    out: null
    key: processOpenOffice
    process: doJodConvert
    command: java -Doffice.home=/usr/bin/ -cp
    /opt/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar -cp
    /opt/jodconverter-core-3.0-beta-4/lib/json-20090211.jar -cp
    /opt/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar -cp
    /opt/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar -cp
    /opt/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar -cp
    /opt/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar -cp
    /opt/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar
    -cp /opt/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar -jar
    /opt/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar
    
/opt/red5306/webapps/openmeetings/uploadtemp/files/7208cf7d0ec987a2b47e9d5dbbca0c8c.odt
    
/opt/red5306/webapps/openmeetings/upload/files/7208cf7d0ec987a2b47e9d5dbbca0c8c/7208cf7d0ec987a2b47e9d5dbbca0c8c.pdf

    exception: null
    error: Exception in thread "main"
    java.lang.IllegalStateException: invalid officeHome: it doesn't
    contain soffice.bin: /usr/bin
        at
    
org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:167)
        at
    org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111)

    exitValue: 1
    out:

    I verified soffice and libreoffice are in /usr/bin

    What can I do ?
    I'm novice on linux server and om (12 days)
    thanks a lot






--
WBR
Maxim aka solomax

Reply via email to