You are here

[Fixed] Libre Office crashes with a space in the installation path

14 posts / 0 new
Last post
portableappsin
Offline
Last seen: 3 years 10 months ago
Joined: 2011-09-11 01:24
[Fixed] Libre Office crashes with a space in the installation path

Hi,

There was a fix for this already some month ago:
https://portableapps.com/node/29183

Nevertheless, LibreOffice wont start again when a space is in the installation path. Do you have any other fix?

Thanks for supporting

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 8 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Full Path

What is your full path. Keep in mind long paths will ALWAYS fail with this app no matter what.

Sometimes, the impossible can become possible, if you're awesome!

solanus
solanus's picture
Offline
Last seen: 10 years 1 month ago
Joined: 2006-01-21 19:12
Are you using it locally?

I use many PortableApps on my own PC instead of installing them - however, with the path issues of LibreOffice Portable, I've stopped using the portable version on my personal PC, and switched to the normal install, which seems to work just fine. If you are using locally on your own PC, you really should just consider the non-portable version.
I still use LibreOffice Portable on my USB drive, installed as recommended here (which does not have spaces in the install path).

I made this half-pony, half-monkey monster to please you.

portableappsin
Offline
Last seen: 3 years 10 months ago
Joined: 2011-09-11 01:24
Full Path

My full Path is:
D:\Eigene Dateien\0_PortableProgramme\LibreOfficePortable

Nevertheless, no other portable app has problems using this path Sad

There is also another method making the installation of libreoffice portable:
https://sites.google.com/site/tonisdb/home/libreofficeportabelinstallier...

But i would like to use the portable version from this site...

solanus
solanus's picture
Offline
Last seen: 10 years 1 month ago
Joined: 2006-01-21 19:12
Eigene Dateien is "My Documents" in English, correct?

If that's the case, and you are actually using the Windows system folder "My Documents", then that compounds the file-length issue.
If I'm not mistaken, the full path (in English) to that folder is
X:\Users\<Username>\My Documents, which would make the path even longer than you have listed.
LibreOffice Portable has a known problem using longer file paths, and this path would definitely be too long.

If, however, your "Eigene Dateien" is a folder you created (not a system folder), then you should be able to change the folder name to "Eigene_Dateien" and you will know if the space is the issue - although I suspect that you would still have too long of a path.

I made this half-pony, half-monkey monster to please you.

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
yes

it is.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

portableappsin
Offline
Last seen: 3 years 10 months ago
Joined: 2011-09-11 01:24
OK, you are right, when I

OK, you are right, when I replace "Eigene Dateien" with a "Eigene_Dateien" then it neither works. So its not the space providing the problem but the long path name.

Nevertheless, the portable version 3.4 (or was it 3.3.x - I have to double check) worked pretty fine for me.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 8 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Varies

The exact length of the path supported by each release of LibreOffice and OpenOffice.org varies as the paths contained in the app itself vary. The reason for the issue with these apps (and only these) is due to the extreme length of some of the paths within. Because of these, placing them in multiple sub-directories makes the paths even longer eventually overloading the app's ability to process them.

Sometimes, the impossible can become possible, if you're awesome!

portableappsin
Offline
Last seen: 3 years 10 months ago
Joined: 2011-09-11 01:24
Unfortunately I dont know any

Unfortunately I dont know any more which version worked. Is it possible to download old releases of the app?

Is the problem also forwarded to the OO-Developers?

When I transform an installation version to a portable version with the above linked method I dont get any problems with the path. Iam wondering why.

This is really an annoying problem.

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Old versions

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

barky
Offline
Last seen: 1 year 3 weeks ago
Joined: 2008-12-20 09:09
Needs shorter path

only sure way to make it work would be in X:\PortableApps\LibreOfficePortable
If I remember right this path issue goes back to staroffice days & existed in openoffice portable as well

solanus
solanus's picture
Offline
Last seen: 10 years 1 month ago
Joined: 2006-01-21 19:12
PortableApps have their limitations

I've been using PortableApps since the beginning, and for a long time I thought that I could install them anywhere, in any folder, no matter how many subfolders deep it was. For a brief period, I even thought that they were the future of ALL installations, and that the old non-portable method of installing apps would become obsolete.

The reality is that that's not true.

PortableApps work great as long as you install them in the recommended manner. That means that they get installed to X:\PortableApps\. LibreOffice is the app that is most dependent on this.
If you want to use LibreOffice Portable, and you want to use the best latest version of it, it needs to be installed in X:\PortableApps\.
Period.

I made this half-pony, half-monkey monster to please you.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 8 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not a Portable Issue

As discussed previously, this is not a portable software issue and it does not affect other apps. It is an issue solely with LibreOffice/OpenOffice.org due to path length and the way the app handles it. Everything else works as you want from wherever you want. Trying to make an internal issue with one app into a broad issue with portable software is a bit silly.

That said, I'm working on yet another attempt at getting LO to work in longer paths.

Sometimes, the impossible can become possible, if you're awesome!

portableappsin
Offline
Last seen: 3 years 10 months ago
Joined: 2011-09-11 01:24
Hi John, the new version

Hi John,

the new version works brillant again. Thanks for your hard work.

Log in or register to post comments