Re: [libreoffice-users] LO 7.0 fails to start with --nologo

2020-09-05 Thread MR ZenWiz
On Sat, Sep 5, 2020 at 8:05 AM Stephan Bergmann  wrote:
>
:
> soffice is a shell script that tries to determine its location in the
> file system, so that it can call other executables like oosplash and
> javaldx next to itself.  See the section labelled with a "resolve
> installation directory" comment determining the sd_prog variable, which
> shall resolve to the actual directory containing the soffice shell
> script, with any symlinks resolved.
>
> The "double symlink" scenario you outline above works e.g. fine for me
> on Fedora 32.  You need to debug into that shell script code to see why
> it breaks for you.
>
Thanks for the suggestion.

I ran the command as "bash -x /usr/bin/libreoffice --calc --nologo"
and everything works fine down to the following (last) command, which
opens calc with no logo.  However notice what also appears:

+ exec /opt/libreoffice7.0/program/oosplash --calc --nologo
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx

oosplash is an ELF binary that actually runs (all?) the LibreOffice
programs.  While that seems obscure enough for me, the problem (not
finding a java runtime system)  has nothing to do with the symlinks I
have set up for my keyboard shortcuts so they work independent of
where LO actually lives on my machine.

I don't know why this is happening, but I do know it has been going on
at least since LO 5, and there have been many many comments on this
email list about it being a bug, to which I agree.

I have not seen any errors or other impact of this problem - maybe I
don't use the JRE enough, or the errors are invisible for everything I
am doing, and I find it disturbing that this keeps getting reported
and not fixed.

That said, I consider my problem resolved - no need for further input
here.  If someone wants to comment on the JRE issue, please post in a
new thread, don't complicate this one.

Thanks.

Mark

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] LO 7.0 fails to start with --nologo

2020-09-05 Thread Stephan Bergmann
[Please do not turn this into a private conversation by dropping the 
mailing list; added it back now]


On 04/09/2020 20:05, MR ZenWiz wrote:

On Thu, Sep 3, 2020 at 11:35 PM Stephan Bergmann  wrote:

What looks suspicious with the original post is that they have a
/usr/bin/libreoffice, which is not something that an upstream TDF LO
would normally install.  So this rather looks like an issue with how
they obtained and installed LO (presumably from their distro).


/usr/bin/libreoffice is a symlink I add so I can use a keyboard
shortcut to run writer or calc without having to change the shortcut
everytime a new major release comes out.

Like so:

lrwxrwxrwx 1 root root 23 Sep  3 14:55 /usr/bin/libreoffice ->
/usr/bin/libreoffice7.0*
lrwxrwxrwx 1 root root 35 Feb 28  2020 /usr/bin/libreoffice6.4 ->
/opt/libreoffice6.4/program/soffice*
lrwxrwxrwx 1 root root 35 Sep  3 14:57 /usr/bin/libreoffice7.0 ->
/opt/libreoffice7.0/program/soffice*

I trust you are not saying that using a symlink will break something
in the binaries - that would be tragic.


soffice is a shell script that tries to determine its location in the 
file system, so that it can call other executables like oosplash and 
javaldx next to itself.  See the section labelled with a "resolve 
installation directory" comment determining the sd_prog variable, which 
shall resolve to the actual directory containing the soffice shell 
script, with any symlinks resolved.


The "double symlink" scenario you outline above works e.g. fine for me 
on Fedora 32.  You need to debug into that shell script code to see why 
it breaks for you.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] LO 7.0 fails to start with --nologo

2020-09-04 Thread Stephan Bergmann

On 04/09/2020 07:53, Luuk wrote:

On 3-9-2020 18:48, MR ZenWiz wrote:

I saw this error when I tried to start LO 7.0 Calc from the command line:

$ /usr/bin/libreoffice --calc --nologo
/usr/bin/libreoffice: 191: exec: /usr/bin/oosplash: not found

I located oosplash and symlinked it to /usr/bin and got this:


I think oosplash is not part of LibreOffice 7.0


oosplash is a Linux-only part of LO.

What looks suspicious with the original post is that they have a 
/usr/bin/libreoffice, which is not something that an upstream TDF LO 
would normally install.  So this rather looks like an issue with how 
they obtained and installed LO (presumably from their distro).



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] LO 7.0 fails to start with --nologo

2020-09-04 Thread Luuk


On 3-9-2020 18:48, MR ZenWiz wrote:

I saw this error when I tried to start LO 7.0 Calc from the command line:

$ /usr/bin/libreoffice --calc --nologo
/usr/bin/libreoffice: 191: exec: /usr/bin/oosplash: not found

I located oosplash and symlinked it to /usr/bin and got this:

$ sudo ln -s /opt/libreoffice7.0/program/oosplash /usr/bin/oosplash
$ /usr/bin/libreoffice --calc --nologo
Warning: failed to launch javaldx - java may not function correctly
ERROR 4 forking process


On Ubuntu18 i am getting:

$ /usr/local/bin/libreoffice7.0 --calc --nologo
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx

And, after that calc starts normally.


Your installation seems to be defective? or it is having remains of 
another/older office product.



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] LO 7.0 fails to start with --nologo

2020-09-03 Thread Luuk


On 3-9-2020 18:48, MR ZenWiz wrote:

I saw this error when I tried to start LO 7.0 Calc from the command line:

$ /usr/bin/libreoffice --calc --nologo
/usr/bin/libreoffice: 191: exec: /usr/bin/oosplash: not found

I located oosplash and symlinked it to /usr/bin and got this:


I think oosplash is not part of LibreOffice 7.0

(It is not present under my Windows installation, and not on my Ubuntu18 system)

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy