[Setup] Migrating content from 2.5 to recent using transmogrifier

Maurits van Rees m.van.rees at zestsoftware.nl
Mon Mar 14 11:14:52 UTC 2011


Op 10-03-11 12:06, Martin Weigele schreef:
> $ bin/buildout
(...)
> Uninstalling products.
> Running uninstall recipe.
> While:
>    Installing.
>    Uninstalling products.
>
> An internal error occurred due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
>    File "/tmp/tmpfQGVan/zc.buildout-1.5.2-py2.4.egg/zc/buildout/buildout.py", line 1805, in main
>    File "/tmp/tmpfQGVan/zc.buildout-1.5.2-py2.4.egg/zc/buildout/buildout.py", line 523, in install
>    File "/tmp/tmpfQGVan/zc.buildout-1.5.2-py2.4.egg/zc/buildout/buildout.py", line 641, in _uninstall_part
>    File "/home/martin/myold2/eggs/infrae.subversion-1.4.5-py2.4.egg/infrae/subversion/Py.py", line 78, in uninstall
>      checkAddedPaths(location, urls)
>    File "/home/martin/myold2/eggs/infrae.subversion-1.4.5-py2.4.egg/infrae/subversion/Common.py", line 72, in checkAddedPaths
>      raise ValueError(msg % ', '.join(added_paths))
> ValueError: New path have been added to the location: /home/martin/myold2/products/README.txt.

It does not look like this this has anything to do with transmogrifier. 
The infrae.subversion recipe tries to protect you from throwing away 
changes in the products/ directory.  From the traceback it looks like a 
while ago you did a bin/buildout, then you added a README.txt to the 
products directory and now you run bin/buildout again and 
infrae.subversion tries to cleanup but sees this file that it does not know.

If you don't really need that products/README.txt you can remove it and 
run bin/buildout again (or move that readme out of the way for a moment 
and copy it back later).  If you are sure there are no changes in the 
products directory that you want to keep, you can throw away the entire 
directory and run bin/buildout again.


-- 
Maurits van Rees
Web App Programmer at Zest Software: http://zestsoftware.nl
Personal website: http://maurits.vanrees.org/



More information about the Setup mailing list