RE: Problem with the OAI pack

"Luthiger Stoll, Benno" <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Thanks jw

> Solving this would be as simple as installing the 
> BTreeFolder2 Product (that's indeed a requirement for the OAI Pack.
After installing BTreeFolder2 I've been able to create the storage in the  OAIPMH Service.

> That should be documented somewhere. If this is not the case, we need fix that :)
At least it is documented now on this list ;-)

Unfortunately, I still got a render error when I try to preview the Silva OAI query (see traceback below).

Regards,
Benno

=====================
Traceback (innermost last):
  Module ZPublisher.Publish, line 101, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 39, in call_object
  Module Shared.DC.Scripts.Bindings, line 306, in __call__
  Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  Module Products.FileSystemSite.FSPageTemplate, line 191, in _exec
  Module Products.FileSystemSite.FSPageTemplate, line 124, in pt_render
  Module Products.PageTemplates.PageTemplate, line 96, in pt_render
   - <FSPageTemplate at /silva/service_views/Silva/edit/tab_preview used for /silva/service_views/SilvaOAI/edit/Content/SilvaOAIQuery>
  Module TAL.TALInterpreter, line 190, in __call__
  Module TAL.TALInterpreter, line 234, in interpret
  Module TAL.TALInterpreter, line 407, in do_optTag_tal
  Module TAL.TALInterpreter, line 389, in no_tag
  Module TAL.TALInterpreter, line 234, in interpret
  Module TAL.TALInterpreter, line 671, in do_useMacro
  Module TAL.TALInterpreter, line 234, in interpret
  Module TAL.TALInterpreter, line 694, in do_defineSlot
  Module TAL.TALInterpreter, line 234, in interpret
  Module TAL.TALInterpreter, line 407, in do_optTag_tal
  Module TAL.TALInterpreter, line 389, in no_tag
  Module TAL.TALInterpreter, line 234, in interpret
  Module TAL.TALInterpreter, line 569, in do_insertStructure_tal
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - Line 56, Column 2
   - Expression: standard:'model/preview'
   - Names:
      {'container': <DirectoryViewSurrogate instance at 06049830>,
       'context': <DirectoryViewSurrogate instance at 02AA6B60>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x01354EE0>,
       'here': <DirectoryViewSurrogate instance at 02AA6B60>,
       'loop': <SafeMapping instance at 029A8050>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x0134E0F8>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <SafeMapping instance at 029A8050>,
       'request': <HTTPRequest, URL=http://localhost:8085/silva/ETH/oai_new/edit/tab_preview>,
       'root': <Application instance at 026EF740>,
       'template': <FSPageTemplate at /silva/service_views/Silva/edit/tab_preview used for /silva/service_views/SilvaOAI/edit/Content/SilvaOAIQuery>,
       'traverse_subpath': [],
       'user': Luthiger}
  Module Products.PageTemplates.Expressions, line 201, in __call__
  Module Products.PageTemplates.Expressions, line 196, in _eval
  Module Products.PageTemplates.Expressions, line 103, in render
  Module Products.Silva.SilvaObject, line 304, in preview
  Module Products.Silva.SilvaObject, line 332, in view_version
AttributeError: render
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.