Hello to the community,
First thanks for the intervention following the installation problem of the stable version plone 5.2.0. under Windows 10.
I took into account the fixes of Steve Fix # 90 on the files
"HISTORY.txt and helper_scripts / windows_install.py"
The installation progressed a lot but failed in the end with the error "Failed Windows build with error code: 1; Aborting.".
Below you will find the complete installation process.
Do you have any idea of the source of the problem?
« Microsoft Windows [version 10.0.17763.615]
(c) 2018 Microsoft Corporation. Tous droits réservés.
C:\Windows\system32>cd \
C:\>cd Plone-5.2.0-UnifiedInstaller
C:\Plone-5.2.0-UnifiedInstaller>windows_install.bat standalone
C:\Plone-5.2.0-UnifiedInstaller>python helper_scripts\windows_install.py standalone
Creating target directory \Users\Purnata\Plone
Preparing python virtualenv
New python executable in C:\Users\Purnata\Plone\Python-2.7\Scripts\python.exe
Installing setuptools, pip, wheel...
done.
Installing compatible zc.buildout in virtualenv
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Processing c:\plone-5.2.0-unifiedinstaller\packages\zc.buildout-2.13.1.tar.gz
Requirement already satisfied: setuptools>=8.0 in c:\users\purnata\plone\python-2.7\lib\site-packages (from zc.buildout==2.13.1) (41.0.1)
Building wheels for collected packages: zc.buildout
Building wheel for zc.buildout (setup.py): started
Building wheel for zc.buildout (setup.py): finished with status 'done'
Created wheel for zc.buildout: filename=zc.buildout-2.13.1-py2.py3-none-any.whl size=153993 sha256=77cdb1fc8d91322afac43b875aa948594173ba4ec976e862bac5206aa795679c
Stored in directory: C:\Users\Purnata\AppData\Local\pip\Cache\wheels\df\0f\44\dfe7aa85e17ed67904b6aadfdf8104e181d79c5da6f7ff449e
Successfully built zc.buildout
Installing collected packages: zc.buildout
Successfully installed zc.buildout-2.13.1
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pypiwin32
Collecting pywin32>=223 (from pypiwin32)
Using cached https://files.pythonhosted.org/packages/83/cc/2e39fa39b804f7b6e768a37657d75eb14cd917d1f43f376dad9f7c366ccf/pywin32-224-cp27-cp27m-win_amd64.whl
Installing collected packages: pywin32, pypiwin32
Successfully installed pypiwin32-223 pywin32-224
Creating instance home and buildout command.
Running create_instance.py
C:\Users\Purnata\Plone\zinstance>\Users\Purnata\Plone\Python-2.7\Scripts\buildout.exe
Creating directory 'C:\\Users\\Purnata\\Plone\\buildout-cache\\downloads'.
Creating directory 'C:\\Users\\Purnata\\Plone\\buildout-cache\\eggs'.
Creating directory 'C:\\Users\\Purnata\\Plone\\zinstance\\parts'.
Creating directory 'C:\\Users\\Purnata\\Plone\\zinstance\\develop-eggs'.
Getting distribution for 'plone.recipe.zope2instance==6.3.0'.
Got plone.recipe.zope2instance 6.3.0.
Getting distribution for 'zc.recipe.egg==2.0.7'.
Got zc.recipe.egg 2.0.7.
Getting distribution for 'zc.buildout==2.13.2'.
no previously-included directories found matching 'doc'
no previously-included directories found matching 'old-tutorial'
Got zc.buildout 2.13.2.
Getting distribution for 'waitress==1.3.0'.
Got waitress 1.3.0.
Getting distribution for 'six==1.12.0'.
Got six 1.12.0.
Getting distribution for 'Zope==4.1.1'.
Got zope 4.1.1.
Getting distribution for 'ZODB==5.5.1'.
Got zodb 5.5.1.
Getting distribution for 'ZEO==5.2.1'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got zeo 5.2.1.
Getting distribution for 'Paste==3.0.8'.
Got paste 3.0.8.
Getting distribution for 'zope.viewlet==4.2.1'.
Got zope.viewlet 4.2.1.
Getting distribution for 'zope.traversing==4.3.1'.
Got zope.traversing 4.3.1.
Getting distribution for 'zope.testing==4.7'.
Got zope.testing 4.7.
Getting distribution for 'zope.testbrowser==5.3.3'.
warning: no previously-included files found matching 'MANITEST.in'
Got zope.testbrowser 5.3.3.
Getting distribution for 'zope.tales==5.0.1'.
Got zope.tales 5.0.1.
Getting distribution for 'zope.tal==4.4'.
Got zope.tal 4.4.
Getting distribution for 'zope.size==4.3'.
Got zope.size 4.3.
Getting distribution for 'zope.site==4.2.2'.
Got zope.site 4.2.2.
Getting distribution for 'zope.sequencesort==4.1.2'.
Got zope.sequencesort 4.1.2.
Getting distribution for 'zope.security==4.3.1'.
Got zope.security 4.3.1.
Getting distribution for 'zope.schema==4.9.3'.
Got zope.schema 4.9.3.
Getting distribution for 'zope.publisher==5.0.1'.
Got zope.publisher 5.0.1.
Getting distribution for 'zope.ptresource==4.2.0'.
Got zope.ptresource 4.2.0.
Getting distribution for 'zope.proxy==4.3.1'.
Got zope.proxy 4.3.1.
Getting distribution for 'zope.processlifetime==2.3.0'.
Got zope.processlifetime 2.3.0.
Getting distribution for 'zope.pagetemplate==4.4.1'.
Got zope.pagetemplate 4.4.1.
Getting distribution for 'zope.location==4.2'.
Got zope.location 4.2.
Getting distribution for 'zope.lifecycleevent==4.3.0'.
Got zope.lifecycleevent 4.3.
Getting distribution for 'zope.interface==4.6.0'.
Got zope.interface 4.6.0.
Getting distribution for 'zope.i18nmessageid==4.3.1'.
Got zope.i18nmessageid 4.3.1.
Getting distribution for 'zope.i18n[zcml]==4.6.2'.
Got zope.i18n 4.6.2.
Getting distribution for 'zope.globalrequest==1.5'.
warning: no files found matching '*.txt'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
Got zope.globalrequest 1.5.
Getting distribution for 'zope.exceptions==4.3'.
Got zope.exceptions 4.3.
Getting distribution for 'zope.event==4.4'.
Got zope.event 4.4.
Getting distribution for 'zope.deferredimport==4.3'.
Got zope.deferredimport 4.3.
Getting distribution for 'zope.contenttype==4.4'.
Got zope.contenttype 4.4.
Getting distribution for 'zope.contentprovider==4.2.1'.
Got zope.contentprovider 4.2.1.
Getting distribution for 'zope.container==4.2.2'.
Got zope.container 4.2.2.
Getting distribution for 'zope.configuration==4.3.1'.
Got zope.configuration 4.3.1.
Getting distribution for 'zope.component==4.5'.
Got zope.component 4.5.
Getting distribution for 'zope.browserresource==4.3'.
Got zope.browserresource 4.3.
Getting distribution for 'zope.browserpage==4.4.0'.
Got zope.browserpage 4.4.0.
Getting distribution for 'zope.browsermenu==4.4'.
Got zope.browsermenu 4.4.
Getting distribution for 'zope.browser==2.3'.
Got zope.browser 2.3.
Getting distribution for 'zExceptions==4.1'.
Got zexceptions 4.1.
Getting distribution for 'z3c.pt==3.2.0'.
Got z3c.pt 3.2.0.
Getting distribution for 'transaction==2.4.0'.
Got transaction 2.4.0.
Getting distribution for 'ipaddress==1.0.22'.
Got ipaddress 1.0.22.
Getting distribution for 'ZConfig==3.5.0'.
Got zconfig 3.5.0.
Getting distribution for 'RestrictedPython==4.0'.
Got restrictedpython 4.0.
Getting distribution for 'Persistence==3.0'.
Got persistence 3.0.
Getting distribution for 'PasteDeploy==2.0.1'.
Got pastedeploy 2.0.1.
Getting distribution for 'MultiMapping==4.1'.
Got multimapping 4.1.
Getting distribution for 'ExtensionClass==4.4'.
Got extensionclass 4.4.
Getting distribution for 'DocumentTemplate==3.1b2'.
Got documenttemplate 3.1b2.
Getting distribution for 'DateTime==4.3'.
Got datetime 4.3.
Getting distribution for 'BTrees==4.5.1'.
Got btrees 4.5.1.
Getting distribution for 'Acquisition==4.6'.
Got acquisition 4.6.
Getting distribution for 'AccessControl==4.0'.
Got accesscontrol 4.0.
Getting distribution for 'zodbpickle==1.0.4'.
Got zodbpickle 1.0.4.
Getting distribution for 'zc.lockfile==1.4'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got zc.lockfile 1.4.
Getting distribution for 'persistent==4.5.0'.
Got persistent 4.5.0.
Getting distribution for 'trollius==2.2'.
Got trollius 2.2.
Getting distribution for 'futures==3.2.0'.
Got futures 3.2.0.
Getting distribution for 'zdaemon==4.3'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got zdaemon 4.3.
Getting distribution for 'WSGIProxy2==0.4.6'.
no previously-included directories found matching 'docs\_build'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '__pycache__' found anywhere in distribution
Got wsgiproxy2 0.4.6.
Getting distribution for 'SoupSieve==1.9.2'.
Got soupsieve 1.9.2.
Getting distribution for 'BeautifulSoup4==4.7.1'.
Got beautifulsoup4 4.7.1.
Getting distribution for 'WebTest==2.0.33'.
Got webtest 2.0.33.
Getting distribution for 'pytz==2019.1'.
Got pytz 2019.1.
Getting distribution for 'zope.cachedescriptors==4.3.1'.
Got zope.cachedescriptors 4.3.1.
Getting distribution for 'zope.deprecation==4.4.0'.
Got zope.deprecation 4.4.0.
Getting distribution for 'zope.annotation==4.7.0'.
Got zope.annotation 4.7.0.
Getting distribution for 'python-gettext==4.0'.
warning: no files found matching '*.txt'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
Got python-gettext 4.0.
Getting distribution for 'zope.filerepresentation==4.2.0'.
Got zope.filerepresentation 4.2.0.
Getting distribution for 'zope.dottedname==4.3'.
Got zope.dottedname 4.3.
Getting distribution for 'zope.hookable==4.2.0'.
Got zope.hookable 4.2.0.
Getting distribution for 'Chameleon==3.6.2'.
Got chameleon 3.6.2.
Getting distribution for 'zope.structuredtext==4.3'.
Got zope.structuredtext 4.3.
Getting distribution for 'roman==3.2'.
Got roman 3.2.
Getting distribution for 'funcsigs==1.0.2'.
Got funcsigs 1.0.2.
Getting distribution for 'AuthEncoding==4.1'.
Got authencoding 4.1.
Getting distribution for 'cffi==1.12.3'.
Got cffi 1.12.3.
Getting distribution for 'webob==1.8.5'.
Got webob 1.8.5.
Getting distribution for 'backports.functools-lru-cache==1.5'.
Got backports.functools-lru-cache 1.5.
Getting distribution for 'pycparser==2.19'.
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.lex: module references __file__
pycparser.ply.lex: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module references __file__
pycparser.ply.yacc: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module MAY be using inspect.stack
pycparser.ply.ygen: module references __file__
Got pycparser 2.19.
Getting distribution for 'plone.recipe.unifiedinstaller==5.2b1'.
Got plone.recipe.unifiedinstaller 5.2b1.
Unused options for buildout: 'backups-dir' 'deprecation-warnings'.
Installing instance.
Getting distribution for 'nt_svcutils'.
Got nt-svcutils 2.13.0.
Getting distribution for 'Plone==5.2.0'.
Got plone 5.2.0.
Getting distribution for 'Pillow==6.1.0'.
Got pillow 6.1.0.
Getting distribution for 'plone.restapi==4.3.1'.
Got plone.restapi 4.3.1.
Getting distribution for 'plone.app.upgrade==2.0.27'.
Got plone.app.upgrade 2.0.27.
Getting distribution for 'plone.app.iterate==3.3.12'.
Got plone.app.iterate 3.3.12.
Getting distribution for 'plone.app.dexterity==2.6.3'.
Got plone.app.dexterity 2.6.3.
Getting distribution for 'plone.app.caching==2.0.2'.
Got plone.app.caching 2.0.2.
Getting distribution for 'Products.CMFPlone==5.2.0'.
Got products.cmfplone 5.2.0.
Getting distribution for 'Products.CMFPlacefulWorkflow==2.0.0'.
Got products.cmfplacefulworkflow 2.0.0.
Getting distribution for 'PyJWT==1.7.1'.
Got pyjwt 1.7.1.
Getting distribution for 'plone.schema==1.2.0'.
Got plone.schema 1.2.0.
Getting distribution for 'plone.rest==1.4.0'.
warning: no directories found matching 'docs'
warning: no previously-included files found matching '*.yml'
warning: no previously-included files found matching 'bootstrap-buildout.py'
warning: no previously-included files found matching 'Makefile'
warning: no previously-included files found matching 'requirements.txt'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got plone.rest 1.4.0.
Getting distribution for 'plone.behavior==1.3.0'.
Got plone.behavior 1.3.0.
Getting distribution for 'python-dateutil==2.8.0'.
Got python-dateutil 2.8.0.
Getting distribution for 'zope.ramcache==2.3'.
Got zope.ramcache 2.3.
Getting distribution for 'plone.portlets==2.3.1'.
Got plone.portlets 2.3.1.
Getting distribution for 'plone.contentrules==2.0.9'.
Got plone.contentrules 2.0.9.
Getting distribution for 'plone.app.viewletmanager==3.1.0'.
Got plone.app.viewletmanager 3.1.0.
Getting distribution for 'Zope2==4.0'.
warning: install_lib: 'build\lib' does not exist -- no Python modules to install
Got zope2 4.0.
Getting distribution for 'Products.ZCatalog==5.0.1'.
Got products.zcatalog 5.0.1.
Getting distribution for 'Products.PluggableAuthService==2.0'.
Got products.pluggableauthservice 2.0.
Getting distribution for 'Products.PlonePAS==6.0.2'.
Got products.plonepas 6.0.2.
Getting distribution for 'Products.GenericSetup==2.0'.
Got products.genericsetup 2.0.
Getting distribution for 'Products.CMFEditions==3.3.2'.
Got products.cmfeditions 3.3.2.
Getting distribution for 'Products.CMFCore==2.4.0'.
Got products.cmfcore 2.4.0.
Getting distribution for 'plone.memoize==2.0.1'.
Got plone.memoize 2.0.1.
Getting distribution for 'plone.locking==2.2.3'.
Got plone.locking 2.2.3.
Getting distribution for 'Products.statusmessages==5.0.4'.
Got products.statusmessages 5.0.4.
Getting distribution for 'Products.DCWorkflow==2.4.0b3'.
Got products.dcworkflow 2.4.0b3.
Getting distribution for 'z3c.form==3.7.0'.
Got z3c.form 3.7.0.
Getting distribution for 'plone.z3cform==1.1.0'.
Got plone.z3cform 1.1.0.
Getting distribution for 'plone.supermodel==1.4.0'.
Got plone.supermodel 1.4.0.
Getting distribution for 'plone.schemaeditor==2.0.20'.
Got plone.schemaeditor 2.0.20.
Getting distribution for 'plone.rfc822==2.0.1'.
Got plone.rfc822 2.0.1.
Getting distribution for 'plone.namedfile[scales]==5.0.4'.
Got plone.namedfile 5.0.4.
Getting distribution for 'plone.formwidget.namedfile==2.0.9'.
Got plone.formwidget.namedfile 2.0.9.
Getting distribution for 'plone.dexterity==2.9.1'.
Got plone.dexterity 2.9.1.
Getting distribution for 'plone.autoform==1.8.1'.
Got plone.autoform 1.8.1.
Getting distribution for 'plone.app.z3cform==3.1.1'.
Got plone.app.z3cform 3.1.1.
Getting distribution for 'plone.app.uuid==2.0.0'.
Got plone.app.uuid 2.0.0.
Getting distribution for 'plone.app.textfield==1.3.1'.
Got plone.app.textfield 1.3.1.
Getting distribution for 'plone.app.layout==3.2.1'.
Got plone.app.layout 3.2.1.
Getting distribution for 'plone.app.content==3.7.0'.
Got plone.app.content 3.7.0.
Getting distribution for 'lxml==4.3.4'.
Got lxml 4.3.4.
Getting distribution for 'z3c.zcmlhook==1.0b1'.
Got z3c.zcmlhook 1.0b1.
Getting distribution for 'plone.registry==1.1.5'.
Got plone.registry 1.1.5.
Getting distribution for 'plone.protect==4.1.2'.
Got plone.protect 4.1.2.
Getting distribution for 'plone.caching==1.2.1'.
Got plone.caching 1.2.1.
Getting distribution for 'plone.cachepurging==2.0.1'.
warning: no previously-included files matching '*pyc' found anywhere in distribution
Got plone.cachepurging 2.0.1.
Getting distribution for 'plone.app.registry==1.7.5'.
Got plone.app.registry 1.7.5.
Getting distribution for 'Products.CMFDynamicViewFTI==6.0.2'.
Got products.cmfdynamicviewfti 6.0.2.
Getting distribution for 'zope.app.locales==4.0.1'.
Got zope.app.locales 4.0.1.
Getting distribution for 'z3c.autoinclude==0.3.9'.
Got z3c.autoinclude 0.3.9.
Getting distribution for 'pyScss==1.3.5'.
_speedups.c
c:\users\purnata\appdata\local\temp\easy_install-7bq8j5\pyscss-1.3.5\scss\src\scanner.h(17) : fatal error C1083: Cannot open include file: 'pcre.h': No such file or directory
c:\users\purnata\appdata\local\temp\easy_install-7bq8j5\pyScss-1.3.5\setup.py:36: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65.
libraries=['pcre']
C:\Python27\Lib\distutils\core.py:111: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65.
_setup_distribution = dist = klass(attrs)
zip_safe flag not set; analyzing archive contents...
scss.config: module references __file__
scss.util: module references __file__
==========================================================================
WARNING: The C extension could not be compiled, speedups are not enabled.
Failure information, if any, is above.
Retrying the build without the C extension now.
==========================================================================
WARNING: The C extension could not be compiled, speedups are not enabled.
pyScss will still work fine, but may be slower.
The most likely cause is missing PCRE headers; you may need to install libpcre or libpcre-dev, depending on your platform.
Plain-Python installation succeeded.
==========================================================================
Got pyscss 1.3.5.
Getting distribution for 'plonetheme.barceloneta==2.1.4'.
Got plonetheme.barceloneta 2.1.4.
Getting distribution for 'plone.theme==3.0.6'.
Got plone.theme 3.0.6.
Getting distribution for 'plone.subrequest==1.9.1'.
Got plone.subrequest 1.9.1.
Getting distribution for 'plone.staticresources==1.1.0'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*' found under directory 'news'
warning: no previously-included files found matching 'news'
error: Setup script exited with error: SandboxViolation: open('build\\lib\\plone\\staticresources\\static\\components\\cs-jqtree-contextmenu\\node_modules\\jqtree\\static\\bower_components\\fontawesome\\web-fonts-with-css\\webfonts\\fa-regular-400.woff2', 'wb') {}
The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.
This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand. Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.
An error occurred when trying to install c:\users\purnata\plone\buildout-cache\downloads\dist\plone.staticresources-1.1.0.tar.gz. Look above this message for any errors that were output by easy_install.
While:
ICopying buildout skeleton
Building Zope/Plone; this takes a while...
Buildout returned an error code: 1; Aborting.
nstalling instance.
Getting distribution for 'plone.staticresources==1.1.0'.
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\purnata\plone\python-2.7\lib\site-packages\zc\buildout\buildout.py", line 2174, in main
getattr(buildout, command)(args)
File "c:\users\purnata\plone\python-2.7\lib\site-packages\zc\buildout\buildout.py", line 817, in install
installed_files = self[part]._call(recipe.install)
File "c:\users\purnata\plone\python-2.7\lib\site-packages\zc\buildout\buildout.py", line 1603, in _call
return f()
File "c:\users\purnata\plone\buildout-cache\eggs\plone.recipe.zope2instance-6.3.0-py2.7.egg\plone\recipe\zope2instance\recipe.py", line 145, in install
installed.extend(self.install_scripts())
File "c:\users\purnata\plone\buildout-cache\eggs\plone.recipe.zope2instance-6.3.0-py2.7.egg\plone\recipe\zope2instance\recipe.py", line 782, in install_scripts
requirements, ws = self.egg.working_set(['plone.recipe.zope2instance'])
File "c:\users\purnata\plone\buildout-cache\eggs\zc.recipe.egg-2.0.7-py2.7.egg\zc\recipe\egg\egg.py", line 87, in working_set
allow_unknown_extras=bool_option(buildout_section, 'allow-unknown-extras')
File "c:\users\purnata\plone\buildout-cache\eggs\zc.recipe.egg-2.0.7-py2.7.egg\zc\recipe\egg\egg.py", line 168, in _working_set
allow_unknown_extras=allow_unknown_extras)
File "c:\users\purnata\plone\python-2.7\lib\site-packages\zc\buildout\easy_install.py", line 957, in install
return installer.install(specs, working_set)
File "c:\users\purnata\plone\python-2.7\lib\site-packages\zc\buildout\easy_install.py", line 730, in install
for dist in self._get_dist(req, ws):
File "c:\users\purnata\plone\python-2.7\lib\site-packages\zc\buildout\easy_install.py", line 574, in _get_dist
dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
File "c:\users\purnata\plone\python-2.7\lib\site-packages\zc\buildout\easy_install.py", line 1740, in _move_to_eggs_dir_and_compile
[tmp_loc] = glob.glob(os.path.join(tmp_dest, '*'))
ValueError: need more than 0 values to unpack
Failed Windows build with error code: 1; Aborting.
[C:\Plone-5.2.0-UnifiedInstaller](file:///C:/Plone-5.2.0-UnifiedInstaller)> »