From owner-freebsd-python@FreeBSD.ORG Mon Jul 7 17:58:02 2008 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D159106567E; Mon, 7 Jul 2008 17:58:02 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 685DA8FC0A; Mon, 7 Jul 2008 17:58:02 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 472615C2E; Mon, 7 Jul 2008 13:43:08 -0400 (EDT) Date: Mon, 7 Jul 2008 13:43:08 -0400 From: Wesley Shields To: Kris Kennaway Message-ID: <20080707174308.GF8983@atarininja.org> References: <48711120.1000209@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48711120.1000209@FreeBSD.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: neal@nelson.name, python@FreeBSD.org Subject: Re: py-bittorrent/twistedCore broken on 8.0? X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2008 17:58:02 -0000 On Sun, Jul 06, 2008 at 08:38:24PM +0200, Kris Kennaway wrote: > Hi, > > I am trying to use the python bittorrent tracker with python 2.5 and > FreeBSD 8.0, but I am getting a lot of errors from the kqueue reactor in > twisted. [...] > i.e. just it is getting exceptions when doing nothing at all, so it > seems to be completely broken. > > Have you tried this, or do you know where to begin looking at what might > be wrong? Unfortunately I have no idea what is wrong, nor where to begin looking. I've never had to run a tracker before, sorry. I did just test it out on a machine: wxs@ack ~ % uname -a FreeBSD ack.atarininja.org 8.0-CURRENT FreeBSD 8.0-CURRENT #3: Tue May 27 12:45:19 EDT 2008 root@ack.atarininja.org:/usr/obj/usr/src/sys/GENERIC amd64 wxs@ack ~ % bittorrent-tracker --port 9999 --allowed_dir /home/wxs/tmp >>> unable to setrlimit not allowed to raise maximum limit 2008-07-07T17:40:44.632286 parse_dir: parsing directory /home/wxs/tmp track: create_serversocket, port= 9999 2008-07-07T17:41:44.644721 parse_dir: parsing directory /home/wxs/tmp It has been sitting there for a few minutes now, but I have yet to point a client at it. /home/wxs/tmp is where I have a torrent file that I downloaded from freebsd.org. I have no idea if this is the right way to setup a tracker or not. If it isn't I'll see about setting up a tracker properly and see if I can reproduce your problem that way. -- WXS