<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.28.1">
</HEAD>
<BODY>
I believe reactor.run() never returns and always blocks the calling thread until reactor.stop() is called, afterwhich you cannot call reactor.run() again. Not sure if that helps you though.<BR>
<BR>
On Sun, 2010-02-14 at 22:36 +0100, giskard wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi all,

i think i'm not doing things in the right way:

<A HREF="http://paste.debian.net/59855/">http://paste.debian.net/59855/</A>

this code implement a simple jabber client, if you remove the class defnition 
and run it (removing also the run def) it works!

but if i 'class' it and run via:
<A HREF="http://paste.debian.net/59856/">http://paste.debian.net/59856/</A>

reactor.run() hangs.

where i'm wrong?

thank you in advance,
--
ciao,
giskard




_______________________________________________
Twisted-Python mailing list
<A HREF="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</A>
<A HREF="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>