[Setup] Plone 3.3.5 or 3.3.6
Maurits van Rees
m.van.rees at zestsoftware.nl
Mon Dec 21 11:40:29 UTC 2015
Op 19/12/15 om 18:55 schreef Hans Sandsdalen:
> File "setup.py", line 20
> with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
> ^
> SyntaxError: invalid syntax
> An error occured when trying to install zope.browserpage 4.1.0.Look
> above this message for any errors thatwere output by easy_install.
> While:
> Installing instance.
> Getting distribution for 'zope.browserpage'.
> Error: Couldn't install: zope.browserpage 4.1.0
You are pulling in zope.browserpage 4.1.0 which has code in its setup.py
that is not compatible with Python 2.4.
https://pypi.python.org/pypi/zope.browserpage suggests that the
incompatibility started at version 4.0.0 of this package. The version
before that should be fine. So in your [versions] section, add this line:
zope.browserpage = 3.12.2
Run bin/buildout again and you should be okay for this package.
It might be that you then simply run into the next problem of this kind.
It is best practive to pin the versions for all packages.
On your old server you may try this command:
bin/buildout -Novvvvv |sed -ne 's/^Picked: //p' | sort | uniq
This *should* change nothing on the file system, but prints out all
packages with their version when they are not pinned yet.
Taken from:
http://maurits.vanrees.org/weblog/archive/2008/01/easily-creating-repeatable-buildouts
More tips: http://docs.plone.org/manage/troubleshooting/buildout.html
BTW, you may get more responses on this online forum:
https://community.plone.org
Most community discussions currently take place there. We have not shut
down all mailing lists yet or updated the links in all the proper places.
--
Maurits van Rees: http://maurits.vanrees.org/
Zest Software: http://zestsoftware.nl
More information about the Setup
mailing list