<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi all</div><div><br></div><div>I'm a Twisted newbie and I have &nbsp;a question about exception handling of Twisted framework. &nbsp;</div><div>Whenever I got some exception raised from somewhere, I got truncated exception message like this.&nbsp;</div><div><br></div><div><div><font class="Apple-style-span" color="#0000FF">>>>Traceback (most recent call last):</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp;File "./fcli.py", line 68, in &lt;module></font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;reactor.run()</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp;File "/opt/local/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 223, in run</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;self.mainLoop()</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp;File "/opt/local/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 234, in mainLoop</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;self.doIteration(t)</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp;File "/opt/local/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line 140, in doSelect</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;_logrun(selectable, _drdw, selectable, method, dict)</font></div><div><font class="Apple-style-span" color="#0000FF">--- &lt;exception caught here> ---</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp;File "/opt/local/lib/python2.5/site-packages/twisted/python/log.py", line 51, in callWithLogger</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;return callWithContext({"system": lp}, func, *args, **kw)</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp;File "/opt/local/lib/python2.5/site-packages/twisted/python/log.py", line 36, in callWithContext</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;return context.call({ILogContext: newCtx}, func, *args, **kw)</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp;File "/opt/local/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext</font></div><div><font class="Apple-style-span" color="#0000FF">&nbsp;&nbsp; &nbsp;return self.currentContext().callWithContext(ctx</font></div><div><font class="Apple-style-span" color="#0000FF"><br></font></div><div>and this make me so hard to find exact cause of the problem.&nbsp;</div><div>Can anyone tell me how can I solve this problem?</div><div><br></div><div>Thanks a lot for your help in advance!</div><div>/Kangkook</div></div></body></html>