wow: i seem to get a lot of encoding errors with the development
version.. for instance this one here.

    urwid.AttrMap.__init__(self, urwid.Text(bodytxt), 'message_body')
  File 
"/usr/local/lib/python2.7/dist-packages/urwid-0.9.10_pre-py2.7-linux-i686.egg/urwid/widget.py",
line 467, in __init__
    self.set_text(markup)
  File 
"/usr/local/lib/python2.7/dist-packages/urwid-0.9.10_pre-py2.7-linux-i686.egg/urwid/widget.py",
line 509, in set_text
    self._text, self._attrib = decompose_tagmarkup(markup)
  File 
"/usr/local/lib/python2.7/dist-packages/urwid-0.9.10_pre-py2.7-linux-i686.egg/urwid/util.py",
line 375, in decompose_tagmarkup
    text = u"".join(tl)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
186: ordinal not in range(128

i am sure that "bodytxt" is valit utf8, because i explicitly encoded
it as such. how come there is encoding going on anyway?
best,
/p


On 6 July 2011 10:47, Patrick Totzke <[email protected]> wrote:
> Hi Ian,
> Thanks for the reply, I just updated to git HEAD and all runs smoothly.
> Are those two repositories in sync? how come you use git _and_ mercurial?
> best,
> /p
>
>>> Yes, it's been a long time since I've put an official release up.  For
>>> now you'll need to use the development version:
>>>
>>> hg clone https://excess.org/hg/urwid/
>>> or
>>> git clone http://github.com/wardi/urwid
>>>
>>> Ian
>>>
>>> _______________________________________________
>>> Urwid mailing list
>>> [email protected]
>>> http://lists.excess.org/mailman/listinfo/urwid
>>>
>>
>>
>

_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to