Closed loechel closed 12 years ago
Could you catch the specific error being thrown and add the exception text to the log message?
Requested Traceback on runing collective.recipe.omelette without patch:
Installing omelette. While: Installing omelette.
An internal error occured due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main getattr(buildout, command)(args) File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 555, in install installed_files = self[part]._call(recipe.install) File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1227, in _call return f() File "/usr/local/Plone/buildout-cache/eggs/collective.recipe.omelette-0.15-py2.7.egg/collective/recipe/omelette/init.py", line 162, in install symlink(package_location, link_location) OSError: [Errno 2] No such file or directory
snippet of logger warnig with patch applied:
Installing omelette. omelette: While processing egg Cython) symlink fails (/usr/local/Plone/buildout-cache/eggs/Cython-0.16-py2.7-linux-x86_64.egg/pyximport/init.py, /usr/local/Plone/diss.buildout/omelette-src/pyximport/init.py). Skipping. omelette: While processing egg Cython) symlink fails (/usr/local/Plone/buildout-cache/eggs/Cython-0.16-py2.7-linux-x86_64.egg/pyximport/pyxbuild.py, /usr/local/Plone/diss.buildout/omelette-src/pyximport/pyxbuild.py). Skipping. omelette: While processing egg Cython) symlink fails (/usr/local/Plone/buildout-cache/eggs/Cython-0.16-py2.7-linux-x86_64.egg/pyximport/pyximport.py, /usr/local/Plone/diss.buildout/omelette-src/pyximport/pyximport.py). Skipping.
I hope this info is enough.
Alexander
All request for changes in the pull-request discussed via irc with do3cc. added two commits: more specific error handling change of a typo
Thanks for your contribution
Please add a changelog entry for this change.
Add error handling for the case that symlink fail. This could happen due to ignoring of namespace or package conventions in some packages. Example: Cython