>
> I have thrown in the independent towel.
>
> I am trying to get a development version of Plone 2.5.x with GetPaid
> running on my laptop.
>
> Using Python2.4.3 with win32 extensions.
>
> I followed the Plone buildout prerequisites instructions here
> http://plone.org/documentation/tutorial/buildout/prerequisites and
> then the getPaid instructions at http://code.google.com/p/getpaid/
> wiki/DevGettingStarted.
>
> GetPaid buildout from https://getpaid.googlecode.com/svn/trunk/
> getpaid.buildout
>
> The buildout.exe execution never gets past the products-plone part.
> The error is:
> --------------------------------------
> Installing products-plone.
> products-plone: DEST=C:\tools\Products\BuildOutLinks\getpaid/parts/
> plone-2.5.4
Windows doesn't support forward slashes as file separators does it?
Perhaps some paths are hard coded instead of using os.sep or
os.path.join... wait os.path.join doesn't appear to use os.sep
itself, maybe that is the problem. Then again windows may load
another module (instead of posixpath) to do joins. I do not have
windows to test on, fortunately.
>>> os.path.join??
Type: function
Base Class: <type 'function'>
String Form: <function join at 0x54470>
Namespace: Interactive
File: /Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/posixpath.py
Definition: os.path.join(a, *p)
Source:
def join(a, *p):
"""Join two or more pathname components, inserting '/' as needed"""
path = a
for b in p:
if b.startswith('/'):
path = b
elif path == '' or path.endswith('/'):
path += b
else:
path += '/' + b
return path
Those paths should not look like that. This seems a bug in the recipe
that handles products-plone. That is inquant.recipe.download, which
itself is a wrapper around gocept.download. If you know your way
around python you could try to edit
eggs/gocept.download-0.9.3-py2.4.egg/gocept/download/__init__.py
Well, replace the slashes in that path by backslashes. :)
Whether you can fix it that way or not, please report this to gocept,
see http://gocept.com
(Or report it to inquant, but their recipe does not seem to do
anything with paths itself.)
--
Maurits van Rees | http://maurits.vanrees.org/ [NL]
Work | http://zestsoftware.nl/
"I am trapped in a Klein Bottle and can't get in."
I just heard word of windows woes...not sure if anyone is running
buildout or the tarballs successfully on a windows box??
-chris
--
Cofounder and CEO
ifPeople - Innovation for People
www.ifpeople.net
t: 678-608-3408
130 Boulevard NE, #6
Atlanta, GA 30312
For Plone 2.5.4, the buildout section would look like this:
[plone]
recipe = plone.recipe.plone25install
url =
http://plone.googlecode.com/files/Plone-2.5.4-final.tar.gz
Best,
Fabio Corneti
in...@corneti.com
That looks like it could work (though I have not done much with
buildout on Plone 2.5). The products-plone part was changed in
revision 788 by Kapil. Part of the changeset:
[products-plone]
-recipe = plone.recipe.distros
-urls = http://plone.googlecode.com/files/Plone-2.5.3-final.tar.gz
+recipe = inquant.recipe.download
+url = http://plone.googlecode.com/files/Plone-2.5.3-final.tar.gz
+destination = ${buildout:directory}/parts/plone-2.5.3
+md5sum = 36117b0757982d66d445b6c6b9df0e25
+clean-destination = true
Looks like the inquant recipe has more options, which may have been a
reason. But when this fails on Windows that is a definite downside.
It looks like it should be fixable in the original gocept.download
recipe, but I have no Windows.
Kapil, do you mind using the plone.recipe.plone25install recipe
instead, like Fabio wrote?
For the record, in the getpaid buildout for Plone 3 at
http://getpaid.googlecode.com/svn/trunk/getpaid-30.buildout
this is what I am using:
[plone]
recipe = plone.recipe.plone>=3.0,<3.1dev
that sounds good, i was fond of the md5 checksum for sanity checking
since we're dealing with money.. but loosing a platform is more
problematic... probably should switch to the productdistros recipe as
well.
also on packaging front end, i'd like to note that the authorize.net
provider just got infinitely easier to install since m2crypto is no
longer a dependency, any python with ssl support will satisfy the
dependency.
and fwiw, i'm now using plone 3.0 for testing and development.
cheers,
kapil
-chris
--
I filed an issue for this here:
http://code.google.com/p/getpaid/issues/detail?id=145&q=milestone:M1
(re buildout not working on windows). hopefully we can see it through
completion.
Thanks for bringing this up and helping us find it! I guess less
Windows users out there than I thought since it didn't really come up
till now :)
-chris
Just as a note: specifying an extension profile during creation of a
Plone site is not recommended. It might work in some cases but it is
not supported. Ideally that option should probably not even be there.
This is not something that can be fixed in getpaid.
-chris
> --
> Maurits van Rees | http://maurits.vanrees.org/ [NL]
> Work | http://zestsoftware.nl/
> "I am trapped in a Klein Bottle and can't get in."
>
>
> >
>
--