[Silva-general] Upgrading buildout to different version
Jonathan Bowlas
j.bowlas at ucl.ac.uk
Mon Jan 18 13:27:42 CET 2010
Hi All,
I followed the instructions here
http://docs.infrae.com/silva/buildout.html#upgrading-your-setup to
upgrade my buildout setup however when I bin\buildout afterwards I get
the following error:
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "c:\silva-2.0.13-new\eggs\zc.buildout-1.4.2-py2.4.egg\zc\buildout\buildou
t.py", line 1660, in main
getattr(buildout, command)(args)
File "c:\silva-2.0.13-new\eggs\zc.buildout-1.4.2-py2.4.egg\zc\buildout\buildou
t.py", line 471, in install
self._uninstall_part(part, installed_part_options)
File "c:\silva-2.0.13-new\eggs\zc.buildout-1.4.2-py2.4.egg\zc\buildout\buildou
t.py", line 589, in _uninstall_part
uninstaller(part, installed_part_options[part])
File "c:\silva-2.0.13-new\eggs\infrae.subversion-1.4.5-py2.4.egg\infrae\subver
sion\Native.py", line 132, in uninstall
checkAddedPaths(location, urls)
File "c:\silva-2.0.13-new\eggs\infrae.subversion-1.4.5-py2.4.egg\infrae\subver
sion\Common.py", line 72, in checkAddedPaths
raise ValueError(msg % ', '.join(added_paths))
ValueError: New path have been added to the location: C:\Silva-2.0.13-new\produc
ts\SilvaFind, C:\Silva-2.0.13-new\products\Annotations, C:\Silva-2.0.13-new\prod
ucts\Sprout, C:\Silva-2.0.13-new\products\SilvaViews, C:\Silva-2.0.13-new\produc
ts\SilvaLayout, C:\Silva-2.0.13-new\products\README.txt, C:\Silva-2.0.13-new\pro
ducts\z3locales, C:\Silva-2.0.13-new\products\SilvaExternalSources, C:\Silva-2.0
.13-new\products\Formulator, C:\Silva-2.0.13-new\products\kupu, C:\Silva-2.0.13-
new\products\FileSystemSite, C:\Silva-2.0.13-new\products\Groups, C:\Silva-2.0.1
3-new\products\ParsedXML, C:\Silva-2.0.13-new\products\ZMySQLDA, C:\Silva-2.0.13
-new\products\XMLWidgets, C:\Silva-2.0.13-new\products\SilvaMetadata, C:\Silva-2
.0.13-new\products\SilvaDocument, C:\Silva-2.0.13-new\products\ProxyIndex, C:\Si
lva-2.0.13-new\products\Silva.
It seems that checkAddedPaths is checking for any products that aren't
added via buildout into 'parts' but since I revised our buildout
scripts to install everything in 'products' the script raises this
exception informing me that these are new paths.
To resove this I've commented out the call to checkAddedPaths from
Native.py and it works fine. So my question is twofold - is it ok to
comment out checkAddedPaths and should I really be installing
everything in 'parts'?
Cheers
Jon
More information about the silva-general
mailing list