From owner-freebsd-chat  Fri Jan 24 20:52:53 2003
Delivered-To: freebsd-chat@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 18DA937B401; Fri, 24 Jan 2003 20:52:52 -0800 (PST)
Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 7942A43EB2; Fri, 24 Jan 2003 20:52:50 -0800 (PST)
	(envelope-from doconnor@gsoft.com.au)
Received: from midget.dons.net.au (ppp177.sa.padsl.internode.on.net [150.101.244.176])
	by smtp0.adl1.internode.on.net (8.12.4/8.12.4) with ESMTP id h0P4qZCq015190;
	Sat, 25 Jan 2003 15:22:40 +1030 (CST)
Received: (from root@localhost)
	by midget.dons.net.au (8.12.2/8.12.2) id h0P4qINY062296;
	Sat, 25 Jan 2003 15:22:18 +1030 (CST)
	(envelope-from doconnor@gsoft.com.au)
Received: from [127.0.0.1] (root@localhost [127.0.0.1])
	by midget.dons.net.au (8.12.2/8.12.2av) with ESMTP id h0P4q9tJ062284;
	Sat, 25 Jan 2003 15:22:13 +1030 (CST)
	(envelope-from doconnor@gsoft.com.au)
Subject: Re: FreeBSD port of BitTorrent is done. Help test
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
To: Hunter Peress <hfastjava@yahoo.com>
Cc: chat@freebsd.org, current@freebsd.org, bMAH@freebsd.org
In-Reply-To: <20030124194539.50663.qmail@web41308.mail.yahoo.com>
References: <20030124194539.50663.qmail@web41308.mail.yahoo.com>
Content-Type: text/plain
Organization: 
Message-Id: <1043470327.85148.153.camel@chowder.dons.net.au>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.0 
Date: 25 Jan 2003 15:22:08 +1030
Content-Transfer-Encoding: 7bit
X-Spam-Score: -1.6 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SIGNATURE_SHORT_DENSE,SPAM_PHRASE_02_03
X-Scanned-By: MIMEDefang 2.26 (www . roaringpenguin . com / mimedefang)
X-Virus-Scanned: by AMaViS perl-11
Sender: owner-freebsd-chat@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-chat.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-chat>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-chat>
X-Loop: FreeBSD.org

On Sat, 2003-01-25 at 06:15, Hunter Peress wrote:
> http://www.thiago.joi.com.br/andre/bittorrent.html
> 
> Basically, all that is required to minimally get things running is that you have
> python2.2 available in your ports tree. (for X GUI u'll need wxpython2.3 for
> python2.2 (which the package DOESNT require), but there are still 2 nice command
> line interfaces: btdownloadheadless.py, and btdownloadcurses.py).


A few suggestions..
 - Install the executables without the .py extension
 - Dynamically generate pkg-message and substitute PREFIX

Also, the curses version bails with..
Traceback (most recent call last):-----------------------------------------------------------
  File "/usr/local/bin/btdownloadcurses.py", line 167, in ?
    run(argv[1:])
  File "/usr/local/bin/btdownloadcurses.py", line 115, in run
    download(params, d.chooseFile, d.display, d.finished, d.error, Event(), fieldw)
  File "/usr/local/lib/python2.2/site-packages/BitTorrent/download.py", line 88, in download
    errorfunc('arguments are -\n' + formatDefinitions(defaults, cols))
  File "/usr/local/bin/btdownloadcurses.py", line 67, in error
    self.display()
  File "/usr/local/bin/btdownloadcurses.py", line 98, in display
    fieldwin.addstr(7 + i, 0, self.errors[i], curses.A_BOLD)
_curses.error: addstr() returned ERR

________________________________________________________________________
-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message