<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div style="font-family: Arial; font-size: 13px;">
<p style="margin: 0px; font-size: 13px; font-family: Arial;">An
update on this:</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"><br>
</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;">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:</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"><br>
</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;">from:<br>
</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;">UserInstallation=$SYSUSERCONFIG/libreoffice/4</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"><br>
</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;">to:</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;">UserInstallation=/home/suokunlong/.config/libreoffice/4</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"><br>
</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;">or:</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;">UserInstallation=/tmp/libreoffice/4</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"><br>
</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;">then
the application can run without any problem.</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"><br>
</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;">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.</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"><br>
</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;">Any
idea on this?</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"><br>
</p>
</div>
<div style="font-family: Tahoma, sans-serif; font-size: 13px;
padding-top: 5px; border-top: 1px solid #b5c4df;"><strong>From: </strong>Kevin
Suo [<a class="moz-txt-link-freetext" href="mailto:suokunlong@126.com">mailto:suokunlong@126.com</a>]<br>
<strong>Sent: </strong>Monday, September 12, 2022 09:35 PM +08<br>
<strong>To: </strong>libreoffice-dev<br>
<strong>Subject: </strong>terminate called after throwing an
instance of 'com::sun::star::deployment::DeploymentException'</div>
<br>
<div type="cite"
cite="mid:aa478695-c5ac-4dbb-c070-ca2e966f6dba@126.com">Dear devs:
<br>
<br>
I have compiled from souce code using the following autogen.input
parameters:
<br>
<br>
--without-help
<br>
--without-helppack-integration
<br>
--with-lang=zh-CN zh-TW
<br>
<br>
--disable-online-update
<br>
--disable-breakpad
<br>
--disable-odk
<br>
--without-doxygen
<br>
<br>
--enable-epm
<br>
--with-package-format=rpm
<br>
<br>
--with-external-tar=/mnt/data/suokunlong/lo/external_tarballs
<br>
--without-java
<br>
--enable-firebird-sdbc
<br>
--without-system-firebird
<br>
--enable-python=internal
<br>
<br>
The build succeeded. I can run the application from within the
<build-source>/instdir without any problem:
<br>
<br>
$ ./instdir/program/soffice
<br>
<br>
However, if I install the RPMs:
<br>
<br>
$ sudo dnf install
./workdir/installation/LibreOfficeDev/rpm/install/LibreOfficeDev_7.3.7.0.0_Linux_x86-64_rpm/RPMS/*.rpm<br>
<br>
and then run the installed application, I got the following error:
<br>
<br>
$ /opt/libreofficedev7.3/program/soffice.bin
<br>
terminate called after throwing an instance of
'com::sun::star::deployment::DeploymentException'
<br>
Unspecified Application Error
<br>
<br>
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?
<br>
<br>
Thank you in advance.
<br>
<br>
Kevin Suo
<br>
</div>
</body>
</html>