Bug 98676 - soffice slot:5500 does not exist anymore
Summary: soffice slot:5500 does not exist anymore
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
5.0.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-15 08:48 UTC by Neil R
Modified: 2016-03-16 16:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil R 2016-03-15 08:48:12 UTC
Recently I have noticed that I can no longer open LO and have the templates manager dialogue box showing using the command-

soffice slot:5500

This true for all the versions that I have on my machine v5.0.5.2, 5.1.1.1 and dev5.2.
The last time I recall using this command was possibly 5.0.3.2 (?).

Having described this to an LO developer, he believes it is a possible regression -
 /opt/libreofficedev5.2/program/soffice slot:5500
/opt/libreofficedev5.2/program/soffice.bin: /opt/libreofficedev5.2/program/libuno_cppuhelpergcc3.so.3: version `PRIVATE_1.0' not found (required by /opt/libreofficedev5.2/program/libmergedlo.so)


and advise I create a new bug

Hope this helps

with best wishes
Neil
Comment 1 Maxim Monastirsky 2016-03-15 09:13:28 UTC
slot:XXXX commands are deprecated and shouldn't be used for many years. Moreover, nothing guarantees that the id of a specific command will remain the same in newer versions. Use .uno:XXXX instead (.uno:NewDoc in your case I guess).

But interestingly slot:5500 does work on my machine, with both 5.0.5.2 and recent master, so I guess you have some other problem. Can you test also .uno:NewDoc?
Comment 2 Neil R 2016-03-15 19:21:16 UTC
Hi Maxim,

Many thanks for your comments

I tried the command you suggested- soffice .uno:NewDoc - on the following versions

LOv5.0.5.2 & 5.1.1.1  fails: 
message:  
UNO exception during client open:
Given module is not a frame nor a window, controller or model.

LO dev5.2: works 
hopefully, it will work in the next release 5.2?

As the soffice slot:5500 does not work on my machine, you suggest I may have some other problem on my machine. The same problem occurs on both my PC and notebook - both running Debian testing (amd64)

Can you suggest what kind of problem I may have and where I should be looking for this problem?

very many thanks
Neil
Comment 3 Maxim Monastirsky 2016-03-16 08:39:12 UTC
(In reply to Neil R from comment #2)
> The same problem occurs on both my PC and
> notebook - both running Debian testing (amd64)
Well, I was originally testing with Fedora 23, but now I installed Debian testing (amd64) in a VM, and slot:5500 works there perfectly too (as well as .uno:NewDoc). So I wonder what's so special about your setup? Maybe strace could give as some hints?

> Can you suggest what kind of problem I may have and where I should be
> looking for this problem?
The first thing I would check is the package manager. Make sure that you don't have partial upgrades, or mixed packages from different Debian releases. Also make sure that LO is fully installed, as partial install (e.g. only Writer but not Calc etc.) isn't supported by upstream.
Comment 4 Neil R 2016-03-16 16:17:14 UTC
(In reply to Maxim Monastirsky from comment #3)
So I wonder what's so special about your setup? Maybe strace
> could give as some hints?

strace produced 273 lines of text which I was having difficulty to interpret.
I was going to send you a copy of this.
However, I recalled reading somewhere in the forum that deleting the user profile and create a new one can sometime resolve a problem.

On using soffice slot:5500, after disabling the original user profile, LibreOffice opened with the template manager box as required. It was successful with all installations (see below).
I repeated with soffice .uno:NewDoc with the same success.

I reactivated the original user profile to investigate which subcomponent was causing the problem. 
I discovered that the file  registrymodifications.xcu was causing the problem
Deleting this file allowed LO to open with the template manager box and a new registrymodifications.xcu file was created.

Note: even with the corrupted registrymodifications.xcu, LOdev5.2 was able to open the template manager box.


> 
> > Can you suggest what kind of problem I may have and where I should be
> > looking for this problem?
> The first thing I would check is the package manager. Make sure that you
> don't have partial upgrades, or mixed packages from different Debian
> releases. Also make sure that LO is fully installed, as partial install
> (e.g. only Writer but not Calc etc.) isn't supported by upstream.

All complete installations of full LO suite.
I have the latest LO version (5.1.1) via Debian package manager (installed in /usr/lib) and LO 5.1.1. & dev5.2 installed from LO download page (installed in /opt/)


Thank you for all your patience, help and advice
Neil