ここにあるツイスト ドキュメントから twisted.words msn プロトコルの例を実行しています: http://twistedmatrix.com/projects/words/documentation/examples/msn_example.py
stackoverflow のこのサンプル .py について別の質問があることは承知していますが、これはまったく別の問題です。この例を実行すると、期待どおりに動作します。アカウントにログインし、バディリストのユーザーに関する情報を表示しますが、その後、このトレースバックを吐き出します
> Traceback (most recent call last):
> File
> "c:\python26\lib\site-packages\twisted\python\log.py",
> line 84, in callWithLogger
> return callWithContext({"system": lp}, func, *args, **kw) File
> "c:\python26\lib\site-packages\twisted\python\log.py",
> line 69, in callWithContext
> return context.call({ILogContext: newCtx}, func, *args, **kw) File
> "c:\python26\lib\site-packages\twisted\python\context.py",
> line 59, in callWithContext
> return self.currentContext().callWithContext(ctx,
> func, *args, **kw) File
> "c:\python26\lib\site-packages\twisted\python\context.py",
> line 37, in callWithContext
> return func(*args,**kw)
> --- <exception caught here> --- File "c:\python26\lib\site-packages\twisted\internet\selectreactor.py",
> line 146, in _doReadOrWrite
> why = getattr(selectable, method)() File
> "c:\python26\lib\site-packages\twisted\internet\tcp.py",
> line 463, in doRead
> return self.protocol.dataReceived(data)
> File
> "c:\python26\lib\site-packages\twisted\protocols\basic.py", line 239, indataReceived
> return self.rawDataReceived(data) File
> "c:\python26\lib\site-packages\twisted\words\protocols\msn.py",
> line 676 in rawDataReceived
> self.gotMessage(m) File "c:\python26\lib\site-packages\twisted\words\protocols\msn.py",
> line 699, in gotMessage
> raise NotImplementedError exceptions.NotImplementedError:
誰かがそれが何を意味するのか理解するのを手伝ってもらえますか?