LibreOffice 5.0 won't open a file located on a network share folder

Discussion in 'Software & Applications' started by williepabon, Jun 16, 2016.

Tags:
  1. williepabon

    williepabon Thread Starter
    Expand Collapse
    Member

    Joined:
    Nov 30, 2015
    Messages:
    19
    Likes Received:
    0
    I have LibreOffice 4.4 and 5.0 in my HP laptop. I also have LibreOffice files on another pc (Linux) that is part of my home network. If I use LibreOffice 4.4, I have no problem opening and editing the files that are on the Linux pc, from my laptop. If I use LibreOffice 5.0 nothing happens. I can't open said files. The problem occurs with all the apps (LibreOffice write, calc and draw). Any suggestions to solve this problem? Thanks.
    wp
     
  2. LKX7

    LKX7
    Expand Collapse
    Member

    Joined:
    Jun 1, 2015
    Messages:
    19
    Likes Received:
    8
    Hi wp, i think you have several options. First, you can try to get the error message while you are opening the file through terminal? Just give it a try like this:

    Code (Text):
    libreoffice --writer myfiletoopen.odt
    Is there an error message displayed? This way we may can search for a fix together :)

    Another try could be, to upgrade LibreOffice to another (stable) version with a PPA. Maybe with the newest LibreOffice 5.1.3 dont have this issue? It is easy, just do this in your terminal:

    Code (Text):
    sudo add-apt-repository ppa:libreoffice/libreoffice-5-1
    #Press ENTER
    sudo apt-get update
    sudo apt-get upgrade
    #It should note that LibreOffice Packages are going to be upgraded. Confirm with [Y]
    If you want to delete this PPA-version again, you can delete the PPA-Repository and reinstall the libreoffice packages (it will fetch them from the standard elementary repository again) this way:

    Code (Text):
    sudo add-apt-repository ppa:libreoffice/libreoffice-5-1 --remove
    #Press ENTER
    sudo apt-get update
    sudo apt-get install --reinstall libreoffice
    Waiting for your feedback :)
    LKX7
     
  3. williepabon

    williepabon Thread Starter
    Expand Collapse
    Member

    Joined:
    Nov 30, 2015
    Messages:
    19
    Likes Received:
    0
    LKX7:
    Thanks so much for helping me out in this issue. Right now, the latest version of LibreOffice I have installed is version 5.0.6.3. Following is the code that happens when I run LibreOffice from terminal:
    Code (Text):

    williepabon@WP-Pavilion:~$ libreoffice5.0 --writer '/run/user/1000/gvfs/smb-share:server=wp-macmini,share=documents/ATT SMS Codes.odt'
    javaldx: Could not find a Java Runtime Environment!
    Warning: failed to read path from javaldx
    Gtk-Message: Failed to load module "pantheon-filechooser-module"

    (soffice:3393): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (soffice:3393): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (soffice:3393): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (soffice:3393): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (soffice:3393): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    Gtk-Message: Failed to load module "canberra-gtk-module"
    Incidentally, running the program in this way, opens the file. Thanks for any help.
    wp
     
  4. LKX7

    LKX7
    Expand Collapse
    Member

    Joined:
    Jun 1, 2015
    Messages:
    19
    Likes Received:
    8
    Hey wp,
    cool :) So with the command line it opens, without it doesn't? Because we see now some errors, we can try to resolve it. I guess the "Pixmap" issue we can ignore (i see sometimes the same message here with oder gtk apps). But when i search for Gtk-Message: Failed to load module "canberra-gtk-module" there could be this solution from askubuntu.com:
    Code (Text):
    sudo apt-get install libcanberra-gtk-module:i386 #or maybe the other package (amd64) is missing
    sudo apt-get install libcanberra-gtk-module
    And for the message "javaldx: Could not find a Java Runtime Environment!" maybe it helps to install jre:

    Code (Text):
    sudo apt-get install openjdk-7-jre openjdk-7-jre-headless
    Maybe it help :- ) You can give it a try :)
     
  5. williepabon

    williepabon Thread Starter
    Expand Collapse
    Member

    Joined:
    Nov 30, 2015
    Messages:
    19
    Likes Received:
    0
    LKX7:
    Thanks for the help. Sorry to report that the problem still exists. There's been some improvement, though. The open jdk-7 and the libcanberra issues disappeared when I installed said modules. Here's the code now:
    Code (Text):

    williepabon@WP-Pavilion:~$ libreoffice5.0 --writer '/run/user/1000/gvfs/smb-share:server=wp-macmini,share=documents/ATT SMS Codes.odt'
    Gtk-Message: Failed to load module "pantheon-filechooser-module"

    (soffice:7276): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (soffice:7276): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (soffice:7276): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (soffice:7276): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (soffice:7276): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
     
    It seems that the pantheon-file-chooser needs to be installed. How I do it? Thanks.
    wp
     

Share This Page

Loading...