Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
jabref Unable to create graphical interface SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Tue Nov 21, 2006 6:15 pm    Post subject: jabref Unable to create graphical interface SOLVED Reply with quote

Hi,

Jabref fails to load with the following error message:
Code:
$ jabref
current locale is not supported in X11, locale is set to CX locale modifiers are not supported, using defaultWarning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
Unable to create graphical interface.


Any ideas? I did the java upgrade a month or two ago... and I probably haven't used jabref since.

blackdown-jre-1.4.2.03-r13


Last edited by gustafson on Thu Nov 30, 2006 5:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Tue Nov 21, 2006 7:06 pm    Post subject: Reply with quote

it complains about your locale, did you try to start it with
Code:
LC_ALL="C" jabref
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Tue Nov 21, 2006 8:58 pm    Post subject: Reply with quote

OK, I tried that but it didn't work.

(I've never explicitly set a locale on any machine that I use. Would there be a reason the default wouldn't work?)
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Tue Nov 21, 2006 9:11 pm    Post subject: Reply with quote

http://ubuntuforums.org/showthread.php?t=40392&highlight=locale+set+CX

HTH.
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Mon Nov 27, 2006 2:34 pm    Post subject: Reply with quote

Just as follow up... I still haven't fixed this problem.

The suggested fix in the referenced ubuntu forum involves modifying library binaries, and it looks like a hack to me. There has to be a configurable solution. I guess I'll keep looking.
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Thu Nov 30, 2006 5:12 pm    Post subject: Reply with quote

I've got it fixed. It turns out jabref didn't like the default java VM

Code:
# java-config -L
The following VMs are available for generation-2:
*)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2)      Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2]
3)      Sun JDK 1.5.0.09 [sun-jdk-1.5]
# java-config -S sun-jdk-1.5
Now using sun-jdk-1.5 as your generation-2 system JVM


After that, it works.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum