On 7 Feb, 12:41 am, [email protected] wrote:
>Am Montag, 6. Februar 2012, 23:12:29 schrieb [email protected]:
>>On 08:07 pm, [email protected] wrote:
>> >Hi,
>>
>> >with twisted 11.0.0 and python 2.7, my error fails here:
>>Hello,
>>
>>Please provide a minimal example reproducing the problem so we can
>>discuss it.  See http://sscce.org/ for more details.
>
>I was hoping it would be self-evident. Trimming this to a short example
>could be rather much work. I hope the full backtrace will help.

Would anyone else like to try to construct a minimal example for this 
and file a ticket for it?  The problem *appears* to be due to the fact 
that `Exception` does not support conversion to a string when it is 
wrapped around unicode.  eg,

  >>> str(Exception(u'\N{SNOWMAN}'))
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in 
position 0: ordinal not in range(128)
  >>>
Jean-Paul

_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to