Please login or register to participate.
.
 
Rating
0
Last discussed by dhiraj
May 31, 2010 09:55 AM
Rating
+3
Last workflowed by dhiraj
Apr 24, 2010 11:51 PM
+

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
+

varunvjoshi Following queries need to be answered:
1. We do not want every user to add a file/space/wiki/audio rather only few should be given this privilege. Is it possible ?
2. How to create backup for entire cynapse ? (Backup of all files along with their links and abstract written)
3. How can sensitive information be managed only within few members from different departments? (I don't want one user in two groups)
4. How to keep a track on employees visiting portal/particular section of the portal so that according upgrades with respect to content can be made ? Is it possible to know which files are downloaded by employees ? (entire log)
5. How to block "Send This" link which is next to "subscribe by e-mail" in order to avoid knowledge loss. we do not want ALL the employee accessing the portal from external web. Only few can be given these rights.
6. Is it possible to paste codes available on internet and get display of end product? How to do it ? E.g. Crude oil cost which I submitted prior to this query post.
7. Can I add new blogpost in trial version ? It gives me error message when I try to do it
8. Once any file is uploaded on cyn.in, is it possible that the uploaded file will contain the same change as introduced by some user in the root file ? (say I load excel sheet on cyn.in, 2 days later I introduced some changes to the content and saved...will the new file be automatically taken by cyn.in ?
9. Is it possible to remove "Save as" option from the files which are uploaded on cyn.in?
10. Is it possible for us to have "Instant messaging" with cynapse ?

Thank You
Varun Joshi

Rating
0
Last workflowed by romasha
Mar 26, 2010 08:33 AM
 
Loading