[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#738795: permission bug when installing a python2-depend addon



Package: libreoffice-common
Version: 1:3.5.4+dfsg2-0+deb7u2
Severity: normal

Dear Maintainer,

As I wanted to install the libreoffice addon Grammalecte-v0.3.6.2-py2x.oxt
for all users, I first met accros difficulties because a error message
displayed the folowing text :

(com.sun.star.deployment.DeploymentException) { { Message =
"You need write permissions to install this extension!",
Context = (com.sun.star.uno.XInterface) @9677b00 },
Cause = (any) { void } }

I solved the problem on two systems (i386 and amd64) by closing
libreoffice window, restarting it and re-installing the addon.
No permission problem occurs on the second try, only if we close
libreoffice main window between first and second try.

Once I found that workaround, I tried to install the addon for all users
using the following commands :

killall soffice.bin
find /home/ -regex '.*/.config/libreoffice/3/.lock' -exec rm -f {} \;
wget http://www.dicollecte.org/grammalecte/oxt/Grammalecte-v0.3.6.2-py2x.oxt
sudo unopkg add --shared --verbose Grammalecte-v0.3.6.2-py2x.oxt

The following command showed me that the extension was properly
installed as a shared one :
sudo unopkg list --shared

But when I ran libreoffice, the extension was missing.
When I listed extensions as user in a terminal, it was missing too with
any of the following command :
unopkg list
unopkg list --shared

So I bowed to the evidence that I was forced to install that python2
addon graphically or in command line in my own profile, even if
the addon is already installed for shared.

I didn't test if libreoffice from a desktop root user had the same
symptoms.

Regards.
loriel.

-- System Information:
Debian Release: 7.4
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libreoffice-common depends on:
ii  dpkg                                                 1.16.12
ii  libreoffice-style-galaxy [libreoffice-style-default  1:3.5.4+dfsg2-0+deb7u2
ii  libreoffice-style-tango [libreoffice-style]          1:3.5.4+dfsg2-0+deb7u2
ii  ure                                                  3.5.4+dfsg2-0+deb7u2

Versions of packages libreoffice-common recommends:
ii  libexttextcat-data  3.2.0-2
ii  xfonts-mathml       6

Versions of packages libreoffice-common suggests:
pn  libreoffice-style-crystal     <none>
pn  libreoffice-style-hicontrast  <none>
pn  libreoffice-style-oxygen      <none>
ii  libreoffice-style-tango       1:3.5.4+dfsg2-0+deb7u2

-- no debconf information


Reply to: