Control: forwarded -1 https://github.com/JabRef/jabref/issues/393 On Tue, 16 Feb 2016 22:50:14 +0100, Josef Atmin wrote: > Dear Gregor, > thanks a lot for the quick reply. Thanks for looking further into this issue! > > > prompt> DEBUG_WRAPPER=1 JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ jabref > > > > > > Xlib: extension "XInputExtension" missing on display ":0". > > Ha! Here's an extra line, and that's the difference to my output. > > Now we just need to find out what's missing / different on your > > system, so that java can't connect to the X server. > > (But then, your test with OpenJDK 7 should work?) > I have tried this particular test again five times and did not get the > Xlib message again. Hm. Maybe because there was still a java process lingering around? > > Do other java programs work for you? > Hm, I don't know. How would I find out? What are common other java programs? Depends on what you like :) freemind, josm, tuxguitar are some that I use. `apt-cache rdepends default-jre' might give you some ideas. > Ok, I looked a bit on the internet and wanted to write a little mini > program in java. I figured I need the javac compiler. It is not > installed on my computer, and it was not in the Debian unstable > repository under that name either. "My" javac is /usr/bin/javac -> /etc/alternatives/javac -> /usr/lib/jvm/java-8-openjdk-amd64/bin/javac (from the openjdk-8-jdk package). But I guess installing another package with software written in Java is easier. > > Which window manager are you using? > I use cinnamon. Ok, I'm not aware of any specific problems with cinnamon and java but who knows. > I have then logged out and logged in gnome. Then I ran jabref. The first time it actually worked and I got the following messages. > > $ jabref > log4j:WARN No appenders could be found for logger (org.java.plugin.ObjectFactory). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. > Found 2 plugin(s): > - net.sf.jabref.export.misq (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.export.misq/plugin.xml) > - net.sf.jabref.core (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.core/plugin.xml) > > Gtk-Message: Failed to load module "canberra-gtk-module" > Opening: /home/wiskott/Literatur/Bibtexs/WiskottGroup.bib > Opening: /home/wiskott/Literatur/Bibtexs/Hippocampus.bib > Opening: /home/wiskott/Literatur/Bibtexs/GraphicalModels.bib > Opening: /home/wiskott/Literatur/Bibtexs/SlowFeatureAnalysis.bib > Could not get key binding for "Open folder" Cool. The Gtk warning seems to come from Gnome but should be harmless, the rest looks like when I start JabRef. > ---------------------------------------------------------------------------------------------------- > > The second time it did not work. It hang with the welcome screen, just like under cinnamon, and the messages were as follows. > > wiskott@garlic:~$ jabref > log4j:WARN No appenders could be found for logger (org.java.plugin.ObjectFactory). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. > Found 2 plugin(s): > - net.sf.jabref.export.misq (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.export.misq/plugin.xml) > - net.sf.jabref.core (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.core/plugin.xml) > > Xlib: extension "XInputExtension" missing on display ":0". > > ---------------------------------------------------------------------------------------------------- Oh, again troubles with the X server. > I then rebooted and logged into gnome again. > > The first time a started jabref it actually crashed (and did not hang as usually) with the following messages. > > $ jabref > log4j:WARN No appenders could be found for logger (org.java.plugin.ObjectFactory). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. > Found 2 plugin(s): > - net.sf.jabref.export.misq (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.export.misq/plugin.xml) > - net.sf.jabref.core (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.core/plugin.xml) > > java: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. Again, something between Java and X. > > So the differences are that > > - I have only OpenJDK 8 > > - I also have openjdk-8-jdk > > Ok, I am back in cinnamon now. > I deinstalled openjdk-7 and installed openjdk-8-jdk Thanks for trying this as well. > First run of jabref crashed with > > $ jabref > log4j:WARN No appenders could be found for logger (org.java.plugin.ObjectFactory). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. > Found 2 plugin(s): > - net.sf.jabref.export.misq (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.export.misq/plugin.xml) > - net.sf.jabref.core (jar:file:/usr/share/jabref/JabRef-2.10.jar!/plugins/net.sf.jabref.core/plugin.xml) > > java: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. So X again. Hm. > I hope all that gives you a bit more information to work with. It's certainly not a lack of information from your side that leaves me a bit clueless :) Currently I think that the problem lies not with JabRef but I have no idea what's happening between java and X on your machine. - My hopes still lie in the Java team and their expertise :) Or this: After some searching I found https://bugs.debian.org/802701 which sounds quite similar. And even mentions JabRef ... with the upstream ticket at https://github.com/JabRef/jabref/issues/393 . And the Ubuntu bug at https://bugs.launchpad.net/ubuntu/+source/jabref/+bug/1520294 The GitHub issue contains a workaround (changing the look&feel), maybe this works for you too? (Same info in the Launchpad bug.) Cheers, gregor -- .''`. Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: The Beatles: Love me do
Attachment:
signature.asc
Description: Digital Signature