-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JabRef not connecting to LibreOffice on Debian 8.9 #3139
Comments
Hi,
Since a while the jars for libreoffice are in a separate debian package
called libreoffice-java-common
See here for example
https://packages.debian.org/wheezy/all/libreoffice-java-common/filelist
Am 20.08.2017 6:28 vorm. schrieb "bnapoletano" <notifications@github.com>:
JabRef version 4.0-dev on Debian 8.9
Attempting to connect JabRef to LibreOffice 4.3.3.2 yields an error similar
to the one previously reported
<#1669>. I tried downloading the
4.0-dev version and adding the path to soffice to PATH and to libjpipe.so
to LD_LIBRARY_PATH, and moving unoil.jar around, but still no luck. I'm not
sure which file is not being found now, so here's the output:
```` 23:18:46.077 [AWT-EventQueue-0] WARN
org.jabref.gui.openoffice.OpenOfficePanel
- Could not connect to running OpenOffice/LibreOffice java.io.IOException:
(Not all) required Open Office Jars were found inside installation path. at
org.jabref.gui.openoffice.OpenOfficePanel.loadOpenOfficeJars(OpenOfficePanel.java:438)
~[JabRef-4.0-dev--snapshot--2017-08-19--master--b37b88049.jar:?] at
org.jabref.gui.openoffice.OpenOfficePanel.connect(OpenOfficePanel.java:388)
~[JabRef-4.0-dev--snapshot--2017-08-19--master--b37b88049.jar:?] at
org.jabref.gui.openoffice.OpenOfficePanel.lambda$
initPanel$0(OpenOfficePanel.java:145) ~[JabRef-4.0-dev--snapshot--
2017-08-19--master--b37b88049.jar:?] at javax.swing.AbstractButton.
fireActionPerformed(AbstractButton.java:2022) [?:1.8.0_144] at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
[?:1.8.0_144] at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
[?:1.8.0_144] at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
[?:1.8.0_144] at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
[?:1.8.0_144] at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
[?:1.8.0_144] at java.awt.Component.processMouseEvent(Component.java:6533)
[?:1.8.0_144] at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
[?:1.8.0_144] at java.awt.Component.processEvent(Component.java:6298)
[?:1.8.0_144] at java.awt.Container.processEvent(Container.java:2236)
[?:1.8.0_144] at java.awt.Component.dispatchEventImpl(Component.java:4889)
[?:1.8.0_144] at java.awt.Container.dispatchEventImpl(Container.java:2294)
[?:1.8.0_144] at java.awt.Component.dispatchEvent(Component.java:4711)
[?:1.8.0_144] at java.awt.LightweightDispatcher.
retargetMouseEvent(Container.java:4888) [?:1.8.0_144] at java.awt.
LightweightDispatcher.processMouseEvent(Container.java:4525) [?:1.8.0_144]
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
[?:1.8.0_144] at java.awt.Container.dispatchEventImpl(Container.java:2280)
[?:1.8.0_144] at java.awt.Window.dispatchEventImpl(Window.java:2746)
[?:1.8.0_144] at java.awt.Component.dispatchEvent(Component.java:4711)
[?:1.8.0_144] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
[?:1.8.0_144] at java.awt.EventQueue.access$500(EventQueue.java:97)
[?:1.8.0_144] at java.awt.EventQueue$3.run(EventQueue.java:709)
[?:1.8.0_144] at java.awt.EventQueue$3.run(EventQueue.java:703)
[?:1.8.0_144] at java.security.AccessController.doPrivileged(Native Method)
~[?:1.8.0_144] at java.security.ProtectionDomain$JavaSecurityAccessImpl.
doIntersectionPrivilege(ProtectionDomain.java:80) [?:1.8.0_144] at
java.security.ProtectionDomain$JavaSecurityAccessImpl.
doIntersectionPrivilege(ProtectionDomain.java:90) [?:1.8.0_144] at
java.awt.EventQueue$4.run(EventQueue.java:731) [?:1.8.0_144] at
java.awt.EventQueue$4.run(EventQueue.java:729) [?:1.8.0_144] at
java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_144]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.
doIntersectionPrivilege(ProtectionDomain.java:80) [?:1.8.0_144] at
java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [?:1.8.0_144] at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
[?:1.8.0_144] at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
[?:1.8.0_144] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
[?:1.8.0_144] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
[?:1.8.0_144] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
[?:1.8.0_144] at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
[?:1.8.0_144] 23:18:52.072 [AWT-EventQueue-0] WARN
org.jabref.gui.openoffice.OpenOfficePanel - Could not connect to running
OpenOffice/LibreOffice java.io.IOException: (Not all) required Open Office
Jars were found inside installation path. at org.jabref.gui.openoffice.
OpenOfficePanel.loadOpenOfficeJars(OpenOfficePanel.java:438)
~[JabRef-4.0-dev--snapshot--2017-08-19--master--b37b88049.jar:?] at
org.jabref.gui.openoffice.OpenOfficePanel.connect(OpenOfficePanel.java:388)
~[JabRef-4.0-dev--snapshot--2017-08-19--master--b37b88049.jar:?] at
org.jabref.gui.openoffice.OpenOfficePanel.lambda$
initPanel$1(OpenOfficePanel.java:146) ~[JabRef-4.0-dev--snapshot--
2017-08-19--master--b37b88049.jar:?] at javax.swing.AbstractButton.
fireActionPerformed(AbstractButton.java:2022) [?:1.8.0_144] at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
[?:1.8.0_144] at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
[?:1.8.0_144] at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
[?:1.8.0_144] at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
[?:1.8.0_144] at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
[?:1.8.0_144] at java.awt.Component.processMouseEvent(Component.java:6533)
[?:1.8.0_144] at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
[?:1.8.0_144] at java.awt.Component.processEvent(Component.java:6298)
[?:1.8.0_144] at java.awt.Container.processEvent(Container.java:2236)
[?:1.8.0_144] at java.awt.Component.dispatchEventImpl(Component.java:4889)
[?:1.8.0_144] at java.awt.Container.dispatchEventImpl(Container.java:2294)
[?:1.8.0_144] at java.awt.Component.dispatchEvent(Component.java:4711)
[?:1.8.0_144] at java.awt.LightweightDispatcher.
retargetMouseEvent(Container.java:4888) [?:1.8.0_144] at java.awt.
LightweightDispatcher.processMouseEvent(Container.java:4525) [?:1.8.0_144]
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
[?:1.8.0_144] at java.awt.Container.dispatchEventImpl(Container.java:2280)
[?:1.8.0_144] at java.awt.Window.dispatchEventImpl(Window.java:2746)
[?:1.8.0_144] at java.awt.Component.dispatchEvent(Component.java:4711)
[?:1.8.0_144] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
[?:1.8.0_144] at java.awt.EventQueue.access$500(EventQueue.java:97)
[?:1.8.0_144] at java.awt.EventQueue$3.run(EventQueue.java:709)
[?:1.8.0_144] at java.awt.EventQueue$3.run(EventQueue.java:703)
[?:1.8.0_144] at java.security.AccessController.doPrivileged(Native Method)
~[?:1.8.0_144] at java.security.ProtectionDomain$JavaSecurityAccessImpl.
doIntersectionPrivilege(ProtectionDomain.java:80) [?:1.8.0_144] at
java.security.ProtectionDomain$JavaSecurityAccessImpl.
doIntersectionPrivilege(ProtectionDomain.java:90) [?:1.8.0_144] at
java.awt.EventQueue$4.run(EventQueue.java:731) [?:1.8.0_144] at
java.awt.EventQueue$4.run(EventQueue.java:729) [?:1.8.0_144] at
java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_144]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.
doIntersectionPrivilege(ProtectionDomain.java:80) [?:1.8.0_144] at
java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [?:1.8.0_144] at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
[?:1.8.0_144] at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
[?:1.8.0_144] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
[?:1.8.0_144] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
[?:1.8.0_144] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
[?:1.8.0_144] at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
[?:1.8.0_144] File: aboutdialog.fxml not found, attempting with camel case
File: aboutdialog.css not found, attempting with camel case` ````
I don't use LibreOffice much, so it's not the end of the world, but it is
problematic when working on collaborative papers that require LibreOffice.
Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3139>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AATi5An0dpY5M5VCv9e1pPVtrkyRuAmjks5sZ7YJgaJpZM4O8g4n>
.
|
I've a similar trouble on my Mac OS Sierra 10.12.6 with LibreOffice 5.4.0.3 although I've a JRE set in LibreOffice (installed separatly from java website jre-8u144-macosx-x64) which is appearing and selected into LO Preferences/Advanced 'Oracle Corporation 1.8.0_144. |
Sorry for the delay in responding. I have the libreoffice-java-common package installed, but am still receiving the same errors. I have tried creating symbolic links to the .jar files in the directory where JabRef looks, but then it hangs up while connecting. |
I've now the two installation on my mac. The older version 3.8.2 is working correctly with LibreOffice but the new version 4.0-beta3 does not. Strange ...! |
I just tested it on my XUbuntu 16.04 virtual machine, auto connect and manual connect and I used the latest development snapshot from http://builds.jabref.org/master/
And as far as I remember, I never manipulated the library settings. I just installed the libreoffice-java.common package. The libs are already relative links:
|
Here is my output:
|
That's really confusing. I will check tomorrow on my linux machine if I can find the problem |
@Siedlerchr
|
Okay, I updated to LO 5.4 from the ppa (still using Ubuntu 16.04) and I don't have any problems or error messages. |
@Siedlerchr Just one thing: I remember there was an option to use a xml conf file in a custom path, but I no longer find this option. For me it is necessary, since in this way I share this configuration with other linux distros on the same and in other PCs. EDIT: found! :-) |
@Doc73 Good to hear that it works now. Regarding the xml file: You can export your settings as xml file. |
@Siedlerchr |
Hello again, I had the connection working again, but with the update to 4.1, the ability to auto-connect (or connect manually) broke on me again. I'm using the same system configuration as before. Does anyone know what the trouble is? Is it a Debian issue? Would deleting the LibreOffice version install via the repository and replacing it with the latest version of LibreOffice perhaps resolve the issue? For the moment, I have reverted to version 3.8.2, which seems to work, but it would be nice if I could keep my JabRef version up to date. Thank you for the help! |
JabRef version 4.0-dev on Debian 8.9
Attempting to connect JabRef to LibreOffice 4.3.3.2 yields an error similar to the one previously reported . I tried downloading the 4.0-dev version and adding the path to soffice to PATH and to libjpipe.so to LD_LIBRARY_PATH, and moving unoil.jar around, but still no luck. I'm not sure which file is not being found now, so here's the output:
I don't use LibreOffice much, so it's not the end of the world, but it is problematic when working on collaborative papers that require LibreOffice.
Thank you!
The text was updated successfully, but these errors were encountered: