I'm using collective.recipe.patch to patch plone.recipe.zeoserver during a buildout. The problem is that after applying the patch the py file isn't consistently reloaded. If I look at the timestamps, I can see that the pyc file isn't always regenerated after the patch is applied. Is there anyway to force a reload with buildout? If I run buildout a 2nd time it then runs fine.<br>
<br>TIA,<br><br>- Jim<br><br>parts = patches zeo<br><br>[patches]<br>recipe = collective.recipe.patch<br>egg = plone.recipe.zeoserver<br>patches = patches\plone.recipe.zeoserver.__init__.py.patch<br><br>[zeo]<br>recipe = plone.recipe.zeoserver<br>
zeo-address = ${buildout:zeo-address}<br>zeo-log = ${buildout:directory}\var\zeoserver\zeoserver.log<br>pid-file = ${buildout:directory}\var\zeoserver\zeoserver.pid<br>socket-name = ${buildout:directory}\var\zeoserver\zeo.zdsock<br>
blob-storage = ${buildout:directory}\var\zeoblobstorage<br><br>An internal error occured due to a bug in either zc.buildout or in a<br>recipe being used:<br>Traceback (most recent call last):<br> File "C:\Python26\lib\site-packages\zc.buildout-1.5.0b2-py2.6.egg\zc\buildout\<br>
buildout.py", line 1660, in main<br> getattr(buildout, command)(args)<br> File "C:\Python26\lib\site-packages\zc.buildout-1.5.0b2-py2.6.egg\zc\buildout\<br>buildout.py", line 532, in install<br> installed_files = self[part]._call(recipe.install)<br>
File "C:\Python26\lib\site-packages\zc.buildout-1.5.0b2-py2.6.egg\zc\buildout\<br>buildout.py", line 1204, in _call<br> return f()<br> File "c:\zope\buildout\eggs\plone.recipe.zeoserver-1.1a2-py2.6.egg\plone\recip<br>
e\zeoserver\__init__.py", line 85, in install<br> self.install_scripts()<br> File "c:\zope\buildout\eggs\plone.recipe.zeoserver-1.1a2-py2.6.egg\plone\recip<br>e\zeoserver\__init__.py", line 333, in install_scripts<br>
#extra_paths.append(ws.by_key['zc.buildout'].location)<br>KeyError: 'zc.buildout'<br><br>C:\Zope\Buildout><br>