[Distutils] Permission Denied errors on Windows 7 with buildout 1.7.1
Chris Withers
chris at simplistix.co.uk
Mon Jun 10 00:39:29 CEST 2013
Hi All,
I'm seeing this exception when running a particular buildout on Windows:
C:\Jenkins\workspace\checker-buildout\aeb5917b>bin\buildout
Develop: 'C:\\Jenkins\\workspace\\checker-buildout\\aeb5917b\\.'
Installing py.
Generated script
'C:\\Jenkins\\workspace\\checker-buildout\\aeb5917b\\bin\\checker'.
Generated script
'C:\\Jenkins\\workspace\\checker-buildout\\aeb5917b\\bin\\tox'.
Generated script
'C:\\Jenkins\\workspace\\checker-buildout\\aeb5917b\\bin\\tox-quickstart'.
While:
Installing py.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File
"c:\users\jenkins\.buildout\eggs\zc.buildout-1.7.1-py2.7.egg\zc\buildout\buildout.py",
line 1866, in main
getattr(buildout, command)(args)
File
"c:\users\jenkins\.buildout\eggs\zc.buildout-1.7.1-py2.7.egg\zc\buildout\buildout.py",
line 625, in install
installed_files = self[part]._call(recipe.install)
File
"c:\users\jenkins\.buildout\eggs\zc.buildout-1.7.1-py2.7.egg\zc\buildout\buildout.py",
line 1345, in _call
return f()
File
"c:\users\jenkins\.buildout\eggs\zc.recipe.egg-1.3.2-py2.7.egg\zc\recipe\egg\egg.py",
line 173, in install
return self._install(reqs, ws, scripts)
File
"c:\users\jenkins\.buildout\eggs\zc.recipe.egg-1.3.2-py2.7.egg\zc\recipe\egg\egg.py",
line 195, in _install
relative_paths=self._relative_paths
File
"c:\users\jenkins\.buildout\eggs\zc.buildout-1.7.1-py2.7.egg\zc\buildout\easy_install.py",
line 1223, in scripts
initialization, executable, arguments)
File
"c:\users\jenkins\.buildout\eggs\zc.buildout-1.7.1-py2.7.egg\zc\buildout\easy_install.py",
line 1350, in _generate_scripts
module_name, attrs, arguments, block_site=block_site))
File
"c:\users\jenkins\.buildout\eggs\zc.buildout-1.7.1-py2.7.egg\zc\buildout\easy_install.py",
line 1498, in _script
return _write_script(dest, contents, 'script')
File
"c:\users\jenkins\.buildout\eggs\zc.buildout-1.7.1-py2.7.egg\zc\buildout\easy_install.py",
line 1463, in _write_script
open(exe, 'wb').write(new_data)
IOError: [Errno 13] Permission denied:
'C:\\Jenkins\\workspace\\checker-buildout\\aeb5917b\\bin\\buildout.exe'
This happens every time, on Python 2.5, 2.6 and 2.7. I've tried blowing
the workspace away, makes no difference:
http://jenkins.simplistix.co.uk/job/checker-buildout/114/PYTHON=2.7,label=windows/console
http://jenkins.simplistix.co.uk/job/checker-buildout/114/PYTHON=2.6,label=windows/console
http://jenkins.simplistix.co.uk/job/checker-buildout/114/PYTHON=2.5,label=windows/console
Any idea what's going on here and how I can fix it?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
More information about the Distutils-SIG
mailing list