[Twisted-Python] cursesclient bugs?

Andrew Bennetts andrew-twisted at puzzling.org
Wed Nov 19 16:49:27 MST 2003


On Wed, Nov 19, 2003 at 06:15:15PM -0500, Phil Christensen wrote:
> So i followed Andrew's 'raw_input' advice with much success, but i
> naturally wanted to dive into curses. I was checking out the
> cursesclient.py file in doc/examples/, but it seems to be broken...
> 
> it connects and everything just fine, but as soon as i type anything, i
> get the following:
> 
> -------------------------------------------------------------
> --- <exception caught here> ---
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
> site-packages/twisted/python/log.py", line 60, in callWithLogger
>     lp = logger.logPrefix()                                               
>                          exceptions.AttributeError: Screen instance
> has no attribute 'logPrefix'
> 
> -------------------------------------------------------------
> 
> any ideas?

It's already been fixed in CVS:

    http://cvs.twistedmatrix.com/cvs/doc/examples/cursesclient.py?rev=1.7&content-type=text/vnd.viewcvs-markup

-Andrew.





More information about the Twisted-Python mailing list