duanyh
September 6, 2019, 7:17am
1
The plone 5.20 is new install ,it is ok, but install collective.documentviewer 5.0.4 faild. et.
python 3.7.4
buildout.cfg :
eggs =
Plone
Pillow
collective.documentviewer
run :
sudo -u plone_buildout bin/buildout
display have err
dyh@ubuntu:/plone520/zinstance$ sudo -u plone_buildout bin/buildout
[sudo] password for dyh:
Unused options for buildout: 'deprecation-warnings'.
Updating instance.
Updating repozo.
Updating backup.
Updating zopepy.
Updating unifiedinstaller.
Updating precompiler.
Compiling Python files.
File "/plone520/buildout-cache/eggs/collective.documentviewer-5.0.4-py3.7.egg/collective/documentviewer/async.py", line 127
converter(async=False)
^
SyntaxError: invalid syntax
File "/plone520/buildout-cache/eggs/collective.documentviewer-5.0.4-py3.7.egg/collective/documentviewer/convert_all.py", line 1
from collective.documentviewer.async import celeryInstalled
^
SyntaxError: invalid syntax
File "/plone520/buildout-cache/eggs/collective.documentviewer-5.0.4-py3.7.egg/collective/documentviewer/convert.py", line 503
from collective.documentviewer.async import celeryInstalled
^
SyntaxError: invalid syntax
File "/plone520/buildout-cache/eggs/collective.documentviewer-5.0.4-py3.7.egg/collective/documentviewer/subscribers.py", line 7
from collective.documentviewer.async import queueJob
^
SyntaxError: invalid syntax
File "/plone520/buildout-cache/eggs/collective.documentviewer-5.0.4-py3.7.egg/collective/documentviewer/upgrades.py", line 8
from collective.documentviewer.async import queueJob
^
SyntaxError: invalid syntax
File "/plone520/buildout-cache/eggs/collective.documentviewer-5.0.4-py3.7.egg/collective/documentviewer/browser/views.py", line 10
from collective.documentviewer.async import (celeryInstalled, getJobRunner,
^
SyntaxError: invalid syntax
File "/plone520/buildout-cache/eggs/repoze.catalog-0.9.0-py3.7.egg/benchmark/sortbench.py", line 86
main = []
^
SyntaxError: invalid syntax
Compiling locale files.
Updating setpermissions.
setpermissions: Running # Dummy references to force this to execute after referenced parts
echo /plone520/zinstance/var/backups yes > /dev/null
chmod 600 .installed.cfg
# Make sure anything we've created in var is r/w by our group
find /plone520/zinstance/var -type d -exec chmod 770 {} \; 2> /dev/null
find /plone520/zinstance/var -type f -exec chmod 660 {} \; 2> /dev/null
find /plone520/zinstance/var -type d -exec chmod 770 {} \; 2> /dev/null
find /plone520/zinstance/var -type f -exec chmod 660 {} \; 2> /dev/null
chmod 754 /plone520/zinstance/bin/*
Versions had to be automatically picked.
The following part definition lists the versions picked:
[versions]
zope.index = 4.4.0
# Required by:
# collective.documentviewer==5.0.4
repoze.catalog = 0.9.0
dyh@ubuntu:/plone520/zinstance$
Please help, Thank you very march!
dieter
(Dieter Maurer)
September 6, 2019, 7:59am
2
Apparently, you are using Python 3 and collective.documentviewer==5.0.4
is not yet Python 3 compatible (in Python 3, async
is a keyword and can no longer be used as a name).
duanyh
September 6, 2019, 8:18am
3
Mr.dieter:
Which version of plone and python will work with collective.documentviewer==5.0.4 ,or can modify the source program,please? thank you!
dieter
(Dieter Maurer)
September 6, 2019, 9:23am
4
I do not know (I am not using collective.documentviewer
). You could try Plone 5.2 with Python 2.7 (at least the async
problems should go away). You could also look at the source of collective.documentviewer
(likely in "github"): maybe, someone is already working on Python 3 compatibility and there is already unreleased code.
Otherwise, read the "changelog" for collective.documentviewer
. A changelog often contain hints for which framework version the various versions should work.
zopyx
(Andreas Jung)
September 6, 2019, 10:49am
5
There is a Plone 5.2/Python 3 branch
https://github.com/collective/collective.documentviewer/tree/py3plone52
but no release so far.
You can try to use this branch using mr.developer
extension for using a source code checkout rather than a packaged release.
duanyh
September 11, 2019, 12:57am
6
I did it according to github. There were no errors, but there were new problems, sudo -u plone_buildout bin/buildout,such as:
File "/plone520/buildout-cache/eggs/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 225, in resolve
__import__(mname)
ModuleNotFoundError: No module named 'collective.documentviewer.upgrades'
File "/plone520/buildout-cache/eggs/zope.configuration-4.3.1-py3.7.egg/zope/configuration/fields.py", line 173, in fromUnicode
raise ValidationError(v).with_field_and_value(self, name)
zope.schema._bootstrapinterfaces.ValidationError: ImportError: Couldn't import collective.documentviewer.upgrades, No module named 'collective.documentviewer.upgrades'
/plone520/buildout-cache/eggs/collective.documentviewer-5.0.4-py3.7.egg/collective/documentviewer/upgrades.zcml.old
File "/plone520/buildout-cache/eggs/zope.interface-4.6.0-py3.7-linux-x86_64.egg/zope/interface/declarations.py", line 483, in implements
raise TypeError(_ADVICE_ERROR % 'implementer')
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/plone520/buildout-cache/eggs/collective.documentviewer-5.0.4-py3.7.egg/collective/documentviewer/configure.zcml", line 26.2-29.41
File "/plone520/zinstance/parts/instance/etc/site.zcml", line 16.2-16.23
File "/plone520/buildout-cache/eggs/Products.CMFPlone-5.2.0-py3.7.egg/Products/CMFPlone/configure.zcml", line 110.2-114.8
TypeError: Class advice impossible in Python3. Use the @implementer class decorator instead.
It's too difficult. I don't know who has succeeded. Give me a combination of versions.
Thank you dieter and zopyx, Thank you .
duanyh
September 18, 2019, 9:05am
8
Now, I went back to the old version in the following circumstances:
Plone site
Plone 5.1.5 (5115)
CMF 2.2.12
Zope 2.13.27
Python 2.7.12 (default, Jul 18 2016, 15:02:52) [GCC 4.8.4]
PIL 5.4.1 (Pillow)
And cd collective.documentviewer-5.0.4
run :python setup.py install , display:
running install
running bdist_egg
running egg_info
writing requirements to collective.documentviewer.egg-info/requires.txt
writing collective.documentviewer.egg-info/PKG-INFO
writing namespace_packages to collective.documentviewer.egg-info/namespace_packages.txt
writing top-level names to collective.documentviewer.egg-info/top_level.txt
writing dependency_links to collective.documentviewer.egg-info/dependency_links.txt
writing entry points to collective.documentviewer.egg-info/entry_points.txt
reading manifest file 'collective.documentviewer.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'collective.documentviewer.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/collective
creating build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/config.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/iso639_2_utf8.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/async.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/convert_all.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/ISO-639-2_utf-8.txt -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/CUSTOMIZATIONS.txt -> build/bdist.linux-x86_64/egg/collective/documentviewer
creating build/bdist.linux-x86_64/egg/collective/documentviewer/browser
copying build/lib.linux-x86_64-2.7/collective/documentviewer/browser/configure.zcml -> build/bdist.linux-x86_64/egg/collective/documentviewer/browser
copying build/lib.linux-x86_64-2.7/collective/documentviewer/browser/views.py -> build/bdist.linux-x86_64/egg/collective/documentviewer/browser
copying build/lib.linux-x86_64-2.7/collective/documentviewer/browser/settings.py -> build/bdist.linux-x86_64/egg/collective/documentviewer/browser
copying build/lib.linux-x86_64-2.7/collective/documentviewer/browser/__init__.py -> build/bdist.linux-x86_64/egg/collective/documentviewer/browser
creating build/bdist.linux-x86_64/egg/collective/documentviewer/browser/templates
copying build/lib.linux-x86_64-2.7/collective/documentviewer/browser/templates/converting.pt -> build/bdist.linux-x86_64/egg/collective/documentviewer/browser/templates
copying build/lib.linux-x86_64-2.7/collective/documentviewer/browser/templates/group-view.pt -> build/bdist.linux-x86_64/egg/collective/documentviewer/browser/templates
copying build/lib.linux-x86_64-2.7/collective/documentviewer/browser/templates/async-monitor.pt -> build/bdist.linux-x86_64/egg/collective/documentviewer/browser/templates
copying build/lib.linux-x86_64-2.7/collective/documentviewer/browser/templates/documentviewer.pt -> build/bdist.linux-x86_64/egg/collective/documentviewer/browser/templates
copying build/lib.linux-x86_64-2.7/collective/documentviewer/browser/traverse.py -> build/bdist.linux-x86_64/egg/collective/documentviewer/browser
copying build/lib.linux-x86_64-2.7/collective/documentviewer/browser/controlpanel.py -> build/bdist.linux-x86_64/egg/collective/documentviewer/browser
copying build/lib.linux-x86_64-2.7/collective/documentviewer/convert.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/catalog.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/storage.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/configure.zcml -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/subscribers.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
creating build/bdist.linux-x86_64/egg/collective/documentviewer/resources
creating build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/assets/viewer-datauri.css -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/assets/viewer.css -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/assets/printviewer.css -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/assets/print-datauri.css -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/assets/viewer.js -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/assets/print.css -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/assets/plain.css -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/assets/templates.js -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/assets/fallback.css -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/assets/plain-datauri.css -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/assets/fallback-datauri.css -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/assets
creating build/bdist.linux-x86_64/egg/collective/documentviewer/resources/images
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/images/clear.png -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/images
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/images/pdf.png -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/images
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/images/application-pdf.png -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/images
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/images/search.png -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/images
creating build/bdist.linux-x86_64/egg/collective/documentviewer/resources/javascripts
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/javascripts/build.min.js -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/javascripts
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/javascripts/build.min.js.map -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/javascripts
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/javascripts/group.js -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/javascripts
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/javascripts/viewer.js -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/javascripts
creating build/bdist.linux-x86_64/egg/collective/documentviewer/resources/stylesheets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/stylesheets/viewer.css.map -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/stylesheets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/stylesheets/viewer.css -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/stylesheets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/stylesheets/viewer.less -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/stylesheets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/resources/stylesheets/group.css -> build/bdist.linux-x86_64/egg/collective/documentviewer/resources/stylesheets
copying build/lib.linux-x86_64-2.7/collective/documentviewer/rebuild_i18n.sh -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/upgrades.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/fr
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/fr/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/fr/LC_MESSAGES/collective.documentviewer.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/fr/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/fr/LC_MESSAGES/plone.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/fr/LC_MESSAGES
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/de
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/de/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/de/LC_MESSAGES/collective.documentviewer.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/de/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/de/LC_MESSAGES/plone.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/de/LC_MESSAGES
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/eu
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/eu/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/eu/LC_MESSAGES/collective.documentviewer.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/eu/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/eu/LC_MESSAGES/plone.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/eu/LC_MESSAGES
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/it
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/it/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/it/LC_MESSAGES/collective.documentviewer.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/it/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/it/LC_MESSAGES/plone.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/it/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/collective.documentviewer-manual.pot -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/es
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/es/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/es/LC_MESSAGES/collective.documentviewer.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/es/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/es/LC_MESSAGES/plone.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/es/LC_MESSAGES
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/zh_CN
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/zh_CN/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/zh_CN/LC_MESSAGES/collective.documentviewer.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/zh_CN/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/zh_CN/LC_MESSAGES/plone.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/zh_CN/LC_MESSAGES
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/en
creating build/bdist.linux-x86_64/egg/collective/documentviewer/locales/en/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/en/LC_MESSAGES/collective.documentviewer.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/en/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/en/LC_MESSAGES/plone.po -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales/en/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/plone.pot -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales
copying build/lib.linux-x86_64-2.7/collective/documentviewer/locales/collective.documentviewer.pot -> build/bdist.linux-x86_64/egg/collective/documentviewer/locales
copying build/lib.linux-x86_64-2.7/collective/documentviewer/settings.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/__init__.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
creating build/bdist.linux-x86_64/egg/collective/documentviewer/Extensions
copying build/lib.linux-x86_64-2.7/collective/documentviewer/Extensions/Install.py -> build/bdist.linux-x86_64/egg/collective/documentviewer/Extensions
copying build/lib.linux-x86_64-2.7/collective/documentviewer/interfaces.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/utils.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/migration.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
creating build/bdist.linux-x86_64/egg/collective/documentviewer/profiles
creating build/bdist.linux-x86_64/egg/collective/documentviewer/profiles/default
copying build/lib.linux-x86_64-2.7/collective/documentviewer/profiles/default/types.xml -> build/bdist.linux-x86_64/egg/collective/documentviewer/profiles/default
copying build/lib.linux-x86_64-2.7/collective/documentviewer/profiles/default/actions.xml -> build/bdist.linux-x86_64/egg/collective/documentviewer/profiles/default
copying build/lib.linux-x86_64-2.7/collective/documentviewer/profiles/default/browserlayer.xml -> build/bdist.linux-x86_64/egg/collective/documentviewer/profiles/default
creating build/bdist.linux-x86_64/egg/collective/documentviewer/profiles/default/types
copying build/lib.linux-x86_64-2.7/collective/documentviewer/profiles/default/types/File.xml -> build/bdist.linux-x86_64/egg/collective/documentviewer/profiles/default/types
copying build/lib.linux-x86_64-2.7/collective/documentviewer/profiles/default/registry.xml -> build/bdist.linux-x86_64/egg/collective/documentviewer/profiles/default
copying build/lib.linux-x86_64-2.7/collective/documentviewer/profiles/default/controlpanel.xml -> build/bdist.linux-x86_64/egg/collective/documentviewer/profiles/default
copying build/lib.linux-x86_64-2.7/collective/documentviewer/profiles/default/metadata.xml -> build/bdist.linux-x86_64/egg/collective/documentviewer/profiles/default
copying build/lib.linux-x86_64-2.7/collective/documentviewer/upgrades.zcml -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/testing.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/events.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
copying build/lib.linux-x86_64-2.7/collective/documentviewer/adapters.py -> build/bdist.linux-x86_64/egg/collective/documentviewer
creating build/bdist.linux-x86_64/egg/collective/documentviewer/tests
creating build/bdist.linux-x86_64/egg/collective/documentviewer/tests/test_files
copying build/lib.linux-x86_64-2.7/collective/documentviewer/tests/test_files/test.doc -> build/bdist.linux-x86_64/egg/collective/documentviewer/tests/test_files
copying build/lib.linux-x86_64-2.7/collective/documentviewer/tests/test_files/test.odp -> build/bdist.linux-x86_64/egg/collective/documentviewer/tests/test_files
copying build/lib.linux-x86_64-2.7/collective/documentviewer/tests/test_files/test.pdf -> build/bdist.linux-x86_64/egg/collective/documentviewer/tests/test_files
copying build/lib.linux-x86_64-2.7/collective/documentviewer/tests/test_storage.py -> build/bdist.linux-x86_64/egg/collective/documentviewer/tests
copying build/lib.linux-x86_64-2.7/collective/documentviewer/tests/__init__.py -> build/bdist.linux-x86_64/egg/collective/documentviewer/tests
copying build/lib.linux-x86_64-2.7/collective/documentviewer/tests/test_views.py -> build/bdist.linux-x86_64/egg/collective/documentviewer/tests
copying build/lib.linux-x86_64-2.7/collective/documentviewer/tests/test_migrate.py -> build/bdist.linux-x86_64/egg/collective/documentviewer/tests
copying build/lib.linux-x86_64-2.7/collective/documentviewer/tests/test_convert.py -> build/bdist.linux-x86_64/egg/collective/documentviewer/tests
copying build/lib.linux-x86_64-2.7/collective/__init__.py -> build/bdist.linux-x86_64/egg/collective
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/config.py to config.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/iso639_2_utf8.py to iso639_2_utf8.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/async.py to async.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/convert_all.py to convert_all.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/browser/views.py to views.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/browser/settings.py to settings.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/browser/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/browser/traverse.py to traverse.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/browser/controlpanel.py to controlpanel.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/convert.py to convert.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/catalog.py to catalog.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/storage.py to storage.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/subscribers.py to subscribers.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/upgrades.py to upgrades.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/settings.py to settings.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/Extensions/Install.py to Install.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/interfaces.py to interfaces.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/utils.py to utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/migration.py to migration.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/testing.py to testing.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/events.py to events.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/adapters.py to adapters.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/tests/test_storage.py to test_storage.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/tests/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/tests/test_views.py to test_views.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/tests/test_migrate.py to test_migrate.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/documentviewer/tests/test_convert.py to test_convert.pyc
byte-compiling build/bdist.linux-x86_64/egg/collective/__init__.py to __init__.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying collective.documentviewer.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying collective.documentviewer.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying collective.documentviewer.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying collective.documentviewer.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying collective.documentviewer.egg-info/namespace_packages.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying collective.documentviewer.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying collective.documentviewer.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying collective.documentviewer.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating 'dist/collective.documentviewer-5.0.4-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing collective.documentviewer-5.0.4-py2.7.egg
removing '/usr/local/lib/python2.7/dist-packages/collective.documentviewer-5.0.4-py2.7.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/collective.documentviewer-5.0.4-py2.7.egg
Extracting collective.documentviewer-5.0.4-py2.7.egg to /usr/local/lib/python2.7/dist-packages
collective.documentviewer 5.0.4 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/collective.documentviewer-5.0.4-py2.7.egg
Processing dependencies for collective.documentviewer==5.0.4
Searching for Products.CMFPlone
Reading https://pypi.python.org/simple/Products.CMFPlone/
Best match: Products.CMFPlone 5.2.0
Downloading https://files.pythonhosted.org/packages/b6/d2/5202851eab12871741ae2e7abd136e2414f95b661b4e5b30062a6e1e5375/Products.CMFPlone-5.2.0.tar.gz#sha256=5962b38c1ef452c41e2d8ca00cf84bc5a844375d8209e344d233790def3ad975
Processing Products.CMFPlone-5.2.0.tar.gz
Writing /tmp/easy_install-MVbu9d/Products.CMFPlone-5.2.0/setup.cfg
Running Products.CMFPlone-5.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-MVbu9d/Products.CMFPlone-5.2.0/egg-dist-tmp-3xTE9s
error: Setup script exited with error in Products.CMFPlone setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
It download Products.CMFPlone-5.2.0.tar.gz instead of Products.CMFPlone-5.1.5.tar.gz
how to specify the version?
Thank you .