Re: [Zope-CMF] Problem with offline buildout

2010-01-21 Thread Charlie Clark
Am 21.01.2010, 12:29 Uhr, schrieb Hanno Schlichting :

> This is an entirely unrelated issue to the one you had on Windows.

No, it is the same issue - the tracebacks are identical on either system.  
Case sensitivity also affects the Zope2 package but that will install from  
cache.

> In this case the CMF packages all have the following in their setup.py:
> setup_requires=['eggtestinfo',],
> It seems setup requirements (compared to the usual install
> requirements) aren't put into the buildout download cache.

Making eggtestinfo an explicit egg requirement doesn't work but putting  
the egg manually in site-packages will allow the install to work.

Charlie
-- 
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] Problem with offline buildout

2010-01-21 Thread Hanno Schlichting
On Thu, Jan 21, 2010 at 9:44 AM, Charlie Clark  wrote:
> It would be nice if that was the case but I get the same problem on OS X:
>
> """
> We have no distributions for Products.CMFCore that satisfies
> 'Products.CMFCore'.
> Getting distribution for 'Products.CMFCore'.
> Running easy_install:
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python
> "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd"
> "/Users/charlieclark/Sites/zurich/eggs/tmpegx0OT" "-q"
> "/Users/charlieclark/Sites/zurich/downloads/dist/Products.CMFCore-2.2.0.tar.gz"
> path=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages
>
> Download error: [Errno 8] nodename nor servname provided, or not known --
> Some packages may not be found!
> Couldn't find index page for 'eggtestinfo' (maybe misspelled?)
> """
>
> setuptools wants to check something online even thought it has everything
> it needs.

This is an entirely unrelated issue to the one you had on Windows.

In this case the CMF packages all have the following in their setup.py:

setup_requires=['eggtestinfo',],

It seems setup requirements (compared to the usual install
requirements) aren't put into the buildout download cache.

Hanno
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] Problem with offline buildout

2010-01-21 Thread Charlie Clark
Am 20.01.2010, 16:44 Uhr, schrieb Raphael Ritz  
:

> Depending on what you mean by "complete download cache" and whether
> or not you are using 'extends' for some version pinning (or the like)
> it may help to add an 'extends-cache' setting to your buildout cache
> and/or make sure you use zc.buildout 1.4.1 (or higher).

Thanks for that tip which does allow me to do without copying the Zope 2  
versions.cfg but unfortunately doesn't solve this problem. But maybe I  
need to peg my buildout to my downloaded CMF?

Charlie
-- 
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] Problem with offline buildout

2010-01-21 Thread Charlie Clark
Am 20.01.2010, 17:47 Uhr, schrieb Hanno Schlichting :

> I think you've run into a Windows specific problem with
> case-sensitivity. The requirement should be called "Products.CMFCore",
> which would also be in the download cache. But something is turning
> that into an all lower-case "products.cmfcore". I suspect that the
> filesystem might not be case-sensitive and something does an
> os.listdir call or similar.
> I've seen the same behavior of all-lowercase names on my Windows 7
> test machine. I'd suspect it's not just a single place but quite a
> number of them that are affected by this.

It would be nice if that was the case but I get the same problem on OS X:

"""
We have no distributions for Products.CMFCore that satisfies  
'Products.CMFCore'.
Getting distribution for 'Products.CMFCore'.
Running easy_install:
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python
  
"-c" "from setuptools.command.easy_install import main; main()" "-mUNxd"  
"/Users/charlieclark/Sites/zurich/eggs/tmpegx0OT" "-q"  
"/Users/charlieclark/Sites/zurich/downloads/dist/Products.CMFCore-2.2.0.tar.gz"
path=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages


Download error: [Errno 8] nodename nor servname provided, or not known --  
Some packages may not be found!
Couldn't find index page for 'eggtestinfo' (maybe misspelled?)
"""

setuptools wants to check something online even thought it has everything  
it needs.

Charlie
-- 
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] Problem with offline buildout

2010-01-20 Thread Hanno Schlichting
On Wed, Jan 20, 2010 at 2:56 PM, Charlie Clark  wrote:
> I'm testing deploying a current project using buildout's offline mode. I
> have a complete download cache but I'm still getting errors:
>
> "We have no distributions for products.cmfcore that satisfies
> 'products.cmfcore'."

I think you've run into a Windows specific problem with
case-sensitivity. The requirement should be called "Products.CMFCore",
which would also be in the download cache. But something is turning
that into an all lower-case "products.cmfcore". I suspect that the
filesystem might not be case-sensitive and something does an
os.listdir call or similar.

I've seen the same behavior of all-lowercase names on my Windows 7
test machine. I'd suspect it's not just a single place but quite a
number of them that are affected by this.

Hanno
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] Problem with offline buildout

2010-01-20 Thread Raphael Ritz
Charlie Clark wrote:
> Hi,

Hi Charlie,

> 
> I'm testing deploying a current project using buildout's offline mode. I  
> have a complete download cache but I'm still getting errors:
> 
> "We have no distributions for products.cmfcore that satisfies  
> 'products.cmfcore'."
> 
> Neither this nor the subsequent traceback give much of a clue as to  
> exactly what is needed to satisfy the constraint. Any ideas?

Depending on what you mean by "complete download cache" and whether
or not you are using 'extends' for some version pinning (or the like)
it may help to add an 'extends-cache' setting to your buildout cache
and/or make sure you use zc.buildout 1.4.1 (or higher).

That's at least how I understand
 
http://manage.plone.org/documentation/manual/developer-manual/managing-projects-with-buildout/creating-a-buildout-defaults-file

HTH

Raphael


> 
> Charlie

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


[Zope-CMF] Problem with offline buildout

2010-01-20 Thread Charlie Clark
Hi,

I'm testing deploying a current project using buildout's offline mode. I  
have a complete download cache but I'm still getting errors:

"We have no distributions for products.cmfcore that satisfies  
'products.cmfcore'."

Neither this nor the subsequent traceback give much of a clue as to  
exactly what is needed to satisfy the constraint. Any ideas?

Charlie
-- 
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests