Re: [Twisted-Python] Second try at reporting gtk reactor problem
![](https://secure.gravatar.com/avatar/7ed9784cbb1ba1ef75454034b3a8e6a1.jpg?s=120&d=mm&r=g)
On Fri, 27 Feb 2004 08:17:31 -0800, "David E. Konerding" <dekonerding@lbl.gov> wrote:
When I run this program, here is the output: exarkun@boson:~$ python p.py 2004/02/27 12:36 EST [-] Log opened. 2004/02/27 12:36 EST [-] 'ticker: 1077903388' 2004/02/27 12:36 EST [-] 'ticker: 1077903389' 2004/02/27 12:36 EST [-] 'ticker: 1077903390' 2004/02/27 12:36 EST [-] 'ThingyManager submitting' 2004/02/27 12:36 EST [-] TestThingy created 2004/02/27 12:36 EST [-] 'ThingyManager created' 2004/02/27 12:36 EST [-] 'ThingyManager calledInThread' 2004/02/27 12:36 EST [-] 'ticker: 1077903391' 2004/02/27 12:36 EST [-] 'ticker: 1077903392' 2004/02/27 12:36 EST [-] 'ticker: 1077903393' 2004/02/27 12:36 EST [-] 'ticker: 1077903394' 2004/02/27 12:36 EST [-] TestThingy run 2004/02/27 12:36 EST [-] TestThingy message 2004/02/27 12:36 EST [-] 'ticker: 1077903395' 2004/02/27 12:36 EST [-] 'ticker: 1077903396' 2004/02/27 12:36 EST [-] 'ticker: 1077903397' 2004/02/27 12:36 EST [-] 'ticker: 1077903398' 2004/02/27 12:36 EST [-] 'ticker: 1077903399' 2004/02/27 12:36 EST [-] 'ticker: 1077903400' 2004/02/27 12:36 EST [-] 'ticker: 1077903401' 2004/02/27 12:36 EST [-] 'ticker: 1077903402' <- I hit ^C here 2004/02/27 12:36 EST [-] TestThingy message 2004/02/27 12:36 EST [-] TestThingy message 2004/02/27 12:36 EST [-] TestThingy message 2004/02/27 12:36 EST [-] TestThingy message 2004/02/27 12:36 EST [-] TestThingy message 2004/02/27 12:36 EST [-] TestThingy message 2004/02/27 12:36 EST [-] TestThingy message 2004/02/27 12:36 EST [-] TestThingy message 2004/02/27 12:36 EST [-] TestThingy message 2004/02/27 12:36 EST [-] TestThingy done 2004/02/27 12:36 EST [-] 'Reactor done' Jp
![](https://secure.gravatar.com/avatar/37bc4d6e5a625d85328a2f04548544c7.jpg?s=120&d=mm&r=g)
exarkun@divmod.com wrote:
OK, precisely: you're not seeing TestThingy messages as frequently as they are should be generated, and when you hit ^C they start coming frequently (after the gtk mainloop is exited, I believe). Now the only thing is to determine whether there is any real problem with the example. The only remaining criticism I anticipate is the use of log. calls in the second thread, but removing them doesn't substantially change the problem (actually, it just exhibits a *different* kind of unexpected behavior). Dave
![](https://secure.gravatar.com/avatar/37bc4d6e5a625d85328a2f04548544c7.jpg?s=120&d=mm&r=g)
exarkun@divmod.com wrote:
OK, precisely: you're not seeing TestThingy messages as frequently as they are should be generated, and when you hit ^C they start coming frequently (after the gtk mainloop is exited, I believe). Now the only thing is to determine whether there is any real problem with the example. The only remaining criticism I anticipate is the use of log. calls in the second thread, but removing them doesn't substantially change the problem (actually, it just exhibits a *different* kind of unexpected behavior). Dave
participants (2)
-
David E. Konerding
-
exarkun@divmod.com