On Feb 20, 8:34 am, "Edward K. Ream" <[email protected]> wrote:
> mod_http.py:
>
> - Use new calling sequence for g.openWithFileName.

Running build 5002  (also noticed from build 4991).
Start leo, Open scripts.leo then start browser at http://localhost:8130/
Here is the traceback:

Leo Log Window
Leo 4.9.1 devel, build 5002, 2012-02-23 09:26:33
Python 3.2.2, qt version 4.8.0
Windows 6, 1, 7600, 2,
PC.local - - [23/Feb/2012 09:53:21] "GET / HTTP/1.1" 200 -
Traceback (most recent call last):
  File "C:\Python32\Lib\site-packages\leo-editor\leo\plugins
\mod_http.py", line 574, in send_head
    f = self.leo_actions.get_favicon()
  File "C:\Python32\Lib\site-packages\leo-editor\leo\plugins
\mod_http.py", line 1080, in get_favicon
    f.write(open(path).read())
  File "C:\Python32\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position
294: character maps to <undefined>
error: uncaptured python exception, closing channel
<leo.plugins.mod_http.RequestHandler connected 127.0.0.1:55889 at
0x57b6c88> (<class 'UnicodeDecodeError'>:'charmap' codec can't decode
byte 0x8f in position 294: character maps to <undefined> [C:
\Python32\Lib\site-packages\leo-editor\leo\plugins\mod_http.py|a_read|
1161] [C:\Python32\Lib\site-packages\leo-editor\leo\plugins
\mod_http.py|handle_read_event|792] [C:\Python32\lib\asyncore.py|
handle_read_event|444] [C:\Python32\lib\asynchat.py|handle_read|178]
[C:\Python32\Lib\site-packages\leo-editor\leo\plugins\mod_http.py|
found_terminator|824] [C:\Python32\Lib\site-packages\leo-editor\leo
\plugins\mod_http.py|handle_request_line|814] [C:\Python32\Lib\site-
packages\leo-editor\leo\plugins\mod_http.py|do_GET|737] [C:
\Python32\Lib\site-packages\leo-editor\leo\plugins\mod_http.py|
handle_data|784] [C:\Python32\Lib\site-packages\leo-editor\leo\plugins
\mod_http.py|send_head|574] [C:\Python32\Lib\site-packages\leo-editor
\leo\plugins\mod_http.py|get_favicon|1080] [C:\Python32\lib\encodings
\cp1252.py|decode|23])

The full traceback is repeated 5 times.

Regards
Lewis

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to