[Zope] ZopeXMLMethods and Pyana in 2.7.3

Kees de Brabander cj.de.brabander at hccnet.nl
Tue Nov 2 14:13:14 EST 2004


Hi
I'm using ZopeXMLMethods (1-0-0) and Pyana (0.9.1), operating system:
different versions of Windows. Somewhere between Zope 2.7.0 and 2.7.3
something appears to be broken. When I try to add a XSLT Method, being
logged in as administrator, I am forced to authenticate again, which fails
of course with an Unauthorized error. Happens both on windows XP and
Windows98SE.
Traceback below. Any clue?
tia Cornelis J. de Brabander
Traceback (innermost last):

  a.. Module ZPublisher.Publish, line 175, in publish_module_standard
  b.. Module ZPublisher.Publish, line 132, in publish
  c.. Module Zope.App.startup, line 204, in zpublisher_exception_hook
  d.. Module ZPublisher.Publish, line 101, in publish
  e.. Module ZPublisher.mapply, line 88, in mapply
  f.. Module ZPublisher.Publish, line 39, in call_object
  g.. Module Shared.DC.Scripts.Bindings, line 306, in __call__
  h.. Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  i.. Module Products.PageTemplates.PageTemplateFile, line 106, in _exec
  j.. Module Products.PageTemplates.PageTemplate, line 96, in pt_render
  <PageTemplateFile at /cursus01/kwigi/create>
  k.. Module TAL.TALInterpreter, line 190, in __call__
  l.. Module TAL.TALInterpreter, line 234, in interpret
  m.. Module TAL.TALInterpreter, line 611, in do_loop_tal
  n.. Module Products.PageTemplates.TALES, line 206, in setRepeat
  o.. Module Products.PageTemplates.TALES, line 221, in evaluate
  URL: create
  Line 70, Column 6
  Expression: standard:'here/availableProcessors'
  Names:
{'container': <__FactoryDispatcher__ instance at 01EC0CB0>,
 'context': <__FactoryDispatcher__ instance at 01EC0CB0>,
 'default': <Products.PageTemplates.TALES.Default instance at 0x01E91EE0>,
 'here': <__FactoryDispatcher__ instance at 01EC0CB0>,
 'loop': <SafeMapping instance at 01EC0C60>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x01E89AF8>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at 01EC0C60>,
 'request': <HTTPRequest,
URL=http://localhost:8080/cursus01/kwigi/manage_addProduct/ZopeXMLMethods/cr
eate>,
 'root': <Application instance at 023B21D0>,
 'template': <PageTemplateFile at /cursus01/kwigi/create>,
 'traverse_subpath': [],
 'user': admin}p.. Module Products.PageTemplates.Expressions, line 201, in
__call__
  q.. Module Products.PageTemplates.Expressions, line 189, in _eval
  r.. Module Products.PageTemplates.Expressions, line 145, in _eval
  __traceback_info__: here
  s.. Module Products.PageTemplates.Expressions, line 340, in
restrictedTraverse
  __traceback_info__: {'path': ['availableProcessors'],
'TraversalRequestNameStack': []}
Unauthorized: You are not allowed to access 'availableProcessors' in this
context (Also, an error occurred while attempting to render the standard
error message.)



More information about the Zope mailing list