From owner-freebsd-python@FreeBSD.ORG Wed Dec 1 15:24:03 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A269C16A4CE for ; Wed, 1 Dec 2004 15:24:03 +0000 (GMT) Received: from miffy.openlook.org (openlook.org [211.236.182.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02FE243D4C for ; Wed, 1 Dec 2004 15:24:03 +0000 (GMT) (envelope-from perky@miffy.openlook.org) Received: by miffy.openlook.org (Postfix, from userid 1000) id 0497BA973; Thu, 2 Dec 2004 00:24:02 +0900 (KST) Date: Thu, 2 Dec 2004 00:24:01 +0900 From: Hye-Shik Chang To: python@FreeBSD.org Message-ID: <20041201152401.GA19363@i18n.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline X-Accept-Language: ko, en User-Agent: Mutt/1.5.6i Subject: [HEADS-UP] Python 2.4 is now a default in ports. X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 15:24:03 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable lang/python is just updated to the long waited 2.4 final release. Please rebuild your all python-dependent ports along with lang/python. If you find any problem on using python 2.4, please post a note to this mailing list. Thank you and have fun with Python 2.4! :) ----- Forwarded message from Hye-Shik Chang ----- Delivered-To: cvs-all@freebsd.org =46rom: Hye-Shik Chang Date: Wed, 1 Dec 2004 15:04:05 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/lang Makefile ports/Mk bsd.python.mk ports/lang/python23 Makefile distinfo pkg-plist ports/lang/python23/files patch-setup.py ports/lang/python Makefile distinfo pkg-plist ports/lang/python/files ... perky 2004-12-01 15:04:05 UTC FreeBSD ports repository Modified files: lang Makefile=20 Mk bsd.python.mk=20 lang/python23 Makefile distinfo pkg-plist=20 lang/python23/files patch-setup.py=20 lang/python Makefile distinfo pkg-plist=20 lang/python/files patch-Python::ceval.c patch-setup.py=20 Removed files: lang/python/files patch-Lib::distutils::spawn.py=20 patch-Lib::email::Charset.py=20 patch-Lib::plat-freebsd6::IN.py=20 patch-Lib::posixfile.py=20 patch-Makefile.pre.in patch-configure=20 Log: - Update lang/python to 2.4 final release. - Finish repocopy lang/python -> lang/python23 for Python 2.3.4 =20 Revision Changes Path 1.59 +6 -6 ports/Mk/bsd.python.mk 1.429 +1 -0 ports/lang/Makefile 1.138 +12 -11 ports/lang/python/Makefile 1.50 +2 -6 ports/lang/python/distinfo 1.2 +0 -17 ports/lang/python/files/patch-Lib::distutils::spawn.= py (dead) 1.2 +0 -23 ports/lang/python/files/patch-Lib::email::Charset.py= (dead) 1.2 +0 -518 ports/lang/python/files/patch-Lib::plat-freebsd6::IN= =2Epy (dead) 1.2 +0 -16 ports/lang/python/files/patch-Lib::posixfile.py (dea= d) 1.2 +0 -16 ports/lang/python/files/patch-Makefile.pre.in (dead) 1.2 +5 -3 ports/lang/python/files/patch-Python::ceval.c 1.11 +0 -42 ports/lang/python/files/patch-configure (dead) 1.7 +2 -11 ports/lang/python/files/patch-setup.py 1.53 +313 -37 ports/lang/python/pkg-plist 1.138 +7 -7 ports/lang/python23/Makefile 1.50 +0 -21 ports/lang/python23/distinfo 1.7 +11 -2 ports/lang/python23/files/patch-setup.py 1.53 +0 -5 ports/lang/python23/pkg-plist ----- End forwarded message ----- --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBreIRDWUsWc/bS6QRAuLoAKCgBw1nT6HdJiwiHFK5nc6jlFjIUwCfVw1l pYkftwtvGfG1MdB2o9UEHzs= =tZG9 -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- From owner-freebsd-python@FreeBSD.ORG Thu Dec 2 15:55:44 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0AA716A4CE; Thu, 2 Dec 2004 15:55:44 +0000 (GMT) Received: from miffy.openlook.org (openlook.org [211.236.182.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1627343D2D; Thu, 2 Dec 2004 15:55:44 +0000 (GMT) (envelope-from perky@miffy.openlook.org) Received: by miffy.openlook.org (Postfix, from userid 1000) id EA860A977; Fri, 3 Dec 2004 00:55:42 +0900 (KST) Date: Fri, 3 Dec 2004 00:55:42 +0900 From: Hye-Shik Chang To: Chuck Robey Message-ID: <20041202155542.GA79436@i18n.org> References: <41AE852D.8080909@chuckr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41AE852D.8080909@chuckr.org> X-Accept-Language: ko, en User-Agent: Mutt/1.5.6i cc: ports@FreeBSD.org cc: python@FreeBSD.org Subject: Re: FreeBSD Port: python-2.4.a3 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2004 15:55:45 -0000 On Thu, Dec 02, 2004 at 02:59:57AM +0000, Chuck Robey wrote: > Excuse me please if this mail is formatted oddly, you are my first > experiment with using *several* new things, mozilla as mail agent, mail > from my imap machine. all on my new FreeBSD box. I hope this works. > > Anyhow, down to cases. I'm doing a freebie database for a buddy who > runs (owns) a video rental store. I'm using python, and gtk+ for the > widgets, and that much is flawless, it's beautiful, and so I'm off > trying to get a fairly simple database done in python, using > FreeBSD-current (my amd64 box, dual processsor, lots of disk, 1G of ram). > > Everytime I try doing something with bsddb, I get this error: > > >>> import bsddb > >>> db = bsddb.btopen("myfile","c") > Traceback (most recent call last): > File "", line 1, in ? > File "/usr/local/lib/python2.4/bsddb/__init__.py", line 303, in btopen > e = _openDBEnv() > File "/usr/local/lib/python2.4/bsddb/__init__.py", line 339, in _openDBEnv > e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD | > db.DB_INIT_LOCK | db.DB_INIT_MPOOL) > bsddb._db.DBInvalidArgError: (22, 'Invalid argument -- architecture > lacks fast mutexes: applications cannot be threaded') > > > I think my option here is to toss out all of the FreeBSD ported python, > and try instead, using one i build myself, but I would vastly rather see > if I can help you, and get it working that way. My problem is, well, > several problems: > > 1) I need this really quickly, I need my database wokring inside 48 > hours at the latest It's a known problem of Berkeley DB on FreeBSD/amd64 (neither Python's nor bsddb module's). I think you'd better to set ia32 emulation up to get it working in that short time. > 2) I'm just out of the hospital, very quick to tire, and I take a lot of > time out in the next 48 hours for doctors visits (stiches coming out, > like that). I have some time to help you, but not too much. Cheer up! And I hope you get better soon. Regards, Hye-Shik