LibreOffice add-in installation fails
Both automatic and manual installation of the LibreOffice/OpenOffice.org/NeoOffice Add-in failed.
Automatic failure details are in Report ID: 527176208
Manual failure using LibreOffice Extension Manager gives:
(com.sun.star.deployment.DeploymentException){{Message="An error occurred while enabling: Zotero.jar", Context=(com.sun.star.uno.XInterface)@7f6d68005500}, Cause = (any){(com.sun.star.registry.CannotRegisterImplementationException){{Message="", Context=(com.sun.star.uno.XInterface)@0}}}}
Installation Details:
OS:
$ uname -a
Linux Cerberus 3.5.0-18-generic #29-Ubuntu SMP Thu Oct 25 07:26:14 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.3 LTS"
Firefox:
26.0; Mozilla Firefox for Ubuntu canonical - 1.0
Zotero:
Firefox plugin version 4.0.17.1
Libre Office:
3.5.7.2 build ID: 350m1(Build:2)
Automatic failure details are in Report ID: 527176208
Manual failure using LibreOffice Extension Manager gives:
(com.sun.star.deployment.DeploymentException){{Message="An error occurred while enabling: Zotero.jar", Context=(com.sun.star.uno.XInterface)@7f6d68005500}, Cause = (any){(com.sun.star.registry.CannotRegisterImplementationException){{Message="", Context=(com.sun.star.uno.XInterface)@0}}}}
Installation Details:
OS:
$ uname -a
Linux Cerberus 3.5.0-18-generic #29-Ubuntu SMP Thu Oct 25 07:26:14 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.3 LTS"
Firefox:
26.0; Mozilla Firefox for Ubuntu canonical - 1.0
Zotero:
Firefox plugin version 4.0.17.1
Libre Office:
3.5.7.2 build ID: 350m1(Build:2)
Simon might still take a look, but you're probably better off upgrading to 4.0 or 4.1 - pretty sure there's a ppa or even a regular package you can add for that.
Automatic:
New Report ID: 1247041745
[JavaScript Error: "TypeError: temp is null" {file: "chrome://global/content/bindings/preferences.xml" line: 1172}]
[JavaScript Error: "[Exception... "'unopkg at /usr/lib/libreoffice/program/unopkg failed to install' when calling method: [nsIObserver::observe]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" data: no]"]
HTTPS Everywhere: Could not check applicable rules for about:newtab
[JavaScript Error: "TypeError: temp is null" {file: "chrome://global/content/bindings/preferences.xml" line: 1172}]
[JavaScript Error: "[Exception... "'unopkg at /usr/bin/unopkg failed to install' when calling method: [nsIObserver::observe]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" data: no]"]
Manual install:
Now just gives "java.lang.reflect.InvocationTargetException" but after a restart it does show up in the Extension Manager but with a status of "Error: The status of this extension is unknown". If I try to Enable the extension I then get two "java.lang.reflect.InvocationTargetException" in a row.
If there is a setting to generate more debug I can enable and try again.
Thanks,
W
After "sudo apt-get install libreoffice-java-common". I am able to do a manual installation and a quick test appears to work
If I uninstall (the libreoffice plugin) and try to do an install from "Firefox | Zotero | Actions | Preferences | Cite"
I still get one of the following depending on which of unopkg binaries I pick for the install
[JavaScript Error: "[Exception... "'unopkg at /usr/bin/unopkg failed to install' when calling method: [nsIObserver::observe]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" data: no]"]
or
[JavaScript Error: "[Exception... "'unopkg at /usr/lib/libreoffice/program/unopkg failed t o install' when calling method: [nsIObserver::observe]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" data: no]"]
Since manual installation works now I am good but if you want to work out why the auto installation fails I am happy to continue troubleshooting.
Cheers,
W
# After pressing "Install LibreOffice/OpenOffice.org/NeoOffice Add-In" but
# before the "Zotero OpenOffice.org/NeoOffice/LibreOffice Intergation Installation"
# window apears
/bin/bash: /usr/bin/dpkg: Permission denied
/bin/bash: /usr/bin/dpkg: Permission denied
# Nothing else with default start
# Real-time Debug Output attempt
$ firefox -zoterodebug
# ... a bunch of sql commands ...
/bin/bash: /usr/bin/dpkg: Permission denied
zotero(3)(+0010910): ZoteroOpenOfficeIntegration: openoffice.org-writer is not installed
/bin/bash: /usr/bin/dpkg: Permission denied
zotero(3)(+0000054): ZoteroOpenOfficeIntegration: libreoffice-writer is not installed
zotero(3)(+0045511): ZoteroOpenOfficeIntegration: Installing with unopkg at /usr/lib/libreoffice/program/unopkg
# Or if other unopkg is selected
zotero(3)(+0033170): ZoteroOpenOfficeIntegration: Installing with unopkg at /usr/bin/unopkg
Since the only errors printed appear to be related to checking for libreoffice-writer with dpkg I manually ran:
$ dpkg -l libreoffice-*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=====================-=====================-==========================================================
un libreoffice-base <none> (no description available)
ii libreoffice-base-core 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- shared library
un libreoffice-bundled <none> (no description available)
ii libreoffice-calc 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- spreadsheet
ii libreoffice-common 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- arch-independent files
ii libreoffice-core 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- arch-dependent files
un libreoffice-dev <none> (no description available)
ii libreoffice-draw 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- drawing
ii libreoffice-emailmerg 1:4.1.4~rc2-0ubuntu1~ transitional package for LibreOffices email mail merge
un libreoffice-evolution <none> (no description available)
un libreoffice-filter-bi <none> (no description available)
un libreoffice-filter-mo <none> (no description available)
un libreoffice-gcj <none> (no description available)
ii libreoffice-gnome 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- GNOME integration
ii libreoffice-gtk 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- GTK+ integration
un libreoffice-gtk-gnome <none> (no description available)
un libreoffice-help-4.1 <none> (no description available)
ii libreoffice-help-en-u 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- English_american help
ii libreoffice-impress 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- presentation
ii libreoffice-java-comm 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- arch-independent Java support
un libreoffice-kab <none> (no description available)
un libreoffice-kde <none> (no description available)
un libreoffice-l10n-3.5 <none> (no description available)
un libreoffice-l10n-3.6 <none> (no description available)
un libreoffice-l10n-en-u <none> (no description available)
ii libreoffice-math 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- equation editor
un libreoffice-mysql-con <none> (no description available)
un libreoffice-officebea <none> (no description available)
ii libreoffice-pdfimport 1:4.1.4~rc2-0ubuntu1~ PDF Import component for LibreOffice
un libreoffice-presentat <none> (no description available)
un libreoffice-presenter <none> (no description available)
un libreoffice-report-bu <none> (no description available)
un libreoffice-script-pr <none> (no description available)
un libreoffice-script-pr <none> (no description available)
un libreoffice-script-pr <none> (no description available)
un libreoffice-sdbc-post <none> (no description available)
un libreoffice-style <none> (no description available)
un libreoffice-style-and <none> (no description available)
un libreoffice-style-cry <none> (no description available)
un libreoffice-style-def <none> (no description available)
un libreoffice-style-gal <none> (no description available)
un libreoffice-style-hic <none> (no description available)
ii libreoffice-style-hum 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- Human symbol style
un libreoffice-style-oxy <none> (no description available)
ii libreoffice-style-tan 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- Tango symbol style
un libreoffice-unbundled <none> (no description available)
un libreoffice-wiki-publ <none> (no description available)
ii libreoffice-writer 1:4.1.4~rc2-0ubuntu1~ office productivity suite -- word processor
un libreoffice-writer2la <none> (no description available)
un libreoffice-writer2xh <none> (no description available)