trouble with silvanews
Marc Petitmermet <[email protected]>
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <[email protected]> |
dear developers
you released silvanews within the Silva-1_2-extra-1.tgz package. the
package name suggests that the products of this package are compatible
with silva-1.2, meaning they are tested and approved. WRONG! the
package should have been named Silva-1_1-extra.tgz becaue silvanews is
not compatible with silva-1.2. as the error messages suggest it's due
to "public view directory layout changed due to some change in the way
we register views".
what's the quickest hack to fix this problem?
kind regards,
marc
Error Type: NoViewError
Error Value: no public view defined
see [1] for traceback
Exception Type AttributeError
Exception Value render
see [2] for traceback
[1] ------------------------------------------------
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.PythonScripts.PythonScript, line 323, in _exec
Module None, line 26, in index_html
- <PythonScript at /silva/index_html used for
/silva/ssb/general/news_events/1>
- Line 26
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.PageTemplates.ZopePageTemplate, line 222, in _exec
Module Products.PageTemplates.PageTemplate, line 96, in pt_render
- <ZopePageTemplate at /silva/ssb/content.html used for
/silva/ssb/general/news_events/1>
Module TAL.TALInterpreter, line 190, in __call__
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 702, in do_defineSlot
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
- URL: /silva/ssb/content.html
- Line 139, Column 12
- Expression: <PythonExpr getattr(here, view_method)()>
- Names:
{'container': <Silva Publication instance ssb>,
'context': <Silva Agenda Item instance 1>,
'default': <Products.PageTemplates.TALES.Default instance at
0x23f1fa8>,
'here': <Silva Agenda Item instance 1>,
'loop': <SafeMapping instance at 58154c0>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x23d8cd8>,
'nothing': None,
'options': {'args': (), 'view_method': 'view'},
'repeat': <SafeMapping instance at 58154c0>,
'request': <HTTPRequest,
URL=http://localhost:8080/silva/ssb/general/news_events/1/index_html>,
'root': <Application instance at 3392560>,
'template': <ZopePageTemplate at /silva/ssb/content.html used
for /silva/ssb/general/news_events/1>,
'traverse_subpath': [],
'user': admin}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: getattr(here, view_method)()
Module Python expression "getattr(here, view_method)()", line 1, in
<expression>
Module Products.Silva.VersionedContent, line 201, in view
Module Products.Silva.SilvaObject, line 313, in view
Module Products.Silva.SilvaObject, line 330, in view_version
NoViewError: no public view defined
[2] ------------------------------------------------
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.PythonScripts.PythonScript, line 323, in _exec
Module None, line 26, in index_html
- <PythonScript at /silva/index_html used for
/silva/ssb/general/meetings>
- Line 26
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.PageTemplates.ZopePageTemplate, line 222, in _exec
Module Products.PageTemplates.PageTemplate, line 96, in pt_render
- <ZopePageTemplate at /silva/ssb/content.html used for
/silva/ssb/general/meetings>
Module TAL.TALInterpreter, line 190, in __call__
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 702, in do_defineSlot
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
- URL: /silva/ssb/content.html
- Line 139, Column 12
- Expression: <PythonExpr getattr(here, view_method)()>
- Names:
{'container': <Silva Publication instance ssb>,
'context': <Silva Agenda Viewer instance meetings>,
'default': <Products.PageTemplates.TALES.Default instance at
0x23f1fa8>,
'here': <Silva Agenda Viewer instance meetings>,
'loop': <SafeMapping instance at 58153b0>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x23d8cd8>,
'nothing': None,
'options': {'args': (), 'view_method': 'view'},
'repeat': <SafeMapping instance at 58153b0>,
'request': <HTTPRequest,
URL=http://localhost:8080/silva/ssb/general/meetings/index_html>,
'root': <Application instance at 3392560>,
'template': <ZopePageTemplate at /silva/ssb/content.html used
for /silva/ssb/general/meetings>,
'traverse_subpath': [],
'user': admin}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: getattr(here, view_method)()
Module Python expression "getattr(here, view_method)()", line 1, in
<expression>
Module Products.Silva.SilvaObject, line 313, in view
Module Products.Silva.SilvaObject, line 332, in view_version
AttributeError: render