terminate called after throwing an instance of 'com::sun::star::deployment::DeploymentException'

Kevin Suo suokunlong at 126.com
Wed Sep 14 02:57:08 UTC 2022


 > I find that this may be caused by some bug when handling the user 
profile. When I change the following line in 
/opt/libreofficedev7.3/program/bootstraprc:


Ops... That was a wrong observation bacause I ran a different normal 
installation after I changed the bootstraprc. Please ignore the below 
workaround message. The problem still exists when I change that.



*From: *Kevin Suo [mailto:suokunlong at 126.com]
*Sent: *Wednesday, September 14, 2022 10:53 AM +08
*To: *libreoffice at lists.freedesktop.org
*Subject: *terminate called after throwing an instance of 
'com::sun::star::deployment::DeploymentException'

An update on this:


I find that this may be caused by some bug when handling the user 
profile. When I change the following line in 
/opt/libreofficedev7.3/program/bootstraprc:


from:

UserInstallation=$SYSUSERCONFIG/libreoffice/4


to:

UserInstallation=/home/suokunlong/.config/libreoffice/4


or:

UserInstallation=/tmp/libreoffice/4


then the application can run without any problem.


There will be no such error even if I then change it back to 
"UserInstallation=$SYSUSERCONFIG/libreoffice/4" after a successful run. 
The "DeploymentException" only occurs when I first run the rpm/deb 
installation.


Any idea on this?


*From: *Kevin Suo [mailto:suokunlong at 126.com]
*Sent: *Monday, September 12, 2022 09:35 PM +08
*To: *libreoffice-dev
*Subject: *terminate called after throwing an instance of 
'com::sun::star::deployment::DeploymentException'

Dear devs:

I have compiled from souce code using the following autogen.input 
parameters:

--without-help
--without-helppack-integration
--with-lang=zh-CN zh-TW

--disable-online-update
--disable-breakpad
--disable-odk
--without-doxygen

--enable-epm
--with-package-format=rpm

--with-external-tar=/mnt/data/suokunlong/lo/external_tarballs
--without-java
--enable-firebird-sdbc
--without-system-firebird
--enable-python=internal

The build succeeded.  I can run the application from within the 
<build-source>/instdir without any problem:

$ ./instdir/program/soffice

However, if I install the RPMs:

$ sudo dnf install 
./workdir/installation/LibreOfficeDev/rpm/install/LibreOfficeDev_7.3.7.0.0_Linux_x86-64_rpm/RPMS/*.rpm

and then run the installed application, I got the following error:

$ /opt/libreofficedev7.3/program/soffice.bin
terminate called after throwing an instance of 
'com::sun::star::deployment::DeploymentException'
Unspecified Application Error

The same happens on both Ubuntu 22.04 and Fedora 36, also on the 7.4 
branch. I remember I did install the rpms from my own build years ago 
and this issue did not happen. Not sure why it fails now. Am I missing 
something?

Thank you in advance.

Kevin Suo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20220914/0d4a59b0/attachment.htm>


More information about the LibreOffice mailing list