Hi everybody.<br><br>I'm currently writing a small chatclient based upon twisted in a mvc pattern and decided (because of the python-curses module not supporting clean utf-8 output) to write the userinterface with urwid. I've found a little example for a irc-client in urwid using the same method to join with twisted I used with curses (register with the reactor using the addReader-method) and began to implement input at first. In my humble opinion the code should work but it isn't. I discovered the twisted main loop in urwid too but have no idea how to make use of it.<br>
<br>Here the code and the exception<br><a href="http://codepad.org/0Hlvmp1b">http://codepad.org/0Hlvmp1b</a><br><br>Thanks for your help<br><br>Christian Scharkus<br>