|Version 4 (modified by 8 years ago) ( diff ),|
Here you can find answers to some of the most frequently asked questions about Trac. If you have a question not answered on this page, you can ask it on the MailingList or in the IrcChannel. See the TracSupport page for more options on getting support for Trac.
Note: At the occasion of the upcoming 1.0 release, we're restarting the FAQ from scratch. If you don't find the answer you're looking for here, also have a look in the old 0.12/TracFaq (for Trac 0.12 and older versions).
Installation from source
Q: Why do I get
NameError: global name 'log' is not defined when trying to use
../trunk/$ python setup.py egg_info running egg_info ... File "build/bdist.linux-x86_64/egg/setuptools/svn_util.py", line 55, in get_sections NameError: global name 'log' is not defined
A: You're most likely working from a Subversion 1.7 checkout and you're using a too old
setuptools package (e.g.
See #7598. Upgrade to a newer setuptools, downgrade to svn 1.6.x, or use distribute.
Q: Why does installing
distribute fails with
ValueError: A 0.7-series setuptools cannot be installed with distribute.?
You tried to install
distribute as advised elsewhere:
$ curl http://python-distribute.org/distribute_setup.py | python
but you're greeted with:
ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at /packages/trac/virtualenv-0.13/lib/python2.7/site-packages/setuptools-0.7a1dev_r66608-py2.7.egg
A: Don't give up, it's just
setuptools giving you a last fight.
You can remove the offending setuptools .egg … and if it keeps re-appearing, you have it installed not only in the virtualenv but also in the parent Python installation (the one in which you installed virtualenv itself). If this is the case, remove it from there as well, installing distribute should now work.