Hi

Tried once more, and succeeded! Don't know what the difference is, but that is 
not important!

--- 
mvh Hans Sandsdalen 

www.sandsdalen.net

----- On 21 Dec, 2015, at 19:35, Hans Sandsdalen [email protected] wrote:

Hi

I did try this, pin versions, but did not succed. I will try to go directly to 
4.0.9.

Thank you for your help... :)

--- 
mvh Hans Sandsdalen 

www.sandsdalen.net

----- On 21 Dec, 2015, at 12:40, Maurits van Rees [email protected] 
wrote:

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

_______________________________________________
Setup mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-setup
_______________________________________________
Setup mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-setup

Reply via email to