Google Groups Home
Help | Sign in
getPaid buildout [Errno 2] The system cannot find the file specified
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  16 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Taun  
View profile
 More options Nov 19 2007, 9:41 pm
From: Taun <tau...@gmail.com>
Date: Mon, 19 Nov 2007 18:41:10 -0800 (PST)
Local: Mon, Nov 19 2007 9:41 pm
Subject: getPaid buildout [Errno 2] The system cannot find the file specified
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
products-plone: REMOVING dir C:\tools\Products\BuildOutLinks\getpaid/
parts/plone
-2.5.4
While:
  Installing products-plone.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:

WindowsError:
[Errno 2] The system cannot find the file specified
---------------------------------------
I used the commandline svn with Subversion command-line client 1.4.2
All of the externals appear to have been fetched.
The Plone tar is in the downloads directory.
A plone-2.5.4 directory is created.

I have checked Google, wiki and this group for hints to no avail.

In addition, the md5sum in the buildout doesn't match for the plone
download. Perhaps because this is on a windows platform? I had to
manually calculate a new md5 sum based on the downloaded file. To add
insult to injury, the script requires md5sum but google code gives
sha1.

Any help greatly appreciated. I have been at it for two days now.

Thanks
taun


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Reed O'Brien  
View profile
 More options Nov 20 2007, 3:10 am
From: Reed O'Brien <reedobr...@gmail.com>
Date: Tue, 20 Nov 2007 03:10:27 -0500
Local: Tues, Nov 20 2007 3:10 am
Subject: Re: getPaid buildout [Errno 2] The system cannot find the file specified
On Nov 19, 2007, at 9:41 PM, Taun wrote:

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maurits van Rees  
View profile
 More options Nov 20 2007, 4:47 am
From: Maurits van Rees <maurits.vanr...@gmail.com>
Date: Tue, 20 Nov 2007 10:47:40 +0100
Local: Tues, Nov 20 2007 4:47 am
Subject: Re: getPaid buildout [Errno 2] The system cannot find the file specified

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."


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Johnson  
View profile
 More options Nov 20 2007, 1:15 pm
From: "Christopher Johnson" <cjj.ifpeo...@gmail.com>
Date: Tue, 20 Nov 2007 13:15:43 -0500
Local: Tues, Nov 20 2007 1:15 pm
Subject: Re: getPaid buildout [Errno 2] The system cannot find the file specified
Does this mean that the tarballs generated from the buildout code (via
nightly) will not run correctly on Windows also?

I just heard word of windows woes...not sure if anyone is running
buildout or the tarballs successfully on a windows box??

-chris

On Nov 20, 2007 4:47 AM, Maurits van Rees <maurits.vanr...@gmail.com> wrote:

--
Cofounder and CEO
ifPeople - Innovation for People
www.ifpeople.net
t: 678-608-3408
130 Boulevard NE, #6
Atlanta, GA 30312

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabio Corneti  
View profile
 More options Nov 20 2007, 1:43 pm
From: Fabio Corneti <i...@corneti.com>
Date: Tue, 20 Nov 2007 19:43:17 +0100
Local: Tues, Nov 20 2007 1:43 pm
Subject: Re: getPaid buildout [Errno 2] The system cannot find the file specified
I currently use the plone.recipe.plone25install recipe on Windows in  
other projects without problems, maybe it could help to
solve the issue described.

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
i...@corneti.com

On 20/nov/07, at 19:15, Christopher Johnson wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maurits van Rees  
View profile
 More options Nov 20 2007, 2:09 pm
From: Maurits van Rees <maurits.vanr...@gmail.com>
Date: Tue, 20 Nov 2007 20:09:30 +0100
Local: Tues, Nov 20 2007 2:09 pm
Subject: Re: getPaid buildout [Errno 2] The system cannot find the file specified

On Tue, Nov 20, 2007 at 07:43:17PM +0100, Fabio Corneti wrote:
> I currently use the plone.recipe.plone25install recipe on Windows in  
> other projects without problems, maybe it could help to
> solve the issue described.

> 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

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

--
Maurits van Rees | http://maurits.vanrees.org/ [NL]
            Work | http://zestsoftware.nl/
