私はここにあるツイストドキュメントからtwisted.wordsのMSNプロトコルの例を実行しているから、このトレースバックを理解させますこれはまったく別の問題です。このサンプルを実行すると、期待どおりの動作をします。アカウントにログインし、buddylist上のユーザーに関する情報を表示しますが、それは私はtwisted.wordsのMSNサンプル
> 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:
このトレースバックを吐くことを行わした後、誰かが私はそれが何を意味するのか理解するのに役立つだろうか?
このコードは、ねじれた単語の文書から完全なコピー貼り付けです。これはmsnプロトコルの変更と関係がありますか?それとも、私は依存ライブラリやそのようなものがないのでしょうか? – Ryan
これはねじれた部分のAPIの変化のようですが、私はそれに精通していないので分かりません。 –