Re: Re: [Trac] pb with the french version of Trac
On Mon, 2006-08-21 at 00:51 +0200, Gilles Vincent wrote: > 2006/8/20, Emmanuel Blot <[EMAIL PROTECTED]>: > > > I've already installed successfully Trac on this machine (it was in > > > december, with the rev' 176 of > > > http://trac-hacks.swapoff.org/svn/tracfrenchtranslation) > > > > Perhaps an issue with setuptools and eggs. > > > > Which release of setuptools are you using? You should upgrade > > setuptools to a 0.6.x release (more on this on the Trac web site: > > http://trac.edgewall.org/wiki/TracInstall#OtherPythonUtilities > > > > That's right : I'm using a quite old version of setuptools : it's the > package python-setuptools of the 'stable' distrib [and it's version is > 0.5a13-1 :( ] > > The 0.6b3 is available in the 'unstable' distrib and requires > python2.4 and python-central, both tagged as 'unstable' (even if it's > odd because python is not far from the 2.5..) > > Do you confirm me that Trac (without any plugin instaled) requires > setuptools0.6 / python2.4 ? I'm asking that because it's not indicated > in the official TracInstall page..(OK, it may be for the 0.96 version > of Trac ;) ) Setuptools is only required for plugins, in which case you need setuptools 0.6: http://trac.edgewall.org/wiki/TracPlugins#Requirements I'd recommend installing setuptools using that ez_setup.py bootstrap script since it tends to move pretty quickly and the packages for it are often out of date. -- Matt Good <[EMAIL PROTECTED]> ___ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
Re: Re: Re: [Trac] pb with the french version of Trac
The 0.6b3 is available in the 'unstable' distrib and requires python2.4 and python-central, both tagged as 'unstable' (even if it's odd because python is not far from the 2.5..) You are running a Debian distribution? Debian is/was not really clean about python packages, IMHO. There is a known issue about python2.3/python2.4 (circular dependency). I think it may have been recently fixed, but till recently I used to have to manually edit the dpkg status file to get rid of Python2.3 Do you confirm me that Trac (without any plugin instaled) requires setuptools0.6 / python2.4 ? No, Trac only requires python 2.3. I don't think you need setuptools at all, as long as you do not use .egg files (plugins). If you want to use setuptools, you need a 0.6.x version; this does not mean you need python2.4. If you are using Debian /testing, I think you can install python2.3 + setuptools0.6b3 (I used to run the french modified version of Trac on anciens.enib.fr w/ Debian, python2.3 and setuptools0.6. I've only switched the server to python2.4 last month.) -- Manu ___ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
Re: Re: [Trac] pb with the french version of Trac
2006/8/20, Emmanuel Blot <[EMAIL PROTECTED]>: > I've already installed successfully Trac on this machine (it was in > december, with the rev' 176 of > http://trac-hacks.swapoff.org/svn/tracfrenchtranslation) Perhaps an issue with setuptools and eggs. Which release of setuptools are you using? You should upgrade setuptools to a 0.6.x release (more on this on the Trac web site: http://trac.edgewall.org/wiki/TracInstall#OtherPythonUtilities That's right : I'm using a quite old version of setuptools : it's the package python-setuptools of the 'stable' distrib [and it's version is 0.5a13-1 :( ] The 0.6b3 is available in the 'unstable' distrib and requires python2.4 and python-central, both tagged as 'unstable' (even if it's odd because python is not far from the 2.5..) Do you confirm me that Trac (without any plugin instaled) requires setuptools0.6 / python2.4 ? I'm asking that because it's not indicated in the official TracInstall page..(OK, it may be for the 0.96 version of Trac ;) ) Thanks at all, .Gilles --- If you used to run an old release of Trac (last december, this is really old for Trac ;-)), maybe your environment is still using setuptools 0.5.x ? -- Manu ___ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac ___ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
Re: Re: [Trac] pb with the french version of Trac
I've already installed successfully Trac on this machine (it was in december, with the rev' 176 of http://trac-hacks.swapoff.org/svn/tracfrenchtranslation) Perhaps an issue with setuptools and eggs. Which release of setuptools are you using? You should upgrade setuptools to a 0.6.x release (more on this on the Trac web site: http://trac.edgewall.org/wiki/TracInstall#OtherPythonUtilities If you used to run an old release of Trac (last december, this is really old for Trac ;-)), maybe your environment is still using setuptools 0.5.x ? -- Manu ___ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
Re: [Trac] pb with the french version of Trac
2006/8/20, Emmanuel Blot <[EMAIL PROTECTED]>: > I downloaded the svn version from > http://trac-hacks.org/svn/tracfrenchtranslation, and installed Trac > in a local configuration : I never tried to install it using the setup.py script - no idea if it works. ok, i'll try it later ;) Did you try to run it without installing it: svn co http://trac-hacks.org/svn/tracfrenchtranslation/0.10 trac-french cd trac-french export PYTHONPATH=`pwd` python scripts/trac-admin /tmp/tractest initenv Thanks for the guidelines. But it didn't worked :( I just tried this and the environment has been successfully created. Did you also try to run the original Trac (checking it out from the /trunk) ? I followed your instructions with the original Trac and got the same error, with different line numbers : Failed to create environment. 'module' object has no attribute 'working_set' Traceback (most recent call last): File "/home/svn/trac-orig/trac/scripts/admin.py", line 611, in do_initenv options=options) File "/home/svn/trac-orig/trac/env.py", line 121, in __init__ load_components(self) File "/home/svn/trac-orig/trac/loader.py", line 65, in load_components ws = pkg_resources.working_set AttributeError: 'module' object has no attribute 'working_set' Failed to initialize environment. 1 Traceback (most recent call last): File "/home/svn/trac-orig/trac/scripts/admin.py", line 615, in do_initenv sys.exit(1) snip' :( (at least this means that it's not specific to the french version ;) I've already installed successfully Trac on this machine (it was in december, with the rev' 176 of http://trac-hacks.swapoff.org/svn/tracfrenchtranslation) I've no idea of what this 'module' object could be.. cheers, .Gilles Cheers, Manu ___ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac ___ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
Re: [Trac] pb with the french version of Trac
I downloaded the svn version from http://trac-hacks.org/svn/tracfrenchtranslation, and installed Trac in a local configuration : I never tried to install it using the setup.py script - no idea if it works. Did you try to run it without installing it: svn co http://trac-hacks.org/svn/tracfrenchtranslation/0.10 trac-french cd trac-french export PYTHONPATH=`pwd` python scripts/trac-admin /tmp/tractest initenv I just tried this and the environment has been successfully created. Did you also try to run the original Trac (checking it out from the /trunk) ? Cheers, Manu ___ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
