[pygtk] Fwd: dbus and main loops

John Stowers john.stowers.lists at gmail.com
Thu Aug 28 06:54:18 WST 2008


On Wed, 2008-08-27 at 12:40 +0000, helder fraga wrote:
> Yes , im using it,
> After the first signal arrives and the 2nd gtk main starts , no more
> signals get received , but it i do a control +c on to end the python
> script i get a new gtk.main with this error on it
> 
> File "/var/lib/python-support/python2.5/dbus/connection.py", line 214,
> in maybe_handle_message
>     self._handler(*args, **kwargs)

Please post your code so we can take a look

> 
> 
> 
> 
> 
> ______________________________________________________________________
> Date: Tue, 26 Aug 2008 23:47:52 -1000
> From: casey.mcginty at gmail.com
> To: pygtk at daa.com.au
> Subject: [pygtk] Fwd: dbus and main loops
> 
> 2008/8/26 helder fraga <helder.fraga at hotmail.com>
>         
>         hi.
>         i have 2 python files , one sends dbus messages to the other
>         (receiver)
>         The receiver, when it gets the message signal starts a new
>         gtk.main , however this only works once, after the first time
>         it doesnt receive any messages , but the sender still sends
>         them
>         
>         Is there a way i can make this work properly , allowing me to
>         start new gtk main loops?
>         
>         
>         
>         ______________________________________________________________
>         Conheça já o Windows Live Spaces, o site de relacionamentos do
>         Messenger! Crie já o seu!
>         
>         
>         _______________________________________________
>         pygtk mailing list   pygtk at daa.com.au
>         http://www.daa.com.au/mailman/listinfo/pygtk
>         Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>         
> 
> Are you using DBusGMainLoop?
> 
> http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#making-asynchronous-method-calls
> 
> 
> 
> 
> 
> ______________________________________________________________________
> Notícias direto do New York Times, gols do Lance, videocassetadas e
> muitos outros vídeos no MSN Videos! Confira já!
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



More information about the pygtk mailing list