Please login or register to participate.
.
 
Rating
0
Last workflowed by romasha
Jun 01, 2010 11:39 AM
+

offray Problems with My second instance of Zope/Cynin I got the error 'No traversable adapter found'. This is the full output:

('No traversable adapter found', {'extension_profiles': ({'product': 'Collage', 'description': 'Profile for Collage', 'for': , 'title': 'Collage', 'version': '1.1', 'path': 'profiles/default', 'type': 2, 'id': 'Collage:default'}, {'product': 'kupu', 'description': 'Extension profile for Kupu', 'for': , 'title': 'Kupu', 'version': u'1.4.15', 'path': 'plone/profiles/default', 'type': 2, 'id': 'kupu:default'}), 'args': (), 'base_profiles': (), 'default_profile': 'Products.CMFPlone:plone'})

I see from [1]_ that is related with setuptools.

.. [1]
http://lists.plone.org/[…]/002925.html

When I made the part of the installation instructions related with setuptools this was what I got:

# python2.4 ez_setup.py
Setuptools version 0.6c9 or greater has been installed.
(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)
[root@li128-154 3.1]# easy_install-2.4 virtualenv
Searching for virtualenv
Best match: virtualenv 1.4.5
Processing virtualenv-1.4.5-py2.4.egg
virtualenv 1.4.5 is already the active version in easy-install.pth
Installing virtualenv script to /usr/bin

Using /usr/lib/python2.4/site-packages/virtualenv-1.4.5-py2.4.egg
Processing dependencies for virtualenv
Finished processing dependencies for virtualenv

I suppose this was because virtualenv was already installed from my previous zope/cynin installation. But this was the only part that was different from the previous one. After that all was fine and I got similar outputs, but now I just can add another Plone site to my new Zope server. This is ahead of my comprehension right now, so please, any help would be appreciated.

Rating
0
Last discussed by offray
Apr 07, 2010 05:31 PM
Rating
+1
Last workflowed by romasha
Apr 04, 2010 10:44 AM
+

robert123 Hi Cynapse,

Can someone tell me please how the below AttributeError can be solved? Thanks in advance.


Traceback (most recent call last):
  File "/tets/site/parts/zope2/lib/python/OFS/SimpleItem.py", line 227, in raise_standardErrorMessage
    v = s(**kwargs)
  File "/tets/site/eggs/Products.CMFCore-2.1.2-py2.4.egg/Products/CMFCore/FSPythonScript.py", line 140, in __call__
    return Script.__call__(self, *args, **kw)
  File "/tets/site/parts/zope2/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tets/site/parts/zope2/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tets/site/eggs/Products.CMFCore-2.1.2-py2.4.egg/Products/CMFCore/FSPythonScript.py", line 196, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 34, in standard_error_message
  File "/tets/site/parts/zope2/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tets/site/parts/zope2/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tets/site/eggs/Products.CMFCore-2.1.2-py2.4.egg/Products/CMFCore/FSPageTemplate.py", line 216, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/tets/site/products/CacheSetup/patch_cmf.py", line 28, in FSPT_pt_render
    return call_pattern(self, 'pt_render', '__CacheSetup_FSPageTemplate_%s__', source, extra_context)
  File "/tets/site/products/CacheSetup/patch_utils.py", line 9, in call_pattern
    return getattr(self, pattern % __name__)(*args, **kw)
  File "/tets/site/eggs/Products.CMFCore-2.1.2-py2.4.egg/Products/CMFCore/FSPageTemplate.py", line 155, in pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File "/tets/site/products/CacheSetup/patch_cmf.py", line 74, in PT_pt_render
    return call_pattern(self, 'pt_render', '__CacheSetup_PageTemplate_%s__', source, extra_context)
  File "/tets/site/products/CacheSetup/patch_utils.py", line 9, in call_pattern
    return getattr(self, pattern % __name__)(*args, **kw)
  File "/tets/site/parts/zope2/lib/python/Products/PageTemplates/PageTemplate.py", line 98, in pt_render
    showtal=showtal)
  File "/tets/site/parts/zope2/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
    self.interpret(macro)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
    self.interpret(block)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 855, in do_condition
    self.interpret(block)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 534, in do_optTag_tal
    self.no_tag(stuff[-2], stuff[-1])
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/tets/site/parts/zope2/lib/python/zope/tal/talinterpreter.py", line 745, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/tets/site/parts/zope2/lib/python/Products/PageTemplates/Expressions.py", line 223, in evaluateStructure
    text = super(ZopeContext, self).evaluateStructure(expr)
  File "/tets/site/parts/zope2/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/tets/site/parts/zope2/lib/python/Products/Five/browser/providerexpression.py", line 34, in __call__
    provider.update()
  File "/tets/site/parts/zope2/lib/python/zope/viewlet/manager.py", line 104, in update
    [viewlet.update() for viewlet in self.viewlets]
  File "/tets/site/src/ubify.viewlets/ubify/viewlets/browser/adddiscussion.py", line 82, in update
    self.contextuid = objRoot.UID()
AttributeError: UID

Rating
0
Last discussed by robert123
Apr 02, 2010 12:58 PM
 
Loading