Thanks for your attention
the first lines in my code are:import sys
from PyQt4 import QtGui, QtCore
box = QtGui.QHBoxLayout()
txtgui.resize(textgui.sizeHint())
h.addWidget(txtgui)
On Sun, Apr 27, 2014 at 4:30 PM, <gtk-list-request@xxxxxxxxx> wrote:
Send gtk-list mailing list submissions to
gtk-list@xxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.gnome.org/mailman/listinfo/gtk-list
or, via email, send a message with subject or body 'help' to
gtk-list-request@xxxxxxxxx
You can reach the person managing the list at
gtk-list-owner@xxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtk-list digest..."
Today's Topics:
1. gtk error ( IA__gtk_widget_realize: assertion)
(Fatemeh Mehdizadeh)
2. Re: gtk error ( IA__gtk_widget_realize: assertion)
(Fatemeh Mehdizadeh)
3. Re: gtk error ( IA__gtk_widget_realize: assertion) (Florian Pelz)
----------------------------------------------------------------------
Message: 1
Date: Sun, 27 Apr 2014 09:07:13 +0430
From: Fatemeh Mehdizadeh <mehdizadeh.fatemeh@xxxxxxxxx>
To: gtk-list@xxxxxxxxx
Subject: gtk error ( IA__gtk_widget_realize: assertion)
Message-ID:
<CAJjCBpOYQiW1g-gWH+jmOcbY_8Y7x27T=7oTBP8j1uyEy5rLAQ@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"
Hi all,
I have some errors that depend on gtk. the errors are like this:
(python:9877): Gtk-CRITICAL **: IA__gtk_container_add: assertion
'GTK_IS_CONTAINER (container)' failed
(python:9877): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion
'GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
I have two programs in python. first program1 start and when finished the
other program start.
when program2 start it shows the error and cannot work well.
Both programs used gtk . the codes start with:
import sys
from PyQt4 import QtGui, QtCore
Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.gnome.org/archives/gtk-list/attachments/20140427/aeaca60a/attachment.html>
------------------------------
Message: 2
Date: Sun, 27 Apr 2014 09:10:29 +0430
From: Fatemeh Mehdizadeh <mehdizadeh.fatemeh@xxxxxxxxx>
To: gtk-list@xxxxxxxxx
Subject: Re: gtk error ( IA__gtk_widget_realize: assertion)
Message-ID:
<CAJjCBpPfdWACn4iE5sqzQ0OoLhj1hHDPt3=ehEkfKj4cwtYFwQ@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"
Sorry, I forgot to say that my os is fedora 20 and java version is:
java version "1.7.0_45"
OpenJDK Runtime Environment (fedora-2.4.3.0.fc20-x86_64 u45-b15)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
thanks again,
On Sun, Apr 27, 2014 at 9:07 AM, Fatemeh Mehdizadeh <
mehdizadeh.fatemeh@xxxxxxxxx> wrote:
> Hi all,
>
> I have some errors that depend on gtk. the errors are like this:
>
> (python:9877): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed
>
> (python:9877): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion 'GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
>
> I have two programs in python. first program1 start and when finished the
> other program start.
> when program2 start it shows the error and cannot work well.
>
> Both programs used gtk . the codes start with:
> import sys
> from PyQt4 import QtGui, QtCore
>
> Thanks for your help.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.gnome.org/archives/gtk-list/attachments/20140427/246d2b8e/attachment.html>
------------------------------
Message: 3
Date: Sun, 27 Apr 2014 11:34:29 +0200
From: Florian Pelz <pelzflorian@xxxxxxxxxxxxxx>
To: gtk-list@xxxxxxxxx
Subject: Re: gtk error ( IA__gtk_widget_realize: assertion)
Message-ID: <535CCF25.9090006@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
On 04/27/2014 06:40 AM, Fatemeh Mehdizadeh wrote:
> Sorry, I forgot to say that my os is fedora 20 and java version is:
> java version "1.7.0_45"
> OpenJDK Runtime Environment (fedora-2.4.3.0.fc20-x86_64 u45-b15)
> OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
>
> thanks again,
>
>
> On Sun, Apr 27, 2014 at 9:07 AM, Fatemeh Mehdizadeh
> <mehdizadeh.fatemeh@xxxxxxxxx <mailto:mehdizadeh.fatemeh@xxxxxxxxx>>
> wrote:
>
> Hi all,
>
> I have some errors that depend on gtk. the errors are like this:
>
> (python:9877): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed
>
> (python:9877): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion 'GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
>
> I have two programs in python. first program1 start and when
> finished the other program start.
> when program2 start it shows the error and cannot work well.
>
> Both programs used gtk . the codes start with:
> import sys
> from PyQt4 import QtGui, QtCore
>
> Thanks for your help.
>
>
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@xxxxxxxxx
> https://mail.gnome.org/mailman/listinfo/gtk-list
Hi,
I just did a Web search and found
http://stackoverflow.com/questions/18416201/core-dump-with-pyqt4 .
Similar to what happened there, I'd suppose your problem is not a
problem with GTK but with the way some Qt widget is destroyed. Do you
actually use GTK directly in the code, or is it only Qt that uses GTK?
Florian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.gnome.org/archives/gtk-list/attachments/20140427/7941732f/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list
------------------------------
End of gtk-list Digest, Vol 120, Issue 11
*****************************************
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list