[Setup] Re: Installing Plone 3.0.2 with buildout
Juan Pablo Di Lelle
jdilelle at gmail.com
Wed Oct 24 02:49:25 UTC 2007
Hi all,
Running ./bin/instance fg gives me the following warnings:
/Users/juan/myproject/eggs/five.localsitemanager-0.2-py2.4.egg/five/__init__.py:3:
UserWarning: Module pytz was already imported from
/Users/juan/myproject/parts/zope2/lib/python/pytz/__init__.pyc, but
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.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.egg/five/__init__.py:3:
UserWarning: Module transaction was already imported from
/Users/juan/myproject/parts/zope2/lib/python/transaction/__init__.pyc,
but /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/ZODB3-3.9.0_dev_r77011-py2.4-macosx-10.3-fat.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/Application.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/configuration/xmlconfig.py",
line 579, in file
include(context, name, package)
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/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/configuration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/config.py",
line 544, in end
self.stack.pop().finish()
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/config.py",
line 692, in finish
actions = self.handler(context, **args)
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/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/configuration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/config.py",
line 544, in end
self.stack.pop().finish()
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/config.py",
line 692, in finish
actions = self.handler(context, **args)
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/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/configuration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/config.py",
line 544, in end
self.stack.pop().finish()
File "/Users/juan/myproject/parts/zope2/lib/python/zope/configuration/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", 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/python2.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
More information about the Setup
mailing list