[Distutils] NameError: global name 'log' is not defined

Tarek Ziadé ziade.tarek at gmail.com
Fri Sep 5 16:21:56 CEST 2008


On Fri, Sep 5, 2008 at 3:48 PM, Michael Schmarck <
michael.schmarck at habmalnefrage.de> wrote:

> 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
> [cut]
>  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
>

It looks like a egg-and-chicken problem, since the bug occur in the 0.6c8
version;

I would try to remove setuptools-0.6c8-py2.5 completely before installing
the trunk version

Regards
Tarek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20080905/a9148d06/attachment.htm>


More information about the Distutils-SIG mailing list