Posts: 7,529
Threads: 230
Joined: Aug 2007
Matthias Wrote:Hilfe, leider sehe ich unter Ubuntu 7.10 Google Maps nicht. Ich habe versucht mich an Rollis Anleitung zu halten, aber es klemmt irgendwo.
Hallo Matthias,
gibt es nicht noch mehr Fehlermeldungen?
--
Christian
Posts: 5
Threads: 0
Joined: Mar 2008
Hallo Christian,
Du bist ja extrem schnell
matti@asterix:~/navi$ java -classpath jdic/jdic.jar:. -Djava.library.path=jdic -jar java/RouteConverterLinux.jar
04.03.2008 17:49:17 slash.navigation.converter.gui.RouteConverter run
INFO: Started RouteConverter 1.15 vom 26. Januar '08 on Linux 2.6.22-14-generic i386 with Java 1.6.0_03
(<unknown>:7137): Gtk-WARNING **: Attempting to add a widget with type GtkButton to a GtkComboBoxEntry (need an instance of GtkEntry or of a subclass)
(<unknown>:7137): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
(<unknown>:7137): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed
(<unknown>:7137): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed
(<unknown>:7137): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed
(<unknown>:7137): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed
Posts: 7,529
Threads: 230
Joined: Aug 2007
Hi Matthias,
purer Zufall :-)
Die übliche Checkliste wäre:
- Ist Mozilla installiert?
- Ist MOZILLA_FIVE_HOME gesetzt?
- Was sagt 'file /tmp/mozembed-linux-gtk2'?
- Was sagt 'ldd /tmp/libmozembed-linux-gtk2.so'?
JDIC sucht nach einer Datei 'mozilla' im PATH oder alternativ im Verzeichnis, das sich mit MOZILLA_FIVE_HOME setzen lässt.
--
Christian
Posts: 5
Threads: 0
Joined: Mar 2008
Hallo Christian,
danke für die Hinweise.
1. Mozilla (jetzt iceape) ist installiert
2. MOZILLA_FIVE_HOME auf MOZILLA_FIVE_HOME=:/usr/bin/iceape gesetzt
3. file /tmp/mozembed-linux-gtk2
/tmp/mozembed-linux-gtk2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
4. ldd /tmp/libmozembed-linux-gtk2.so
linux-gate.so.1 => (0xffffe000)
libgtkembedmoz.so => /usr/lib/firefox/libgtkembedmoz.so (0xb7f15000)
libxpcom.so => /usr/lib/firefox/libxpcom.so (0xb7f12000)
libnspr4.so => /usr/lib/firefox/libnspr4.so (0xb7ee0000)
libplds4.so => /usr/lib/firefox/libplds4.so (0xb7edd000)
(und noch einiges mehr, alles ist "gelinkt")
Vielleicht hängt das Problem doch mit Firefox zusammen?
Gruß
Matthias
Posts: 7,529
Threads: 230
Joined: Aug 2007
Matthias Wrote:Vielleicht hängt das Problem doch mit Firefox zusammen?
Hallo Matthias,
kann ich mir nicht vorstellen. In der
JDIC FAQ steht:
Q. What are the embeddable browsers by package org.jdesktop.jdic.browser? how about FireFox?
A. On Windows, IE or Mozilla is embeddable. If Mozilla is set as the default browser, it will be embedded. Or else, IE will always be the embedded browser. On Linux/Solaris, Mozilla is embedded if it's set as the default browser or its executable mozilla could be found under PATH. The package has been tested with IE 5.0 and 6.0, Mozilla 1.4, 1.6, 1.7 and 1.8a4. Other browsers including FireFox, Galeon, Epiphany, Opera, etc. are not supported or tested, though they might work. There is a bug(#262453) on embedding Firefox. Once this bug is fixed, this package will support it.
Mir ist nicht klar, wo der Fehler liegt. Was ergibt die Ausgabe von strace?
--
Christian
Posts: 5
Threads: 0
Joined: Mar 2008
Hallo Christian,
ich schicke Dir die Ausgabe von strace per mail. Irgendwie habe ich das Gefühl, dass mit meiner Java installation was nicht stimmt
Gruß
Matthias
Posts: 4
Threads: 1
Joined: Mar 2008
hallo,
das problem liegt an der jdesktop integration API (jdic). nachdem ich einige zeit mit herumexperimentiert habe, scheint es wohl so zu sein, dass sie nicht mit firefox arbeitet. ich habe mir daher das neueste release (1.8) von seamonkey installiert und einen link "mozilla" -> seamonkey im seamonkey folder angelegt. zum starten der linux-version von routeConverter muss bei (unbuntu 7.10) muss das installationsverzeichnis von seamonkey in PATH gesetzt sein:
PATH=$PATH:./:/usr/local/seamonkey
java -jar RouteConverterLinux.jar
läuft.
grüße
gernot
Posts: 5
Threads: 0
Joined: Mar 2008
Hallo Gernot,
dein Tipp funktioniert! Danke.
Ich nutze SeaMonkey 1.1.9.
Grüße
Matthias