Subject: Re: pkg/32426: btdownloadcurses.py crashes
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Peter Kerwien <peter@kerwien.homeip.net>
List: pkgsrc-bugs
Date: 01/02/2006 12:10:02
The following reply was made to PR pkg/32426; it has been noted by GNATS.

From: "Peter Kerwien" <peter@kerwien.homeip.net>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Re: pkg/32426: btdownloadcurses.py crashes
Date: Mon, 2 Jan 2006 12:59:14 +0100 (CET)

 > The following reply was made to PR pkg/32426; it has been noted by GNATS.
 >
 > From: joerg@britannica.bec.de
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: pkg/32426: btdownloadcurses.py crashes
 > Date: Mon, 2 Jan 2006 10:00:03 +0100
 >
 >  On Mon, Jan 02, 2006 at 07:14:58AM +0000, peter@kerwien.homeip.net wrote:
 >  > I cannot get BitTornado-0.3.14 to work, it crashes with this message:
 >  >
 >  > -bash-3.00# btdownloadcurses.py foo.torrent
 >
 >  Can you try to explain what exactly happens after that and before the
 >  stack trace?  If legally possible, also provide a link to the torrent
 >  file, so that we can try to reproduce this.
 >
 >  Joerg
 >
 >
 
 Here is a torrent that I used:
 
 http://tracker.netdomination.org/torrents/livecd-x86-2005.1.iso.torrent
 
 This is what happens when I try it:
 
 -bash-3.00# btdownloadcurses.py livecd-x86-2005.1.iso.torrent
 
 (very shortly I can see the normal BitTornado window, then this error is
 printed)
 
 Traceback (most recent call last):
   File "/usr/pkg/bin/btdownloadcurses.py", line 402, in ?
     curses_wrapper(run, errlist, argv[1:])
   File "/usr/pkg/lib/python2.4/curses/wrapper.py", line 44, in wrapper
     return func(stdscr, *args, **kwds)
   File "/usr/pkg/bin/btdownloadcurses.py", line 366, in run
     if not dow.initFiles(old_style = True):
   File "/usr/pkg/lib/python2.4/site-packages/BitTornado/download_bt1.py",
 line 542, in initFiles
     return self.storagewrapper.old_style_init()
   File
 "/usr/pkg/lib/python2.4/site-packages/BitTornado/BT1/StorageWrapper.py",
 line 159, in old_style_init
     self.statusfunc(fractionDone = 0)
   File "/usr/pkg/bin/btdownloadcurses.py", line 218, in display
     self.fieldwin.addnstr(0, 0, self.file, self.fieldw, curses.A_BOLD)
 _curses.error: addnstr() returned ERR
 -bash-3.00#
 
 Sorry, but I cannot give more information, since I don't "speak" python.
 
 Here is a very short list of some applications that I think is relevant
 for BitTornado:
 
 libtool-base-1.5.18nb6
 ncurses-5.5
 python24-2.4.2nb2
 py24-curses-0nb3
 py24-cursespanel-0nb2
 BitTornado-0.3.14
 
 Tell me if you want the full list of my installed packages.
 
 ----------------------------------------------------
 If Windows is the answer, you don't understand the question!