← Back to team overview

desktop-packages team mailing list archive

[Bug 888525] Re: LibreOffice Missing Files For JavaScript Macros to work in 11.10

 

adam jvok, the issue you are reporting is an upstream one and it would
be nice if somebody having it could send the bug to the developers of
the software by following the instructions at
http://wiki.documentfoundation.org/BugReport . If you have done so,
please tell us the number of the upstream bug (or the link), so we can
add a bugwatch that will inform us about its status. Thanks in advance.

** Description changed:

  1) lsb_release -rd
  Description: Ubuntu 11.10
  Release: 11.10
  
  2) apt-cache policy libreoffice-calc
  libreoffice-calc:
    Installed: 1:3.4.3-3ubuntu2
    Candidate: 1:3.4.3-3ubuntu2
    Version table:
   *** 1:3.4.3-3ubuntu2 0
          500 http://hk.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
          100 /var/lib/dpkg/status
  
  apt-cache policy libreoffice-java-common
  libreoffice-java-common:
    Installed: 1:3.4.3-3ubuntu2
    Candidate: 1:3.4.3-3ubuntu2
    Version table:
   *** 1:3.4.3-3ubuntu2 0
          500 http://hk.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
          100 /var/lib/dpkg/status
  
  3) What is expected in LibreOffice Calc is when one clicks Tools ->
  Macros-> Organize Macros
  
- An option for Javascript is available.
+ An option for Javascript is available as noted in:
+ http://help.libreoffice.org/Common/Scripting
  
  4) What happens instead is it is missing.
  
  I installed 'rhino', with no effect.
  
- For javascript to work in LibreOffice it appears I need the file
- ScriptProviderForJavaScript.jar
+ WORKAROUND: For javascript to work in LibreOffice it appears I need the
+ file ScriptProviderForJavaScript.jar
  
  Maverick had this file:
  
  /usr/lib/openoffice/basis3.2/program/classes/ScriptProviderForJavaScript.jar
  
  in openoffice.org-java-common
  (http://packages.ubuntu.com/maverick/all/openoffice.org-java-
  common/filelist)
  
  But the file is missing from 11.10:
  http://packages.ubuntu.com/oneiric/all/libreoffice-java-common/filelist
  
  By taking the files found in Arch Linux:
  
  http://www.archlinux.org/packages/extra/x86_64/libreoffice-extension-
  scripting-javascript/
  
  and putting them under /usr/lib/libreoffice/share/extensions/script-
  provider-for-javascript on 11.10, I can solve the problem.
  
  But clearly this should not be necessary.
  
  The files should be (but do not appear to be) provided by some package
  in 11.10.

** Changed in: libreoffice (Ubuntu)
   Importance: Undecided => Medium

** Changed in: libreoffice (Ubuntu)
       Status: New => Triaged

** Also affects: df-libreoffice
   Importance: Undecided
       Status: New

** Changed in: df-libreoffice
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/888525

Title:
  LibreOffice Missing Files For JavaScript Macros to work in 11.10

Status in LibreOffice Productivity Suite:
  Incomplete
Status in “libreoffice” package in Ubuntu:
  Triaged

Bug description:
  1) lsb_release -rd
  Description: Ubuntu 11.10
  Release: 11.10

  2) apt-cache policy libreoffice-calc
  libreoffice-calc:
    Installed: 1:3.4.3-3ubuntu2
    Candidate: 1:3.4.3-3ubuntu2
    Version table:
   *** 1:3.4.3-3ubuntu2 0
          500 http://hk.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
          100 /var/lib/dpkg/status

  apt-cache policy libreoffice-java-common
  libreoffice-java-common:
    Installed: 1:3.4.3-3ubuntu2
    Candidate: 1:3.4.3-3ubuntu2
    Version table:
   *** 1:3.4.3-3ubuntu2 0
          500 http://hk.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
          100 /var/lib/dpkg/status

  3) What is expected in LibreOffice Calc is when one clicks Tools ->
  Macros-> Organize Macros

  An option for Javascript is available as noted in:
  http://help.libreoffice.org/Common/Scripting

  4) What happens instead is it is missing.

  I installed 'rhino', with no effect.

  WORKAROUND: For javascript to work in LibreOffice it appears I need
  the file ScriptProviderForJavaScript.jar

  Maverick had this file:

  /usr/lib/openoffice/basis3.2/program/classes/ScriptProviderForJavaScript.jar

  in openoffice.org-java-common
  (http://packages.ubuntu.com/maverick/all/openoffice.org-java-
  common/filelist)

  But the file is missing from 11.10:
  http://packages.ubuntu.com/oneiric/all/libreoffice-java-
  common/filelist

  By taking the files found in Arch Linux:

  http://www.archlinux.org/packages/extra/x86_64/libreoffice-extension-
  scripting-javascript/

  and putting them under /usr/lib/libreoffice/share/extensions/script-
  provider-for-javascript on 11.10, I can solve the problem.

  But clearly this should not be necessary.

  The files should be (but do not appear to be) provided by some package
  in 11.10.

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/888525/+subscriptions