[schooltool-dev] svn incompatible with bin/buildout -n

Marius Gedminas marius at pov.lt
Tue Nov 25 13:25:17 EST 2008


On Tue, Nov 25, 2008 at 10:07:14AM -0500, Alan Elkner wrote:
> When I do a bin/buildout -n with my svn checkout of cando, it gives me
> the following error:
> 
> aelkner at ubuntu:~/years_cando/cando$ bin/buildout -n
> Upgraded:
>   setuptools version 0.6c8;

0.6c8 ain't gonna work with Subversion 1.5, you really want 0.6c9.

> restarting.
> Generated script '/home/aelkner/years_cando/cando/bin/buildout'.
> Develop: '/home/aelkner/years_cando/cando/.'
> Traceback (most recent call last):
...
>   File "/home/aelkner/.buildout/eggs/setuptools-0.6c8-py2.4.egg/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

This is the error you get when you combine Subversion 1.5 with
Setuptools 0.6c8.

> However, when i perform the following steps to work around the
> problem, it works fine:
> 
> mv .svn .svn.bak
> bin/buildout -n
> mv .svn.bak .svn

Yes, because setuptools doesn't see the subversion 1.5 metadata then.

Bump setuptools version to 0.6c9 in your buildout.cfg.

Marius Gedminas
-- 
Microsoft is not the answer.
Microsoft is the question.
"No" is the answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.schooltool.org/pipermail/schooltool-dev/attachments/20081125/e76c947a/attachment.pgp 


More information about the Schooltool-dev mailing list