Hi All,

Sorry to posting to the dev list.  This should really be in a "users"
list but I haven't found one.

I followed the instructions at
http://plone.org/documentation/tutorial/install-plone-3-behind-apache-and-mod_wsgi-using-repoze
 to install repoze.plone.  One change I made is :

$ /path/to/sandbox/bin/easy_install -i http://dist.repoze.org/simple
repoze.plone

became

$ /path/to/sandbox/bin/easy_install -i
http://dist.repoze.org/plone/latest/simple repoze.plone

So I'm getting a more recent Plone version than Carlos' instructions.
Everything goes well up to the point of adding a Plone site through the
ZMI :

A problem occurred in a Python script. Here is the sequence of function
calls leading up to the error, in the order they occurred.

 
/home/yves/plonewsgi/lib/python2.4/site-packages/Paste-1.5-py2.4.egg/paste/cgitb_catcher.py
 in __call__(self=<paste.cgitb_catcher.CgitbMiddleware object>, 
environ={'CHANNEL_CREATION_TIME': '1215788566.13', 'CONNECTION_TYPE': 
'keep-alive', 'CONTENT_LENGTH': '78', 'CONTENT_TYPE': 
'application/x-www-form-urlencoded', 'GATEWAY_INTERFACE': 'CGI/1.1', 
'HTTP_ACCEPT': 
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 
'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 
'en-us,fr;q=0.8,fr-fr;q=0.5,en;q=0.3', 'HTTP_COOKIE': 
'tree-s="eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEXWFyRrxpUIBHoAARkP6w"', 
...}, start_response=<function start_response>)

etc.

Console output :

2008-07-11T11:03:55 INFO Archetypes Could not find the marshaller tool.
It might not be installed or you might not be providing enough context
to find it.

2008-07-11 11:03:55 INFO Archetypes Could not find the marshaller tool.
It might not be installed or you might not be providing enough context
to find it.

------
2008-07-11T11:03:55 INFO GenericSetup.portlets Portlets imported
2008-07-11 11:03:55 INFO GenericSetup.portlets Portlets imported
------
2008-07-11T11:03:55 ERROR GenericSetup Unknown step in dependency chain:
u'profile-plone.protect:default'
2008-07-11 11:03:55 ERROR GenericSetup Unknown step in dependency chain:
u'profile-plone.protect:default'
Traceback (most recent call last):
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/repoze.errorlog-0.7-py2.4.egg/repoze/errorlog/__init__.py",
 line 85, in __call__
    return self.application(environ, start_response)
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/repoze.obob-0.4-py2.4.egg/repoze/obob/publisher.py",
 line 176, in __call__
    status, headers, body_iter = helper.handle_exception(exc_info)
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/repoze.obob-0.4-py2.4.egg/repoze/obob/publisher.py",
 line 170, in __call__
    result = helper.invoke(published)
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/repoze.zope2-0.4.6-py2.4.egg/repoze/zope2/z2bob.py",
 line 444, in invoke
    bind=1)
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/repoze.zope2-0.4.6-py2.4.egg/repoze/zope2/mapply.py",
 line 96, in mapply
    else: return object(*args)
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/ploneproducts-3.1.2-py2.4.egg/Products/CMFPlone/factory.py",
 line 85, in addPloneSite
    setup_tool.runAllImportStepsFromProfile('profile-%s' % profile_id)
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/Products.GenericSetup-1.4.0-py2.4.egg/Products/GenericSetup/tool.py",
 line 390, in runAllImportStepsFromProfile
    ignore_dependencies=ignore_dependencies)
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/Products.GenericSetup-1.4.0-py2.4.egg/Products/GenericSetup/tool.py",
 line 1179, in _runImportStepsFromContext
    message = self._doRunImportStep(step, context)
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/Products.GenericSetup-1.4.0-py2.4.egg/Products/GenericSetup/tool.py",
 line 1093, in _doRunImportStep
    return handler(context)
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/ploneproducts-3.1.2-py2.4.egg/Products/CMFPlone/setuphandlers.py",
 line 524, in importFinalSteps
    gen.installDependencies(site)
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/ploneproducts-3.1.2-py2.4.egg/Products/CMFPlone/setuphandlers.py",
 line 103, in installDependencies

st.runAllImportStepsFromProfile("profile-Products.CMFPlone:dependencies")
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/Products.GenericSetup-1.4.0-py2.4.egg/Products/GenericSetup/tool.py",
 line 390, in runAllImportStepsFromProfile
    ignore_dependencies=ignore_dependencies)
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/Products.GenericSetup-1.4.0-py2.4.egg/Products/GenericSetup/tool.py",
 line 1155, in _runImportStepsFromContext
    chain = self.getProfileDependencyChain( profile_id )
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/Products.GenericSetup-1.4.0-py2.4.egg/Products/GenericSetup/tool.py",
 line 1137, in getProfileDependencyChain
    chain.extend(self.getProfileDependencyChain( dependency, seen ))
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/Products.GenericSetup-1.4.0-py2.4.egg/Products/GenericSetup/tool.py",
 line 1135, in getProfileDependencyChain
    dependencies = self.getDependenciesForProfile( profile_id )
  File
"/home/yves/plonewsgi/lib/python2.4/site-packages/Products.GenericSetup-1.4.0-py2.4.egg/Products/GenericSetup/tool.py",
 line 911, in getDependenciesForProfile
    raise KeyError, profile_id
KeyError: u'profile-plone.protect:default'
------
2008-07-11T11:03:55 ERROR ZODB.Connection Shouldn't load state for 0x01
when the connection is closed

I guess this has sth to do with libxml2 not being on my system (Ubuntu
7.10).

Pointers appreciates,

Yves Moisan

_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to