Re: wxPython UI
Eric Davis <[email protected]> Fri, 02 Dec 2005 10:01:43 -0500
| Newsgroups | gmane.comp.games.mud.client.lyntin |
|---|---|
| Message-ID | <[email protected]> |
Hey everyone,
I am back after a 2 year hiatus on mudding.
Actually this happens with me on the tkui also. It is a unicode thing,
Here is the traceback:
Traceback (most recent call last):
File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
return self.func(*args)
File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 456, in callit
func(*args)
File "/home/endavis/games/lyntin41/lyntin/ui/tkui.py", line 245, in
dequeue
ev.execute(self)
File "/home/endavis/games/lyntin41/lyntin/ui/tkui.py", line 121, in
execute
tkui.write_internal(self._text)
File "/home/endavis/games/lyntin41/lyntin/ui/tkui.py", line 417, in
write_internal
self._unfinishedcolor)
File "/home/endavis/games/lyntin41/lyntin/ui/tkui.py", line 1107, in
buffer_write
txtbuffer.insert('end', mem.decode(UNICODE_ENCODING), tuple(format))
File "/usr/lib/python2.4/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 0:
unexpected code byte
Here is the traceback for the wxpython ui:
Traceback (most recent call last):
File "/home/endavis/games/lyntin41/lyntin/ui/wxpythonui/__init__.py",
line 533, in dequeue
ev.execute(self)
File "/home/endavis/games/lyntin41/lyntin/ui/wxpythonui/__init__.py",
line 261, in execute
wxui.write_internal(self._text)
File "/home/endavis/games/lyntin41/lyntin/ui/wxpythonui/__init__.py",
line 643, in write_internal
self._unfinishedcolor)
File "/home/endavis/games/lyntin41/lyntin/ui/wxpythonui/__init__.py",
line 1415, in buffer_write
txtbuffer.AppendText(mem)
File
"/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_controls.py",
line 1845, in AppendText
return _controls_.TextCtrl_AppendText(*args, **kwargs)
File "/usr/lib/python2.4/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 0:
unexpected code byte
BTW: the __init__.py file is just the wxpythonui.py file renamed and put
into its own directory.
The mud I uses makes extensive use of colors, and if I do a who on the
mud, this exception will 100% of the time come up on the same person in
the who list and the ui will no longer update.
BTW, I mud on aardwolf mud if you want to test it out.
aardmud.org 4000
When I tested it, it raised this error on the tk, and the wxpython ui,
but not on the text or curses ui.
Eric
Eugene wrote:
> On Fri, 2 Dec 2005 10:59:46 +0100
> Kris Op de Beeck <[email protected]> wrote:
>> Hi,
>>
>> I've installed lyntin and downloaded the wxPython UI.
>> I've noticed it lock up randomly.
>> Basicly the GUI is nolonger updated, but all commands are still send
>> to the mud.
>> Also a simple #@ print xxx doesn't get updated in the GUI either.
>>
>> Does anyone already has solved this problem or not ?
>
> This UI is not included into Lyntin (yet?) and is not supported. I guess
> it's only its author who could be of help here.
>
> --
> Eugene
> ---
> Professional hosting for everyone - http://www.host.ru
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click