System: debian 9 with python 2.7
I am trying to upgrade my plone 5.1.5 in production to the newest 5.2.0. But no luck.
I modified only two lines of buildout.cfg(point to 5.2.0) and run buildout. This is the output:
sudo -u plone_buildout bin/buildout
Getting distribution for 'plone.recipe.zeoserver==2.0.1'.
Got plone.recipe.zeoserver 2.0.1.
Getting distribution for 'zc.recipe.egg==2.0.7'.
Got zc.recipe.egg 2.0.7.
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 'zdaemon==4.3'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got zdaemon 4.3.
Getting distribution for 'zope.interface==4.6.0'.
Got zope.interface 4.6.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 'transaction==2.4.0'.
Got transaction 2.4.0.
Getting distribution for 'six==1.12.0'.
Got six 1.12.0.
Getting distribution for 'persistent==4.5.0'.
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__
Installed /tmp/easy_install-MajSCC/persistent-4.5.0/.eggs/pycparser-2.19-py2.7.egg
no previously-included directories found matching 'terryfy'
warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution
warning: no previously-included files matching 'coverage.xml' found anywhere in distribution
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'persistent/__pycache__'
Got persistent 4.5.0.
Getting distribution for 'ZConfig==3.5.0'.
Got ZConfig 3.5.0.
Getting distribution for 'BTrees==4.5.1'.
Got BTrees 4.5.1.
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 'cffi==1.12.3'.
Got cffi 1.12.3.
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.zope2instance==6.3.0'.
Got plone.recipe.zope2instance 6.3.0.
Getting distribution for 'waitress==1.3.0'.
Got waitress 1.3.0.
Getting distribution for 'Zope==4.1.1'.
Got Zope 4.1.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'.
/tmp/easy_install-QFBToo/zope.security-4.3.1/setup.py:102: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65.
"_zope_security_checker.c")]
/tmp/easy_install-QFBToo/zope.security-4.3.1/temp/easy_install-D6EbFx/zope.proxy-4.3.2/setup.py:74: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65.
[os.path.join('src', 'zope', 'proxy', "_zope_proxy_proxy.c")],
/usr/lib/python2.7/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)
warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution
Installed /tmp/easy_install-QFBToo/zope.security-4.3.1/.eggs/zope.proxy-4.3.2-py2.7-linux-x86_64.egg
Searching for zope.interface
Reading https://pypi.org/simple/zope.interface/
Downloading https://files.pythonhosted.org/packages/a2/a2/e68c37eb2ef9bf942e0ace19f4cf6fe3e7c650932fb587bfde3c608f7d77/zope.interface-4.6.0-cp27-cp27mu-manylinux1_x86_64.whl#sha256=bad44274b151d46619a7567010f7cde23a908c6faa84b97598fd2f474a0c6891
Best match: zope.interface 4.6.0
Processing zope.interface-4.6.0-cp27-cp27mu-manylinux1_x86_64.whl
Installing zope.interface-4.6.0-cp27-cp27mu-manylinux1_x86_64.whl to /tmp/easy_install-QFBToo/zope.security-4.3.1/.eggs
writing requirements to /tmp/easy_install-QFBToo/zope.security-4.3.1/.eggs/zope.interface-4.6.0-py2.7-linux-x86_64.egg/EGG-INFO/requires.txt
Installed /tmp/easy_install-QFBToo/zope.security-4.3.1/.eggs/zope.interface-4.6.0-py2.7-linux-x86_64.egg
/usr/lib/python2.7/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)
warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution
no previously-included directories found matching 'docs/_build'
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'.
/tmp/easy_install-yIgprV/zope.proxy-4.3.1/setup.py:74: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65.
[os.path.join('src', 'zope', 'proxy', "_zope_proxy_proxy.c")],
/usr/lib/python2.7/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)
warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution
src/zope/proxy/_zope_proxy_proxy.c: In function ‘wrap_setattro’:
src/zope/proxy/_zope_proxy_proxy.c:315:16: warning: return makes integer from pointer without a cast [-Wint-conversion]
return NULL;
^~~~
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.i18nmessageid==4.3.1'.
/tmp/easy_install-0ouydY/zope.i18nmessageid-4.3.1/setup.py:43: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65.
[os.path.normcase(codeoptimization_c)]
/usr/lib/python2.7/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)
warning: no files found matching '*.zcml' under directory 'src'
warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution
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.
(........many Getting and Got)
Getting distribution for 'Persistence==3.0'.
warning: no files found matching 'appveyor.yml'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution
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'.
warning: no files found matching 'bootstrap.py'
warning: no previously-included files found matching 'bootstrap.py'
warning: no files found matching '*.yml'
warning: no previously-included files found matching '*.yml'
warning: no previously-included files found matching 'src/coverage.xml'
warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution
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 'Acquisition==4.6'.
warning: no files found matching 'bootstrap.py'
warning: no previously-included files found matching 'bootstrap.py'
warning: no files found matching '*.yml'
warning: no previously-included files found matching '*.yml'
warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution
Got Acquisition 4.6.
Getting distribution for 'AccessControl==4.0'.
Got AccessControl 4.0.
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.
(........many Getting and Got)
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'.
/tmp/easy_install-NvukJr/zope.hookable-4.2.0/setup.py:70: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65.
[os.path.join('src', 'zope', 'hookable', "_zope_hookable.c")],
/usr/lib/python2.7/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)
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got zope.hookable 4.2.0.
(........many Getting and Got)
Getting distribution for 'plone.recipe.precompiler==0.7.1'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got plone.recipe.precompiler 0.7.1.
Uninstalling setpermissions.
Uninstalling precompiler.
Uninstalling unifiedinstaller.
Uninstalling zopepy.
Uninstalling backup.
Uninstalling client2.
Uninstalling client1.
Uninstalling zeoserver.
Installing zeoserver.
Created directory /opt/plone515/zeocluster/parts/zeoserver
Created directory /opt/plone515/zeocluster/parts/zeoserver/etc
Created directory /opt/plone515/zeocluster/parts/zeoserver/var
Created directory /opt/plone515/zeocluster/parts/zeoserver/log
Created directory /opt/plone515/zeocluster/parts/zeoserver/bin
Wrote file /opt/plone515/zeocluster/parts/zeoserver/etc/zeo.conf
Wrote file /opt/plone515/zeocluster/parts/zeoserver/bin/zeoctl
Changed mode for /opt/plone515/zeocluster/parts/zeoserver/bin/zeoctl to 755
Wrote file /opt/plone515/zeocluster/parts/zeoserver/bin/runzeo
Changed mode for /opt/plone515/zeocluster/parts/zeoserver/bin/runzeo to 755
Generated script '/opt/plone515/zeocluster/bin/zeoserver'.
Generated script '/opt/plone515/zeocluster/bin/zeopack'.
Generated script '/opt/plone515/zeocluster/bin/repozo'.
Installing client1.
Getting distribution for 'Plone==5.2.0'.
Got Plone 5.2.0.
Getting distribution for 'plone.restapi==4.3.1'.
Got plone.restapi 4.3.1.
(........many Getting and Got)
Getting distribution for 'PyJWT==1.7.1'.
Got PyJWT 1.7.1.
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.
(........many Getting and Got)
Getting distribution for 'Zope2==4.0'.
warning: install_lib: 'build/lib.linux-x86_64-2.7' 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.
(........many Getting and Got)
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.
(........many Getting and Got)
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'
Got plone.staticresources 1.1.0.
(........many Getting and Got)
Getting distribution for 'five.customerize==2.0.0'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
Got five.customerize 2.0.0.
(........many Getting and Got)
Getting distribution for 'simplejson==3.16.0'.
zip_safe flag not set; analyzing archive contents...
simplejson.tests.__init__: module references __file__
Got simplejson 3.16.0.
(........many Getting and Got)
Getting distribution for 'future==0.17.1'.
warning: no files found matching '*.au' under directory 'tests'
warning: no files found matching '*.gif' under directory 'tests'
warning: no files found matching '*.txt' under directory 'tests'
zip_safe flag not set; analyzing archive contents...
future.backports.test.ssl_servers: module references __file__
future.backports.test.support: module references __file__
future.standard_library.__init__: module references __file__
future.standard_library.__init__: module references __path__
future.utils.__init__: module MAY be using inspect.stack
past.builtins.misc: module MAY be using inspect.stack
past.translation.__init__: module references __file__
past.translation.__init__: module references __path__
Got future 0.17.1.
(........many Getting and Got)
Getting distribution for 'zope.keyreference==4.2.0'.
Got zope.keyreference 4.2.0.
Generated script '/opt/plone515/zeocluster/bin/client1'.
Generated interpreter '/opt/plone515/zeocluster/parts/client1/bin/interpreter'.
Installing client2.
Generated script '/opt/plone515/zeocluster/bin/client2'.
Generated interpreter '/opt/plone515/zeocluster/parts/client2/bin/interpreter'.
Installing backup.
Generated script '/opt/plone515/zeocluster/bin/backup'.
Generated script '/opt/plone515/zeocluster/bin/snapshotbackup'.
Generated script '/opt/plone515/zeocluster/bin/restore'.
Generated script '/opt/plone515/zeocluster/bin/snapshotrestore'.
Installing zopepy.
Generated interpreter '/opt/plone515/zeocluster/bin/zopepy'.
Installing unifiedinstaller.
Generated script '/opt/plone515/zeocluster/bin/plonectl'.
Installing precompiler.
Compiling Python files.
File "/opt/plone515/buildout-cache/eggs/zodbpickle-1.0.4-py2.7-linux-x86_64.egg/zodbpickle/pickle_3.py", line 178
def __init__(self, file, protocol=None, *, fix_imports=True):
^
SyntaxError: invalid syntax
File "/opt/plone515/buildout-cache/eggs/zodbpickle-1.0.4-py2.7-linux-x86_64.egg/zodbpickle/pickletools_3.py", line 2049
print("%5d:" % pos, end=' ', file=out)
^
SyntaxError: invalid syntax
File "/opt/plone515/buildout-cache/eggs/zodbpickle-1.0.4-py2.7-linux-x86_64.egg/zodbpickle/tests/pickletester_3.py", line 142
class use_metaclass(object, metaclass=metaclass):
^
SyntaxError: invalid syntax
Compiling locale files.
Installing setpermissions.
setpermissions: Running '# Dummy references to force this to execute after referenced parts
echo /opt/plone515/zeocluster/var/backups yes > /dev/null
chmod 600 .installed.cfg
# Make sure anything we've created in var is r/w by our group
find /opt/plone515/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null
find /opt/plone515/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null
find /opt/plone515/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null
find /opt/plone515/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null
chmod 754 /opt/plone515/zeocluster/bin/*'
When I try to run "plonectl start", it seems that only zeoserver is on. This is the output:
sudo -u plone_daemon /opt/plone515/zeocluster/bin/plonectl start
zeoserver:
daemon process started, pid=4268
client1: Error: u'products' is not a known key name
Need your help.
Hugo