Almost everything work fine when I use the CLI, but I have a problem with the web interface which I would like to use for simplicity and curiosity.
When I try to use it, this is what it shows in the browser:
Request did not return bytes
Request:
Resource:
<__main__.WIRoot instance at 0x04CB1DF0>
Value:
and this is on the console:
In [19]: %run pywallet.py --web
2014-04-02 22:33:24-0700 [-] Log opened.
2014-04-02 22:33:24-0700 [-] Starting server: 2014-04-02 22:33:24.084000
2014-04-02 22:33:24-0700 [-] Site starting on 8989
2014-04-02 22:33:24-0700 [-] Starting factory
2014-04-02 22:33:32-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [03/Apr/2014:05:33:32 +0000] "GET / HTTP/1.1" 500 238122 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36"
2014-04-02 22:33:32-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [03/Apr/2014:05:33:32 +0000] "GET /favicon.ico HTTP/1.1" 200 14 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36"
EDIT (after more testing...)
This is mainly happening in IPython with the %run magic; also causing the IPython instance to not function correctly after pywallet.py is interrupted by CTRL+C or forcing a quit by directing the browser to '
http://localhost:8989/quit.'
Control and escaped characters can be noticed at its prompt:
http://i.imgur.com/YrFrD1bl.pngBut instead, if we call the pywallet.py from the actual python executable called as a escaped IPython console command instance. by '!python(.exe) pywallet.py --web', then in this nested-Russian-Dolls-mode everything works.
... not optimal, since almost all of the IPython feature are defeated, but it works.
So could anybody help troubleshoot and fix this?