"I am trapped in a Klein Bottle and can't get in."


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kapil Thangavelu  
View profile
 More options Nov 20 2007, 2:14 pm
From: Kapil Thangavelu <kap...@gmail.com>
Date: Tue, 20 Nov 2007 14:14:43 -0500
Local: Tues, Nov 20 2007 2:14 pm
Subject: Re: getPaid buildout [Errno 2] The system cannot find the file specified

On Nov 20, 2007, at 2:09 PM, Maurits van Rees wrote:

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Barry Page  
View profile
 More options Nov 20 2007, 3:49 pm
From: Barry Page <barry_p...@yahoo.co.nz>
Date: Tue, 20 Nov 2007 12:49:35 -0800 (PST)
Local: Tues, Nov 20 2007 3:49 pm
Subject: Re: getPaid buildout [Errno 2] The system cannot find the file specified

I've been unable to get recent tarballs running on Windows/ Plone 2.5.4 (even the default Plone page errors). Seems to be a problem with five rather than getpaid, looking at the install logs. Unfortunately I don't have access to that machine at present to give you debugs.

Regards,
Barry Page


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Taun  
View profile
 More options Nov 20 2007, 5:07 pm
From: Taun <tau...@gmail.com>
Date: Tue, 20 Nov 2007 14:07:33 -0800 (PST)
Local: Tues, Nov 20 2007 5:07 pm
Subject: Re: getPaid buildout [Errno 2] The system cannot find the file specified
Thanks for all the input so far.

I noticed the paths and tried changing them before sending the initial
post. I had also tried to replace the inquant recipe with a standard
plone recipe but ran into other problems due to my lack of familiarity
with buildout syntax and procedures.

The current plan of attack is to get a basic plone25 buildout working
using the paster template on Windows then try and add the GetPaid
buildout components to the base plone25 buildout.cfg. I notice there
are lots of interesting issues around Five. Hopefully I can get past
them without too much additional time spent.

One related note to reiterate is the md5 in the GetPaid (plone25)
buildout seems to be wrong when run on the Windows platform. It seems
the md5 in the buildout should be optional but there is a 'missing
md5' error if it is left off. I found the function in the recipe used
to calc the md5 for comparison and ran it on the file manually just to
get past that point. Note this shows the recipe code is able to open
the plone tar despite the path looking like a mixture of unix/windows.
My point is, the problems with the buildout on the Windows platform go
beyond just the path which is why I am now trying the approach
outlined above.

Thanks
Taun

Yes, I am stuck with Plone25 and Windows for the development platform.
On Nov 20, 3:49 pm, Barry Page <barry_p...@yahoo.co.nz> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Taun  
View profile
 More options Nov 20 2007, 5:41 pm
From: Taun <tau...@gmail.com>
Date: Tue, 20 Nov 2007 14:41:04 -0800 (PST)
Local: Tues, Nov 20 2007 5:41 pm
Subject: Re: getPaid buildout [Errno 2] The system cannot find the file specified
Thanks!
I decided to give the base GetPaid buildout another chance using
Fabio's recommended plone recipe.

A development Plone/GetPaid is now working on my test platform. Now to
learn GetPaid.

-[products-plone]
-recipe = inquant.recipe.download
-url = http://plone.googlecode.com/files/Plone-2.5.4-2.tar.gz
-destination = ${buildout:directory}/parts/plone-2.5.4
-md5sum = a05f4411ce9f39e9b09c4aa14097caf0
-clean-destination = true
+[products-plone]
+recipe = plone.recipe.plone25install
+url = http://plone.googlecode.com/files/Plone-2.5.4-final.tar.gz

 [five]
 recipe = plone.recipe.distros
@@ -100,7 +97,7 @@
 products =
     ${buildout:directory}/develop-products
     ${buildout:directory}/develop-debug
-    ${buildout:directory}/parts/plone-2.5.4
+    ${buildout:directory}/parts/products-plone
     ${buildout:directory}/parts/test-recorder
     ${buildout:directory}/parts/five

Taun

On Nov 20, 1:43 pm, Fabio Corneti <i...@corneti.com> wrote: