Hello. I'm trying to install Trac, and it failed with a NameError: global name 'log' is not defined error message. Because of that, I found the "the svn >= 1.5 bug with setuptools/command/sdist.py: global name 'log' is not defined" thread from August 2008 at http://mail.python.org/pipermail/distutils-sig/2008-August/009883.html
Now I'm trying to solve that problem. I tried: easy_install -U setuptools==dev This fails: --($ ~/Source/Distutils-1.0.2)-- easy_install -U setuptools==dev Searching for setuptools==dev Reading http://pypi.python.org/simple/setuptools/ Best match: setuptools dev Downloading http://svn.python.org/projects/sandbox/trunk/setuptools/#egg=setuptools-dev Doing subversion checkout from http://svn.python.org/projects/sandbox/trunk/setuptools/ to /tmp/easy_install-rVsHxt/setuptools Processing setuptools Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-rVsHxt/setuptools/egg-dist-tmp-F3KSrb unrecognized .svn/entries format; skipping . Traceback (most recent call last): File "/export/home/webservd/.software/Python-2.5.2/bin/easy_install", line 8, in <module> load_entry_point('setuptools==0.6c8', 'console_scripts', 'easy_install')() File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/easy_install.py", line 1671, in main File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/easy_install.py", line 1659, in with_ei_usage File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/easy_install.py", line 1675, in <lambda> File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/distutils/core.py", line 151, in setup dist.run_commands() File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/distutils/dist.py", line 974, in run_commands self.run_command(cmd) File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/easy_install.py", line 211, in run File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/easy_install.py", line 446, in easy_install File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/easy_install.py", line 476, in install_item File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/easy_install.py", line 655, in install_eggs File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/easy_install.py", line 930, in build_and_install File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/easy_install.py", line 919, in run_setup File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/sandbox.py", line 27, in run_setup File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/sandbox.py", line 63, in run File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/sandbox.py", line 29, in <lambda> File "setup.py", line 95, in <module> File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/distutils/core.py", line 151, in setup dist.run_commands() File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/distutils/dist.py", line 974, in run_commands self.run_command(cmd) File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/bdist_egg.py", line 167, in run File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 171, in run File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 252, in find_sources File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 306, in run File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 333, in add_defaults File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/sdist.py", line 45, in walk_revctrl File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/sdist.py", line 52, in _default_revctrl File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/sdist.py", line 98, in entries_finder NameError: global name 'log' is not defined Python 2.5.2 is installed in /export/home/.software/Python-2.5.2. This is a Sun Solaris 10 Sparc system, if it matters. What can be done to solve this problem? Cheers, Michael _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
