[Silva-general] SilvaLayout problem
Jon Bowlas
j.bowlas at ucl.ac.uk
Thu Mar 15 13:23:07 CET 2007
Hi All,
We're having trouble getting the SilvaLayoutTemplate example of SilvaLayout
working as a Zope product. We can install this product successfully without
returning any errors however when we attempt to enter the SMI we get the
following typeerror:
Traceback (innermost last):
Module ZPublisher.Publish, line 114, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module Products.SilvaViews.ViewRegistry, line 156, in index_html
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.FileSystemSite.FSPageTemplate, line 195, in _exec
Module Products.FileSystemSite.FSPageTemplate, line 134, in pt_render
Module Products.PageTemplates.PageTemplate, line 104, in pt_render
- <FSPageTemplate at /silva/service_views/Silva/edit/Container/tab_edit
used for /silva/service_views/Silva/edit/Container/Publication>
Module TAL.TALInterpreter, line 206, in __call__
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 424, in do_optTag_tal
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 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 595, in do_insertTranslation
Module TAL.TALInterpreter, line 663, in translate
Module Products.PageTemplates.TALES, line 261, in translate
Module Products.Five.i18n, line 54, in translate
Module zope.i18n.translationdomain, line 77, in translate
Module zope.i18n.negotiator, line 40, in getLanguage
Module zope.interface.interface, line 682, in __call__
TypeError: ('Could not adapt', <HTTPRequest,
URL=http://localhost:8090/silva/edit/index_html>, <InterfaceClass
zope.i18n.interfaces.IUserPreferredLanguages>)
Hope someone can help as we'd really like to utilise this product.
Jon
More information about the Silva-general
mailing list