I have a CentOS 5 development box, that I'm attempting to install SVN and Trac on, in preparation for eventually migrating our existing SVN/Trac server from WinDoze to Linux (probably CentOS, possibly a more recent CentOS).
Last week, I was able to figure out how to get SVN up and running, first through Apache, and eventually through svnserve. But now that I've turned my attention to Trac, I'm a bit stymied. Yum couldn't find it, and I couldn't make head or tail of the instructions for registering RPMforge (which appears to be deprecated anyway). I then found instructions for doing it with "easy_install," and got as far as installing easy_install itself, but it blew up when I tried to install TRAC (and unfortunately, what I know about Python wouldn't buy you a cup of coffee): [root@localhost ~]# easy_install Trac Searching for Trac Reading http://pypi.python.org/simple/Trac/ Best match: Trac 1.2.2 Downloading https://pypi.python.org/packages/57/b5/fe5784c5f9aeccec0790c3c7c90082838c886e27747f0e12bb424dc33140/Trac-1.2.2.tar.gz#md5=38cb5480c35616d8ecb3f0968e454536 Processing Trac-1.2.2.tar.gz Running Trac-1.2.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-W5NDRI/Trac-1.2.2/egg-dist-tmp-ysJdMQ Traceback (most recent call last): File "/usr/bin/easy_install", line 7, in ? sys.exit( File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 1712, in main with_ei_usage(lambda: File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage return f() File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 1716, in <lambda> distclass=DistributionWithoutHelpCommands, **kw File "/usr/lib/python2.4/distutils/core.py", line 149, in setup dist.run_commands() File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands self.run_command(cmd) File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 211, in run self.easy_install(spec, not self.no_deps) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 446, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 476, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 655, in install_eggs return self.build_and_install(setup_script, setup_base) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 930, in build_and_install self.run_setup(setup_script, setup_base, args) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 919, in run_setup run_setup(setup_script, args) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/sandbox.py", line 61, in run_setup DirectorySandbox(setup_dir).run( File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/sandbox.py", line 105, in run return func() File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/sandbox.py", line 64, in <lambda> {'__file__':setup_script, '__name__':'__main__'} File "setup.py", line 44 with open('README.rst') as f: ^ SyntaxError: invalid syntax As I said, what I know about Python (or easy_install, for that matter) wouldn't buy you a cup of coffee. To quote a line from a certain David Hedison movie, "Helllllpppppp meeeeeeee!!!!" -- James H. H. Lampert -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
