On Jun 11, 2013, at 6:20 PM, Paul Sajna wrote:
> I continue to use threads because my application uses a GUI that becomes
> blocked when the server starts. Also, I am now having a problem where port is
> undefined until the server is stopped and started again.
Paul,
Until you stop using thre
I have a twisted application that seems to occasionally jam up. It dispatches
a lot of work via DeferToThread, and in some instances it appears that the
specific thread pool locks up ( haven't found out why yet ). I'm fairly
certain that the problem is stemming from getting HTTP documents ( t
I have a twisted application that seems to occasionally jam up. It dispatches
a lot of work via DeferToThread, and in some instances it appears that the
specific thread pool locks up ( haven't found out why yet ). I'm fairly
certain that the problem is stemming from getting HTTP documents ( t
I'm using Tkinter. When I do the reactor.listenTCP(), the server takes over
the main thread and the GUI freezes. Could you help me craft a GUI-safe
solution?
On 12 June 2013 00:06, Glyph wrote:
>
> On Jun 11, 2013, at 6:20 PM, Paul Sajna wrote:
>
> I continue to use threads because my applicat
Hi Paul
The documentation covers how to use Twisted with Tk (and many other event
loops). Here's the link you want:
https://twistedmatrix.com/documents/current/core/howto/choosing-reactor.html#auto16
Hope that helps :)
lvh
___
Twisted-Python mailing lis
On Jun 12, 2013, at 11:40 AM, Jonathan Vanasco wrote:
> Does anyone have a suggestion on how to best approach this ? I saw some old
> discussions about ideas for implementing graceful restarts via autoload, and
> other stuff.
I'm not sure what "autoload" is. I am assuming it's some kind of
On Jun 12, 2013, at 4:31 PM, Glyph wrote:
> I'm not sure what "autoload" is. I am assuming it's some kind of
> auto-re-loading technology though.
The earlier discussions talked about Django's autoload, which reloads the
entire process on a config file change.
> You do want to re-start your p
Hi Paul,
Have you tried the solution listed here:
http://twistedmatrix.com/documents/13.0.0/core/howto/choosing-reactor.html#auto16
With this approach, twisted would manage tkinter and you won't block on any
twisted API calls.
Sent from my iPhone
On Jun 12, 2013, at 3:58 PM, Paul Sajna wrote
Hi Jonathan
You might also find something like this useful:
http://twistedmatrix.com/pipermail/twisted-python/2009-December/021107.html
Optionally, it would be easy to add a timeout value to the class that could
cancel outstanding deferreds after a certain amount of time and then fire
all the wai
On 5 Jun, 07:13 pm, f...@64studio.com wrote:
Hi,
following up from ticket #6502, I'm looking for recommendations/best
practices for writing unit-tests for AMP-based code.
As described in the ticket, the issue I'm currently facing is that the
AMP implementation is subtly not re-entrant safe and
On Jun 12, 2013, at 4:16 PM, exar...@twistedmatrix.com wrote:
[snip]
> So this all means that your application logic can all live on a
> CommandLocator subclass. When you really want to put this on an AMP server,
> you can hook an AMP instance up to your CommandLocator subclass (AMP takes a
11 matches
Mail list logo