Re: Application suddenly stuck at startup

2013-03-01 Thread Robert Schroll
On Fri, Mar 1, 2013 at 7:14 PM, Andrey Gursky wrote: Hi Robert, Jonathan, 2013/3/1, Robert Schroll : I agree with your reading of the docs. It's things like this that leave me perpetually confused about threading. The one possible explanation I see is that "activate"

Re: Application suddenly stuck at startup

2013-03-01 Thread Robert Schroll
On Fri, Mar 1, 2013 at 12:46 PM, Jonathan Ballet wrote: On 03/01/2013 03:11 PM, Robert Schroll wrote: On Fri, Mar 1, 2013 at 10:12 AM, Jonathan Ballet wrote: I notice that either: * removing the loop with Gtk.main_iteration(), or... * removing the "Gdk.threads_init()" ca

Re: Application suddenly stuck at startup

2013-03-01 Thread Robert Schroll
On Fri, Mar 1, 2013 at 10:12 AM, Jonathan Ballet wrote: I notice that either: * removing the loop with Gtk.main_iteration(), or... * removing the "Gdk.threads_init()" call doesn't exhibit the problem. I think the problem is that you don't have the Gdk lock when you're calling Gtk.main_it

logging in gi.repository import

2012-11-05 Thread Robert Schroll
Hi all, Briefly: Why are import errors from gi.repository logged with logging.error? Isn't the ImportError enough of a clue that something went wrong? More detailed: I have an Python program that uses the Notify library, through pyGObject, as an optional dependency. I do the import somethi