You are here

Spaces in launch path

10 posts / 0 new
Last post
Grano
Offline
Last seen: 13 years 1 month ago
Joined: 2011-02-15 12:20
Spaces in launch path

I used to launch OpenOffice Portable from my Win XP desktop. This does now work with LibreOffice Portable any more: an error message complaining on spaces in launch path is displayed (C:\Documents and Settings\username\Desktop\...)

Does anybody happen to know what might be the reason of such a change in behaviour? Is it a PortableApps or a LibreOffice issue?

Regards,

G, 18:35 frozen February time

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 45 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
LibreOffice

It's LibreOffice itself. OpenOffice.org used to have the same issue. So, rather than just having LibreOffice crash without error (which happens with spaces in the data path) we're having the launcher display a friendly warning.

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

Grano
Offline
Last seen: 13 years 1 month ago
Joined: 2011-02-15 12:20
Yes, this is what I have

Yes, this is what I have suspected. On the other hand, the OpenOffice 3.x worked OK... I do not like spaces in path myself as well, but one cannot choose on Win XP without admin privileges Sad

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 45 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
New Directory

On most XP installations, you can create a new directory in C:\ itself called PortableApps and go from there. The exception is locked down environments where you only have access to My Documents, of course. But then, in those cases, I think the path is too long for LO Portable or OO.o Portable to install to as it would exceed the path length limit.

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

Grano
Offline
Last seen: 13 years 1 month ago
Joined: 2011-02-15 12:20
Thanks

Yes, the C: drive root in or Computer Lab's machines was not protected. Worked OK, thanks a lot!

Best,

V Benko, 14:40 LibreOffice pre-teaching time Smile

portableappsin
Offline
Last seen: 3 years 3 months ago
Joined: 2011-09-11 01:24
This is also a problem to me:

This is also a problem to me: All my Portable Apps (and i have a lot) are located in a path which contains a space. No app except LibreOffice has a problem with it. I would have to make an exception for LibreOffice.

There is another way to get LibreOffice portable which works indeed with spaces. It is described here:
https://sites.google.com/site/tonisdb/home/libreofficeportabelinstallier...

Unfortunately LibreOffice tends to start in 8-9 seconds with this method whereas LibreOfficePortable tends to start in just 2-3 seconds.

That is the reason why iam stick to Openoffice Portable 3.2.

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 45 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Try This

We have a fix that we're testing internally and seems to work properly for LibreOffice Portable.
https://portableapps.com/node/29183

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

portableappsin
Offline
Last seen: 3 years 3 months ago
Joined: 2011-09-11 01:24
Wow, this was really fast.

Wow, this was really fast.

At least, this fix work for me. Thanks a lot. So imho the posts in this thread which claims, that LibreOffice itslef has the problem is not true - its just a launcher thing or a thing, how args are passed, isnt it?

Nevertheless, the fix tends to slow down starting LibreOffice. This is just an impression and not an exact measurement. In my opinion LibreOffice started in 2-3 seconds before and now (by adding the fix) it needs 4-5 seconds. Am i right?

Nevertheless, this is something i can live with. Thank you so much for the fix.

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 45 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
LibreOffice Issue

It is a LibreOffice issue as it can't handle a space in that variable due to a bug in the LibreOffice code somewhere. The $ORIGIN method of switching it isn't officially recommended... and the relative paths 'hack' may cause some issues internally within LibreOffice or in some add-ons, so it was something we were planning on testing thoroughly before making official. It worked when we tested it previously, but we didn't have time for a full public test before the 3.3.4/3.4.3 release. We'll be awaiting the results of testing before adding it in. So please post a note to the testing topic of how it worked for you Smile

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

portableappsin
Offline
Last seen: 3 years 3 months ago
Joined: 2011-09-11 01:24
Thanks for the update.

Thanks for the update.

Log in or register to post comments