Dear Maurits,
Thank you very much for your help.
>From the error log you pasted I would think that these two are not
installed correctly. You can run the python interpreter that is used
for your zope and and try "import dateutil" and "import simplejson"
there. If one of those fails with an ImportError, then you have used
the wrong easy_install.
Yes. I had used the wrong easy_install. I followed the instructions you
pointed to and installed the dependancies properly. I also coppied the code
into the directories you sugested ... now most of the errors have
disappeared...
On examining the log I guess that this is the part that suggests a
solution...
---
The following error occurred while trying to extract file(s) to the Python
egg
cache:
[Errno 13] Permission denied:
'/root/.python-eggs/ssl_for_setuptools-1.10-py2.4-linux-i686.egg-tmp'
The Python egg cache directory is currently set to:
/root/.python-eggs
Perhaps your account does not have write access to this directory? You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.
---
I am guessing that I should probably change the cache directory, as opposed
to changing permissions. If so, how can I do that? But I'm not sure if this
is the solution to the problem... What do you suggest? I've attached the
instance.log below.
Best wishes,
Thanks again,
Tony
------
2008-08-04T17:12:08 INFO ZServer HTTP server started at Mon Aug 4 17:12:08
2008
Hostname: 0.0.0.0
Port: 8101
------
2008-08-04T17:12:08 INFO Zope Set effective user to "plone"
------
2008-08-04T17:12:15 ERROR Five Could not import Product
Products.PloneGetPaid
Traceback (most recent call last):
File
"/plone/shop/production/parts/zope2/lib/python/Products/Five/fiveconfigure.py",
line 76, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 370, in processxmlfile
parser.parse(src)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/expatreader.py", line
107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/xmlreader.py", line
123, in parse
self.feed(buffer)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/expatreader.py", line
207, in feed
self._parser.Parse(data, isFinal)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/expatreader.py", line
348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/config.py",
line 544, in end
self.stack.pop().finish()
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/config.py",
line 692, in finish
actions = self.handler(context, **args)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 370, in processxmlfile
parser.parse(src)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/expatreader.py", line
107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/xmlreader.py", line
123, in parse
self.feed(buffer)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/expatreader.py", line
207, in feed
self._parser.Parse(data, isFinal)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/expatreader.py", line
348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/config.py",
line 544, in end
self.stack.pop().finish()
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/config.py",
line 692, in finish
actions = self.handler(context, **args)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 370, in processxmlfile
parser.parse(src)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/expatreader.py", line
107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/xmlreader.py", line
123, in parse
self.feed(buffer)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/expatreader.py", line
207, in feed
self._parser.Parse(data, isFinal)
File "/plone/shop/Python-2.4/lib/python2.4/xml/sax/expatreader.py", line
348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/config.py",
line 544, in end
self.stack.pop().finish()
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/config.py",
line 691, in finish
args = toargs(context, *self.argdata)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/config.py",
line 1383, in toargs
args[str(name)] = field.fromUnicode(s)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/fields.py",
line 229, in fromUnicode
v = vt.fromUnicode(s)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/fields.py",
line 139, in fromUnicode
value = self.context.resolve(name)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/config.py",
line 184, in resolve
mod = __import__(mname, *_import_chickens)
File
"/plone/shop/production/parts/instance/lib/python/getpaid/paymentech/paymentech.py",
line 9, in ?
import zc.ssl
File
"/plone/shop/Python-2.4/lib/python2.4/site-packages/zc.ssl-1.1-py2.4.egg/zc/ssl/__init__.py",
line 10, in ?
import ssl
File "build/bdist.linux-i686/egg/ssl/__init__.py", line 60, in ?
File "build/bdist.linux-i686/egg/ssl/_ssl2.py", line 7, in ?
File "build/bdist.linux-i686/egg/ssl/_ssl2.py", line 4, in __bootstrap__
File
"/home/steve/Plone-3.0-buildout/buildout-cache/eggs/setuptools-0.6c8-py2.4.egg/pkg_resources.py",
line 840, in resource_filename
return get_provider(package_or_requirement).get_resource_filename(
File
"/home/steve/Plone-3.0-buildout/buildout-cache/eggs/setuptools-0.6c8-py2.4.egg/pkg_resources.py",
line 1311, in get_resource_filename
return self._extract_resource(manager, zip_path)
File
"/home/steve/Plone-3.0-buildout/buildout-cache/eggs/setuptools-0.6c8-py2.4.egg/pkg_resources.py",
line 1331, in _extract_resource
real_path = manager.get_cache_path(
File
"/home/steve/Plone-3.0-buildout/buildout-cache/eggs/setuptools-0.6c8-py2.4.egg/pkg_resources.py",
line 921, in get_cache_path
self.extraction_error()
File
"/home/steve/Plone-3.0-buildout/buildout-cache/eggs/setuptools-0.6c8-py2.4.egg/pkg_resources.py",
line 887, in extraction_error
raise err
ZopeXMLConfigurationError: File
"/plone/shop/production/products/PloneGetPaid/configure.zcml", line
65.0-65.31
ZopeXMLConfigurationError: File
"/plone/shop/production/products/PloneGetPaid/plugins.zcml", line 27.0-28.33
ZopeXMLConfigurationError: File
"/plone/shop/production/parts/instance/lib/python/getpaid/paymentech/configure.zcml",
line 10.2-15.7
ExtractionError: Can't extract file(s) to egg cache
The following error occurred while trying to extract file(s) to the Python
egg
cache:
[Errno 13] Permission denied:
'/root/.python-eggs/ssl_for_setuptools-1.10-py2.4-linux-i686.egg-tmp'
The Python egg cache directory is currently set to:
/root/.python-eggs
Perhaps your account does not have write access to this directory? You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.
------
2008-08-04T17:12:15 ERROR Application Couldn't install Five
Traceback (most recent call last):
File "/plone/shop/production/parts/zope2/lib/python/OFS/Application.py",
line 786, in install_product
initmethod(context)
File
"/plone/shop/production/parts/zope2/lib/python/Products/Five/__init__.py",
line 28, in initialize
zcml.load_site()
File "/plone/shop/production/parts/zope2/lib/python/Products/Five/zcml.py",
line 53, in load_site
_context = xmlconfig.file(file)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 579, in file
include(context, name, package)
File
"/plone/shop/production/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 517, in include
assert _context.stack[-1].context is context
AssertionError
------
2008-08-04T17:12:18 INFO Zope Ready to handle requests
------
2008-08-04T17:13:11 ERROR Zope.SiteErrorLog
http://xl.one.ie:8101/manage_addProduct/CMFPlone/addPloneSiteForm
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFPlone.factory, line 68, in addPloneSiteForm
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
Module Products.PageTemplates.PageTemplate, line 89, in pt_render
Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 854, in do_condition
Module Products.PageTemplates.Expressions, line 211, in evaluateBoolean
Module zope.tales.tales, line 696, in evaluate
- URL: addSite
- Line 62, Column 4
- Expression: <PathExpr standard:'options/extension_profiles'>
- Names:
{'container': <App.ProductContext.__FactoryDispatcher__ object at
0xc936cac>,
'context': <App.ProductContext.__FactoryDispatcher__ object at
0xc936cac>,
'default': ,
'here': <App.ProductContext.__FactoryDispatcher__ object at
0xc936cac>,
'loop': {},
'nothing': None,
'options': {'args': (),
'base_profiles': (),
'default_profile': 'Products.CMFPlone:plone',
'extension_profiles': ({'description': 'Extension profile
for Kupu',
'for': <InterfaceClass
Products.CMFPlone.interfaces.siteroot.IPloneSiteRoot>,
'id': 'kupu:default',
'path': 'plone/profiles/default',
'product': 'kupu',
'title': 'Kupu',
'type': 2,
'version': u'1.4.11'},)},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0xc9573ec>,
'request': <HTTPRequest,
URL=http://xl.one.ie:8101/manage_addProduct/CMFPlone/addPloneSiteForm>,
'root': <Application at >,
'template': <PageTemplateFile at /addSite>,
'user': <User 'admin'>}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 153, in _eval
Module zope.tales.expressions, line 124, in _eval
Module Products.PageTemplates.Expressions, line 83, in
boboAwareZopeTraverse
Module zope.traversing.adapters, line 161, in traversePathElement
- __traceback_info__: ({'extension_profiles': ({'product': 'kupu',
'description': 'Extension profile for Kupu', 'for': <InterfaceClass
Products.CMFPlone.interfaces.siteroot.IPloneSiteRoot>, 'ti
:
assert _context.stack[-1].context is context
AssertionError
------
2008-08-04T17:12:18 INFO Zope Ready to handle requests
------
2008-08-04T17:13:11 ERROR Zope.SiteErrorLog
http://xl.one.ie:8101/manage_addProduct/CMFPlone/addPloneSiteForm
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFPlone.factory, line 68, in addPloneSiteForm
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
Module Products.PageTemplates.PageTemplate, line 89, in pt_render
Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 854, in do_condition
Module Products.PageTemplates.Expressions, line 211, in evaluateBoolean
Module zope.tales.tales, line 696, in evaluate
- URL: addSite
- Line 62, Column 4
- Expression: <PathExpr standard:'options/extension_profiles'>
- Names:
{'container': <App.ProductContext.__FactoryDispatcher__ object at
0xc936cac>,
'context': <App.ProductContext.__FactoryDispatcher__ object at
0xc936cac>,
'default': ,
'here': <App.ProductContext.__FactoryDispatcher__ object at
0xc936cac>,
'loop': {},
'nothing': None,
'options': {'args': (),
'base_profiles': (),
'default_profile': 'Products.CMFPlone:plone',
'extension_profiles': ({'description': 'Extension profile
for Kupu',
'for': <InterfaceClass
Products.CMFPlone.interfaces.siteroot.IPloneSiteRoot>,
'id': 'kupu:default',
'path': 'plone/profiles/default',
'product': 'kupu',
'title': 'Kupu',
'type': 2,
'version': u'1.4.11'},)},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0xc9573ec>,
'request': <HTTPRequest,
URL=http://xl.one.ie:8101/manage_addProduct/CMFPlone/addPloneSiteForm>,
'root': <Application at >,
'template': <PageTemplateFile at /addSite>,
'user': <User 'admin'>}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 153, in _eval
Module zope.tales.expressions, line 124, in _eval
Module Products.PageTemplates.Expressions, line 83, in
boboAwareZopeTraverse
Module zope.traversing.adapters, line 161, in traversePathElement
- __traceback_info__: ({'extension_profiles': ({'product': 'kupu',
'description': 'Extension profile for Kupu', 'for': <InterfaceClass
Products.CMFPlone.interfaces.siteroot.IPloneSiteRoot>, 'ti
tle': 'Kupu', 'version': u'1.4.11', 'path': 'plone/profiles/default',
'type': 2, 'id': 'kupu:default'},), 'args': (), 'base_profiles': (),
'default_profile': 'Products.CMFPlone:plone'}, 'extension
_profiles')
TraversalError: ('No traversable adapter found', {'extension_profiles':
({'product': 'kupu', 'description': 'Extension profile for Kupu', 'for':
<InterfaceClass Products.CMFPlone.interfaces.sitero
ot.IPloneSiteRoot>, 'title': 'Kupu', 'version': u'1.4.11', 'path':
'plone/profiles/default', 'type': 2, 'id': 'kupu:default'},), 'args': (),
'base_profiles': (), 'default_profile': 'Products.CMFPl
one:plone'})
--
View this message in context:
http://n2.nabble.com/plonegetpaid-0.6.1-plone-3.14-No-traversable-adapter-found-tp666823p668212.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup