Confused by python gtk, gobject, gi, etc. (Ubuntu repositories)

2020-07-29 Thread Chris Green
3.36.0-1 amd64 development headers for GObject Python bindings python-glade2/focal 2.24.0-0~201711230314~ubuntu18.04.1 amd64 GTK+ bindings: Glade support python-gobject-2-dev/focal,focal 2.28.6-14ubuntu1 all development headers for the static GObject Python bindings

non-gobject based dbus library?

2014-10-17 Thread Tycho Andersen
Hi all, An application I maintain recently moved away from the gobject event loop to the tulip/trollius/asyncio event loop. However, we were using python-dbus, which internally uses the gobject event loop, as our main event loop. This worked nicely when we were gobject based, but now that we&#x

Re: Process pending Tk events from GObject main loop?

2013-10-11 Thread Christian Gollwitzer
odically from a GObject main loop. I know I want to call gobject.idle_add(), but can't find Tkinter equivalent to gobject.MainLoop().get_context().iteration(). That is, how do you process a single event (or all pending events)? It looks like _tkinter.dooneevent() might be the right call to process a s

Process pending Tk events from GObject main loop?

2013-10-11 Thread Skip Montanaro
I know I have things bassackwards, but trying to process Gtk events from Tkinter's main loop using after() isn't working. (I suspect our underlying C++ (ab)use of Gtk may require a Gtk main loop). I'd like to process Tk events periodically from a GObject main loop. I know

Re: decorator issue with modules dbus & gobject

2011-08-22 Thread Makiavelik
bject > ImportError: No module nameddbus > ImportError: No module nameddbus.mainloop.glib > > Try to eliminate the non-standard dependencies.  I wanted to check the > default value set in timeout but there's too much crap to clean up. > > Emile Yes that's right there i

Re: decorator issue with modules dbus & gobject

2011-08-21 Thread Emile van Sebille
On 8/18/2011 5:02 AM Makiavelik said... Hi, Here is a sample code that reproduces the issue : Not really 'sample' enough to allow others to investigate... ImportError: No module named gobject ImportError: No module named dbus ImportError: No module named dbus.mainloop.glib Try to

decorator issue with modules dbus & gobject

2011-08-18 Thread Makiavelik
Hi, Here is a sample code that reproduces the issue : [code] import logging import unittest import signal import gobject import dbus from functools import wraps from dbus.mainloop.glib import DBusGMainLoop class TimeoutException(Exception): pass def timeout(timeout_time=1800

timeout issue with modules dbus & gobject

2011-08-03 Thread Makiavelik
Hi, Here is a sample code that reproduces the issue : [code] import logging import unittest import signal import gobject import dbus from functools import wraps from dbus.mainloop.glib import DBusGMainLoop class TimeoutException(Exception): pass def timeout(timeout_time=1800

Re: "ImportError: No module named gobject"

2011-02-22 Thread Benjamin Kaplan
On Tue, Feb 22, 2011 at 9:20 AM, J. Gerlach wrote: > Am 21.02.2011 16:04, schrieb Luther: >> I've tried installing pygtk, pygobject, and gobject-introspection from >> source, but none of them will compile, and nothing I install through >> synaptic has any effect. >&g

Re: "ImportError: No module named gobject"

2011-02-22 Thread J. Gerlach
Am 21.02.2011 16:04, schrieb Luther: > I've tried installing pygtk, pygobject, and gobject-introspection from > source, but none of them will compile, and nothing I install through > synaptic has any effect. > > I've tried too many things to post all the details here, bu

Re: "ImportError: No module named gobject"

2011-02-21 Thread Luther
I've tried installing pygtk, pygobject, and gobject-introspection from source, but none of them will compile, and nothing I install through synaptic has any effect. I've tried too many things to post all the details here, but I'll post any details on request. -- http://mail.pyt

Re: "ImportError: No module named gobject"

2011-02-21 Thread Виталий Волков
You should install python-gobject 2011/2/21 Luther > I recently had to install 2.7.1 from source, and since then, I have > been unable to run exaile, which comes with Trisquel 4.0. Here is the > error message: > > Traceback (most recent call last): > File "/usr/lib/exa

"ImportError: No module named gobject"

2011-02-21 Thread Luther
y", line 49, in main exaile = main.Exaile() File "/usr/lib/exaile/xl/main.py", line 74, in __init__ self.mainloop_init() File "/usr/lib/exaile/xl/main.py", line 439, in mainloop_init import gobject ImportError: No module named gobject Is there some special way

Problem with queues and gobject event loop

2009-09-11 Thread Roman Kapl
Why does not this snipplet work? - from job import JobQueue import Queue import threading import gobject q=JobQueue() def worker(): print "Worker waiting" q.get() print "Got job!" if __name__

Gobject

2007-09-21 Thread Eduardo Matus
(the relevant part): import gobject, sys,os def play(self,opciones ,target): mpc = "mplayer -slave -quiet \"" + target + "\" 2>/dev/null" self.pin, self.pout = os.popen2(mpc) #open pipe self.startEofHandler() def startEof

GObject and Python 2.5

2007-07-04 Thread Robert Rawlins - Think Blue
and I get 'ImportError: No module named gobject' thrown back at me. I think I've successfully install the glib library using apt-get but the problem still persists. There is obviously a module I'm missing, any ideas what it might be? Thanks guys, Rob -- http://mail.python.org/mailman/listinfo/python-list