[Pkg-zope-developers] Bug#352582: enabling external editor render plone-instance unusable

Stefano Zacchiroli zack at debian.org
Sun Feb 12 20:30:31 UTC 2006


Package: zope-externaleditor
Version: 0.9.1-2
Severity: grave

I just made a fresh installazion of the plone-site package.
Then I installe zope-externaleditor and enabled external editing in the
site-wide preferences. So far so good.

As the admin user I then enabled external editor in the user preferences and
accessing the plone home (URL: http://localhost:8081/plone) now gives the
attached tracebac.

This behaviour is reproducible trying again from scratch.

Cheers.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages zope-externaleditor depends on:
ii  python                        2.3.5-5    An interactive high-level object-o
ii  zope-common                   0.5.19     common settings and scripts for zo
ii  zope2.8                       2.8.5-1    Open Source Web Application Server

zope-externaleditor recommends no packages.

-- no debconf information
-------------- next part --------------

An error was encountered while publishing this resource.

AttributeError
Sorry, a site error occurred.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 187, in publish_module_standard
    * Module Products.PlacelessTranslationService.PatchStringIO, line 51, in new_publish
    * Module ZPublisher.Publish, line 144, in publish
    * Module Zope2.App.startup, line 216, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 113, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 195, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render
      <FSPageTemplate at /plone/document_view used for /plone/front-page>
    * Module TAL.TALInterpreter, line 206, in __call__
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 481, in do_setGlobal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:CMFPlone/skins/plone_templates/global_defines.pt
      Line 3, Column 0
      Expression: <PythonExpr portal.portal_actions.listFilteredActionsFor(here)>
      Names:

{'container': <PloneSite at /plone>,
 'context': <ATDocument at /plone/front-page>,
 'default': <Products.PageTemplates.TALES.Default instance at 0xb72b7d4c>,
 'here': <ATDocument at /plone/front-page>,
 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb3655a2c>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb72c9c4c>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb3655a2c>,
 'request': <HTTPRequest, URL=http://localhost:8081/plone/front-page/document_view>,
 'root': <Application at >,
 'template': <FSPageTemplate at /plone/document_view used for /plone/front-page>,
 'traverse_subpath': [],
 'user': admin}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: portal.portal_actions.listFilteredActionsFor(here)
    * Module Python expression "portal.portal_actions.listFilteredActionsFor(here)", line 1, in <expression>
    * Module Products.CMFPlone.ActionsTool, line 45, in listFilteredActionsFor
    * Module Products.CMFPlone.ActionsTool, line 33, in _getActions
    * Module Products.CMFCore.ActionProviderBase, line 107, in listActionInfos
    * Module Products.CMFCore.ActionInformation, line 87, in __getitem__
    * Module Products.CMFCore.ActionInformation, line 116, in _checkCondition
    * Module Products.CMFCore.ActionInformation, line 236, in testCondition
    * Module Products.CMFCore.Expression, line 44, in __call__
    * Module Products.PageTemplates.Expressions, line 185, in __call__
    * Module Products.PageTemplates.Expressions, line 180, in _eval
    * Module Products.PageTemplates.Expressions, line 77, in render
    * Module Products.PageTemplates.ZRPythonExpr, line 76, in call_with_ns
    * Module Products.CMFCore.FSPythonScript, line 103, in __render_with_namespace__
    * Module Shared.DC.Scripts.Bindings, line 325, in __render_with_namespace__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPythonScript, line 163, in _exec
    * Module None, line 25, in externalEditorEnabled
      <FSPythonScript at /plone/externalEditorEnabled used for /plone/front-page>
      Line 25

AttributeError: externalEditLink_ (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: externalEditLink_)

Troubleshooting Suggestions

    * The URL may be incorrect.
    * The parameters passed to this resource may be incorrect.
    * A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to error log.

If the error persists please contact the site maintainer. Thank you for your patience. 



More information about the Pkg-zope-developers mailing list