You are not logged in.
I am getting a strange error when running btdownloadcurses.py in screen. If I detach screen and reattach there is an error on the curses window. Quitting bittornado gives the full error message as:
These errors occurred during execution:
[06:38:49] Traceback (most recent call last):
File "//home/tomk/builds/bittornado/pkg/usr//lib/python2.4/site-packages/BitTornado/RawServer.py", line 122,
in listen_forever File "//home/tomk/builds/bittornado/pkg/usr//lib/python2.4/site-packages/BitTornado/SocketHandler.py", line
343, in do_poll File "/usr/bin/btdownloadcurses.py", line 116, in winch_handler
curses.endwin()
error: endwin() returned ERR
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
The error is thrown once for each detach/reattach cycle. As far as I can tell, the torrent continues to down/upload.
I'm guessing this has something to do with the build, since I do not have user "tomk" on my system.
edit: rebuilding bittornado locally had no effect.
Offline
I can't reproduce your error, but I think I've identified the problem anyway. Try this package:
http://www.archlinux.org/~tom/packages/ … pkg.tar.gz
and let me know how it goes.
Offline
Well, it's throwing a slightly different error:
These errors occurred during execution:
[20:55:17] Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/BitTornado/RawServer.py", line 122, in listen_forever
events = self.sockethandler.do_poll(period)
File "/usr/lib/python2.4/site-packages/BitTornado/SocketHandler.py", line 343, in do_poll
r = self.poll.poll(t*timemult)
File "/usr/bin/btdownloadcurses.py", line 116, in winch_handler
curses.endwin()
error: endwin() returned ERR
At least it's no longer mentioning your build directory!
Offline
Well, it's progress, I suppose.
Re the actual problem, though - I run bittornado in screen all the time, with frequent detach/reattach, and I've never seen this, so it's difficult to debug. One thing I'd suggest is to try it with the standard bittorrent client, which imports the same python-curses modules. If the error persists, a python reinstall might help.
Offline
I've troubleshot this down to ~/.screenrc. The error happens anytime there is a hardstatus or caption line in the .screenrc file. I've reinstalled python, ncurses, and screen. Strange...
Offline
Well, just for completeness' sake...this appears to have worked its self out. I'm not seeing this error any longer.
Offline