October 25th, 2008 by 90137
I was building some third party applications that are required for the Pinax project, when I ran into problems with setuptools. At first, I thought that it was a problem with setuptools itself, so I removed it via apt-get and then installed it once again. That did not solve the problem, however, as it turns out to be a bug in the setuptools Python code, which you will see in the stack trace when it happens:
File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line 98, in entries_finder
log.warn("unrecognized .svn/entries format in %s", dirname)
NameError: global name 'log' is not defined
To solve the problem, put the following in setuptools/command/sdist.py at the point where it calls "log":
import logging
log = logging.
And Bob's your uncle.
Open Source Stack:
^ Back to Top Privacy Policy Copyright © 2008 BodhiCMS Powered by BodhiCMS | Users Login