public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug SWING/21635] New: GLib-GObject-WARNING with jython @ 2005-05-17 21:43 sbodomerle at gmail dot com 2005-08-21 0:58 ` [Bug swing/21635] " fitzsim at redhat dot com ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: sbodomerle at gmail dot com @ 2005-05-17 21:43 UTC (permalink / raw) To: java-prs executing the below code snippet in jython: gcc version 4.0.1 20050508 (prerelease) (Debian 4.0.0-6) Jython 2.1 import javax.swing as swing win = swing.JFrame("JYTHON") win.size = (100, 100) win.show() and closing the window from the window manager results in the following: (.:29481): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkWidget' (.:29481): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed Seems that the frames peer widget is destroyed. This - closing the window from the window manager, nad showing again - works with sun jdk 1.5_03. -- Summary: GLib-GObject-WARNING with jython Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: SWING AssignedTo: graydon at redhat dot com ReportedBy: sbodomerle at gmail dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21635 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug swing/21635] GLib-GObject-WARNING with jython 2005-05-17 21:43 [Bug SWING/21635] New: GLib-GObject-WARNING with jython sbodomerle at gmail dot com @ 2005-08-21 0:58 ` fitzsim at redhat dot com 2005-08-21 11:30 ` sbodomerle at gmail dot com 2005-08-21 15:12 ` fitzsim at redhat dot com 2 siblings, 0 replies; 5+ messages in thread From: fitzsim at redhat dot com @ 2005-08-21 0:58 UTC (permalink / raw) To: java-prs ------- Additional Comments From fitzsim at redhat dot com 2005-08-21 00:58 ------- I tried to run this under JamVM+Classpath: $ jamvm -Dpython.home="/home/fitzsim/jython-2.1" -classpath "/home/fitzsim/jython-2.1/jython.jar" "org.python.util.jython" Jython 2.1 on java1.4.2 (JIT: ) >>> import javax.swing as swing Traceback (innermost last): File "<console>", line 1, in ? ImportError: no module named javax >>> Any idea what I'm missing? -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|graydon at redhat dot com |fitzsim at redhat dot com Status|UNCONFIRMED |ASSIGNED Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-08-21 00:58:02 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21635 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug swing/21635] GLib-GObject-WARNING with jython 2005-05-17 21:43 [Bug SWING/21635] New: GLib-GObject-WARNING with jython sbodomerle at gmail dot com 2005-08-21 0:58 ` [Bug swing/21635] " fitzsim at redhat dot com @ 2005-08-21 11:30 ` sbodomerle at gmail dot com 2005-08-21 15:12 ` fitzsim at redhat dot com 2 siblings, 0 replies; 5+ messages in thread From: sbodomerle at gmail dot com @ 2005-08-21 11:30 UTC (permalink / raw) To: java-prs ------- Additional Comments From sbodomerle at gmail dot com 2005-08-21 11:30 ------- (In reply to comment #1) > I tried to run this under JamVM+Classpath: > > $ jamvm -Dpython.home="/home/fitzsim/jython-2.1" -classpath > "/home/fitzsim/jython-2.1/jython.jar" "org.python.util.jython" > Jython 2.1 on java1.4.2 (JIT: ) > >>> import javax.swing as swing > Traceback (innermost last): > File "<console>", line 1, in ? > ImportError: no module named javax > >>> > > Any idea what I'm missing? > Seems that jython cant make its cache directory - try adding something like this: -Dpython.cachedir="/tmp" Seems that this is not enough on my ubuntu machine and i have to add rt.jar to the classpath. I managed to fire up jamvm with the following: jamvm -Dpython.cachedir="/tmp" -Dpython.home="/usr/lib/python2.1" -classpath "/usr/share/java/jython.jar:/usr/lib/jvm/java-gcj/jre/lib/rt.jar" "org.python.util.jython" Jython 2.1 on java1.4.2 (JIT: ) >>> import javax.swing >>> -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21635 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug swing/21635] GLib-GObject-WARNING with jython 2005-05-17 21:43 [Bug SWING/21635] New: GLib-GObject-WARNING with jython sbodomerle at gmail dot com 2005-08-21 0:58 ` [Bug swing/21635] " fitzsim at redhat dot com 2005-08-21 11:30 ` sbodomerle at gmail dot com @ 2005-08-21 15:12 ` fitzsim at redhat dot com 2 siblings, 0 replies; 5+ messages in thread From: fitzsim at redhat dot com @ 2005-08-21 15:12 UTC (permalink / raw) To: java-prs ------- Additional Comments From fitzsim at redhat dot com 2005-08-21 15:12 ------- I can't reproduce this on Classpath CVS HEAD. Resolving as fixed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21635 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <bug-21635-10654@http.gcc.gnu.org/bugzilla/>]
* [Bug swing/21635] GLib-GObject-WARNING with jython [not found] <bug-21635-10654@http.gcc.gnu.org/bugzilla/> @ 2007-10-09 9:02 ` gnu_andrew at member dot fsf dot org 0 siblings, 0 replies; 5+ messages in thread From: gnu_andrew at member dot fsf dot org @ 2007-10-09 9:02 UTC (permalink / raw) To: java-prs -- gnu_andrew at member dot fsf dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |0.18 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21635 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-10-09 9:02 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-05-17 21:43 [Bug SWING/21635] New: GLib-GObject-WARNING with jython sbodomerle at gmail dot com 2005-08-21 0:58 ` [Bug swing/21635] " fitzsim at redhat dot com 2005-08-21 11:30 ` sbodomerle at gmail dot com 2005-08-21 15:12 ` fitzsim at redhat dot com [not found] <bug-21635-10654@http.gcc.gnu.org/bugzilla/> 2007-10-09 9:02 ` gnu_andrew at member dot fsf dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).