pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/32426: btdownloadcurses.py crashes



>Number:         32426
>Category:       pkg
>Synopsis:       btdownloadcurses.py crashes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 02 07:14:58 +0000 2006
>Originator:     Peter Kerwien
>Release:        NetBSD 3.0
>Organization:
>Environment:
NetBSD netbsd.homedns.org 3.0 NetBSD 3.0 (MYKERNEL) #2: Mon Dec 19 21:38:06 CET 
2005  root@server:/usr/obj/sys/arch/amd64/compile/MYKERNEL amd64

>Description:
I cannot get BitTornado-0.3.14 to work, it crashes with this message:

-bash-3.00# btdownloadcurses.py foo.torrent
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

I have tried to re-install it and also tried with python23, but with same 
result. I have upgraded to the pkgsrc branch pkgsrc-2005Q4.
>How-To-Repeat:
I'm not sure, but for me I only have to install BitTornado and then try to run 
btdownloadcurses.py with a torrent file.
>Fix:




Home | Main Index | Thread Index | Old Index