|
List Info
Thread: Installing Plone 3.0.2 with buildout
|
|
| Installing Plone 3.0.2 with buildout |

|
2007-10-23 16:35:55 |
|
Hi all,
I9;m installing Plone 3 on OS X using buildout. I follow the usual steps:
easy_install ZopeSkel paster create -t plone3_buildout blah cd blah python bootstrap.py ./bin/buildout (wait...wait..wait...finished!)
./bin/instance fg
I visit the ZMI, and when I try to add a "Plone Site" to the root I get the following error:
('No traversable adapter found', {'extension_profiles': ({'product':
'kupu', 'description': 'Extension profile for Kupu', 'for39;: ,
'title': 'Kupu', 'version': 'kupu 1.4.3', 'path':
';plone/profiles/default', 'type': 2, 'id9;: 'kupu:default';},), 'args':
(), 'base_profiles9;: (), 'default_profile': 'Products.CMFPlone:plone';})
python -V tells me that I have version 2.4.4. PIL and setuptools are installed.
Is anybody having the same problem? Am I missing something?
Regards,
Juan Pablo
-- Powered by tofu
|
| Re: Installing Plone 3.0.2 with
buildout |

|
2007-10-23 16:41:49 |
Juan Pablo Di Lelle wrote:
> Hi all,
>
> I'm installing Plone 3 on OS X using buildout. I follow
the usual steps:
>
> easy_install ZopeSkel
> paster create -t plone3_buildout blah
> cd blah
> python bootstrap.py
> ./bin/buildout
> (wait...wait..wait...finished!)
> ./bin/instance fg
>
> I visit the ZMI, and when I try to add a "Plone
Site" to the root I get
> the following error:
>
> ('No traversable adapter found', {'extension_profiles':
({'product':
> 'kupu', 'description': 'Extension profile for Kupu',
'for': , 'title':
> 'Kupu', 'version': 'kupu 1.4.3', 'path':
'plone/profiles/default',
> 'type': 2, 'id': 'kupu:default'},), 'args': (),
'base_profiles': (),
> 'default_profile': 'Products.CMFPlone:plone'})
>
> python -V tells me that I have version 2.4.4. PIL and
setuptools are
> installed.
>
> Is anybody having the same problem? Am I missing
something?
Did you by any chance choose some extension profile when
creating the
new Plone site, or is it a standard site?
If you did, try without.
Martin
--
Author of `Professional Plone Development`, a book for
developers who
want to work with Plone. See http://martinaspel
i.net/plone-book
_______________________________________________
Setup mailing list
Setup lists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
|
|
| Re: Re: Installing Plone 3.0.2 with
buildout |

|
2007-10-23 17:17:01 |
|
It's a standard site.
On 10/23/07, Martin Aspeli < optilude gmx.net">optilude gmx.net> wrote:
Did you by any chance choose some extension profile when creating the new Plone site, or is it a standard site?
|
| Re: Re: Installing Plone 3.0.2 with
buildout |

|
2007-10-23 20:17:45 |
|
The error actually happens before I get a chance to see addPloneSiteForm (i.e. before I get the chance of choosing an extension profile). Any suggestions?
On 10/23/07,
Juan Pablo Di Lelle < jdilelle gmail.com">jdilelle gmail.com> wrote:
It's a standard site.
On 10/23/07, Martin Aspeli < optilude gmx.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
optilude gmx.net> wrote:
Did you by any chance choose some extension profile when creating the new Plone site, or is it a standard site?
-- Powered by tofu
|
| Re: Re: Installing Plone 3.0.2 with
buildout |

|
2007-10-23 21:49:25 |
Hi all,
Running ./bin/instance fg gives me the following warnings:
/Users/juan/myproject/eggs/five.localsitemanager-0.2-py2.4.e
gg/five/__init__.py:3:
UserWarning: Module pytz was already imported from
/Users/juan/myproject/parts/zope2/lib/python/pytz/__init__.p
yc, but
/Library/Frameworks/Python.framework/Versions/2.4/lib/python
2.4/site-packages/pytz-2005r-py2.4.egg
is being added to sys.path
__import__('pkg_resources').declare_namespace(__name__)
/Users/juan/myproject/eggs/five.localsitemanager-0.2-py2.4.e
gg/five/__init__.py:3:
UserWarning: Module transaction was already imported from
/Users/juan/myproject/parts/zope2/lib/python/transaction/__i
nit__.pyc,
but
/Library/Frameworks/Python.framework/Versions/2.4/lib/python
2.4/site-packages/ZODB3-3.9.0_dev_r77011-py2.4-macosx-10.3-f
at.egg
is being added to sys.path
__import__('pkg_resources').declare_namespace(__name__)
...
And instance.log reports the following (I should have
scrolled higher up :
------
2007-10-23T22:28:52 ERROR Application Couldn't install Five
Traceback (most recent call last):
File
"/Users/juan/myproject/parts/zope2/lib/python/OFS/Appli
cation.py",
line 785, in install_product
initmethod(context)
File
"/Users/juan/myproject/parts/zope2/lib/python/Products/
Five/__init__.py",
line 28, in initialize
zcml.load_site()
File
"/Users/juan/myproject/parts/zope2/lib/python/Products/
Five/zcml.py",
line 53, in load_site
_context = xmlconfig.file(file)
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/xmlconfig.py",
line 579, in file
include(context, name, package)
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/xmlconfig.py",
line 370, in processxmlfile
parser.parse(src)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/expatreader.py",
line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/xmlreader.py",
line 123, in parse
self.feed(buffer)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/expatreader.py",
line 207, in feed
self._parser.Parse(data, isFinal)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/expatreader.py",
line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/config.py",
line 544, in end
self.stack.pop().finish()
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/config.py",
line 692, in finish
actions = self.handler(context, **args)
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/xmlconfig.py",
line 370, in processxmlfile
parser.parse(src)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/expatreader.py",
line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/xmlreader.py",
line 123, in parse
self.feed(buffer)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/expatreader.py",
line 207, in feed
self._parser.Parse(data, isFinal)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/expatreader.py",
line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/config.py",
line 544, in end
self.stack.pop().finish()
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/config.py",
line 692, in finish
actions = self.handler(context, **args)
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/xmlconfig.py",
line 370, in processxmlfile
parser.parse(src)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/expatreader.py",
line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/xmlreader.py",
line 123, in parse
self.feed(buffer)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/expatreader.py",
line 207, in feed
self._parser.Parse(data, isFinal)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/xml/sax/expatreader.py",
line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/config.py",
line 544, in end
self.stack.pop().finish()
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/conf
iguration/config.py",
line 692, in finish
actions = self.handler(context, **args)
File
"/Users/juan/myproject/parts/zope2/lib/python/zope/i18n
/zcml.py",
line 46, in registerTranslations
for language in os.listdir(path):
ZopeXMLConfigurationError: File
"/Users/juan/myproject/parts/instance/etc/site.zcml&quo
t;, line 5.2-5.37
ZopeXMLConfigurationError: File
"/Users/juan/myproject/parts/zope2/lib/python/Products/
Five/configure.zcml",
line 6.2-6.30
ZopeXMLConfigurationError: File
"/Users/juan/myproject/parts/zope2/lib/python/Products/
Five/i18n.zcml",
line 24.4-24.52
OSError: [Errno 2] No such file or directory:
'/Library/Frameworks/Python.framework/Versions/2.4/lib/pytho
n2.4/site-packages/zope.app.http-
3.4.0a1-py2.4.egg/zope/app/locales'
------
I verified that setuptools is properly installed:
$ easy_install setuptools
Searching for setuptools
Best match: setuptools 0.6c7
Processing setuptools-0.6c7-py2.4.egg
setuptools 0.6c7 is already the active version in
easy-install.pth
...
Am I missing something?
Regards,
Juan Pablo
_______________________________________________
Setup mailing list
Setup lists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
|
|
| Re: Re: Installing Plone 3.0.2 with
buildout |

|
2007-10-24 13:19:53 |
Hi all,
I decided to start from scratch and install all the
dependencies, this
time using macports. I still get the same error messages
when
installing 3.0.2 with buildout.
I also noticed this ticket: http://dev.plo
ne.org/plone/ticket/7239 set
to invalid, without feedback from the original submitter,
mentioning
the same problem I'm witnessing.
Finally, I decided to use the Unified Installer instead of a
buildout,
and everything worked fine, which is a bit sad as I was
getting
excited about the possibilities that buildout offer.
If anybody has a clue of what I'm missing or doing wrong, I
would be
glad to try to help sorting this out. For the moment, I'm
out of
ideas.
Thanks a lot and sorry for the noise.
_______________________________________________
Setup mailing list
Setup lists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
|
|
| Re: Re: Installing Plone 3.0.2 with
buildout |

|
2007-10-24 13:48:52 |
Hi,
Juan Pablo Di Lelle a écrit :
>Hi all,
>
>I decided to start from scratch and install all the
dependencies, this
>time using macports. I still get the same error messages
when
>installing 3.0.2 with buildout.
>
>I also noticed this ticket: http://dev.plo
ne.org/plone/ticket/7239 set
>to invalid, without feedback from the original
submitter, mentioning
>the same problem I'm witnessing.
>
>
Got the same prob. Found that ticket too, saying that the
prob is cause
because PIL is missing.
You have to install few thing on your Mac before starting
the process of
installing Zope / Plone from sources or with unified
installer.
Look at this page :
https://weblion.psu.edu/trac/weblion/wiki/InstallPlo
neOnMac. I follow
the first steps untill PIL installation then proceed with
the unified
installer and its how-to :
http://plone.org/documentat
ion/tutorial/installing-plone-3-with-the-unified-installer
a>
I hope it will help
--
*Christophe Bélanger*
Vice-président, développement des affaires
Téléphone : +1 514 448-2650
cbelanger webconforme.com
*WebConforme
*
1751 rue Richardson, bureau 3.501
Montréal (Québec) H3K 1G6
http://www.webconforme.com
_______________________________________________
Setup mailing list
Setup lists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
|
|
[1-7]
|
|