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
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
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
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
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
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
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
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
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
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
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
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
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
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__
(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
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
16 matches
Mail list logo