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

Bug#545482: openoffice.org-common: unopkg should set PYTHONPATH



Package: openoffice.org-common
Version: 1:3.1.1-1
Severity: minor


Installing a Python extension with 'unopkg add' fails with:

  ERROR: python-loader:<type 'exceptions.ImportError'>: No module named
  pythonloader, traceback follows
  no traceback available
  Exception details: 
  (com.sun.star.uno.RuntimeException) { { Message = "python-loader:<type
  'exceptions.ImportError'>: No module named pythonloader, traceback
  follows\X000ano traceback available", Context = (com.sun.star.uno.XInterface)
  @0 } }

  unopkg failed.

Looking at the Debian ChangeLog I believe this to be similar to
    * debian/shell-lib.sh: export PYTHONPATH="/@OOBASISDIR/program" as
      regstering mailmerge.py aparently calls "import pythonloader" which
      does not work anymore without (closes: #522536)

and would suggest to also export PYTHONPATH= in unopkg (which is a shell
wrapper, so probably not difficult).


Cheers,

	Frederic

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages openoffice.org-common depends on:
ii  openoffice.org-style-galaxy   1:3.1.1-1  full-featured office productivity 

Versions of packages openoffice.org-common recommends:
pn  openoffice.org-style-crystal  <none>     (no description available)
pn  openoffice.org-style-oxygen   <none>     (no description available)
ii  openoffice.org-style-tango    1:3.1.1-1  full-featured office productivity 
pn  xfonts-mathml                 <none>     (no description available)

Versions of packages openoffice.org-common suggests:
pn  openoffice.org-style-hicontra <none>     (no description available)
pn  openoffice.org-style-industri <none>     (no description available)

-- no debconf information



Reply to: