silva 3.0, NotImplementedError

Yves Serrano <[email protected]> Thu, 21 Apr 2011 15:25:28 +0200
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Hi

I want to try out the state of the new editor with silva 3.0. =

Is it in a state that you can play around a bit?

I have run the buildout from https://svn.infrae.com/buildout/silva/trunk/ w=
ith the profile silva-development.cfg.
In the bootstrap I added "hosts-allow =3D *" to buildout.cfg, without it I =
get a lot of blocked hosts errors. =


Zope can be started but already on the public Zope start page I get the Err=
or NotImplementedError. The same happens =

on the silva root. I can login into the ZMI and do stuff. The public_view a=
nd the SMI doesn't work.
I tested it on OS X and Linux with python 2.7

Am I doing some thing wrong? Was this the right list for this issue, was no=
t sure if I should post it on silva-general?

Here are the full error logs

### Zope Start Page
2011-04-21T11:20:04 ERROR Zope.SiteErrorLog 1303377604.050.459471935003 htt=
p://localhost:8080/@@index.html
Traceback (innermost last):
 Module ZPublisher.Publish, line 126, in publish
 Module ZPublisher.mapply, line 77, in mapply
 Module ZPublisher.Publish, line 46, in call_object
 Module zeam.form.silva.form.zmi, line 53, in __call__
 Module zeam.form.base.form, line 318, in __call__
 Module zeam.form.base.form, line 111, in render
 Module five.grok.components, line 129, in render
 Module zope.pagetemplate.pagetemplate, line 113, in pt_render
 Module zope.tal.talinterpreter, line 271, in __call__
 Module zope.tal.talinterpreter, line 343, in interpret
 Module zope.tal.talinterpreter, line 376, in do_startEndTag
 Module zope.tal.talinterpreter, line 405, in do_startTag
 Module zope.tal.talinterpreter, line 482, in attrAction_tal
 Module Products.PageTemplates.Expressions, line 225, in evaluateText
 Module zope.tales.tales, line 696, in evaluate
  - URL: /Users/yserrano/env/py27-silva/silva_buildout/src/Products.Silva/P=
roducts/Silva/Root_templates/zopewelcomepage.pt
  - Line 6, Column 4
  - Expression: <PathExpr standard:u'view/static/welcome.css'>
  - Names:
     {'args': (),
      'container': <Application at >,
      'context': <Application at >,
      'default': <object object at 0x1002c3b60>,
      'here': <Application at >,
      'loop': {},
      'nothing': None,
      'options': {},
      'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0=
x108b01578>,
      'request': <HTTPRequest, URL=3Dhttp://localhost:8080/@@index.html>,
      'root': <Application at >,
      'target_language': 'en-us',
      'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateF=
ile object at 0x1094d3690>,
      'traverse_subpath': [],
      'user': <User 'admin'>,
      'view': <Products.Silva.Root.ZopeWelcomePage object at 0x10894fb10>,
      'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at=
 0x10894fc90>}
 Module zope.tales.expressions, line 217, in __call__
 Module Products.PageTemplates.Expressions, line 155, in _eval
 Module Products.PageTemplates.Expressions, line 117, in render
 Module silva.fanstatic.integration, line 51, in __str__
 Module fanstatic.core, line 616, in _not_implented_here
NotImplementedError: =

           This functionality is not implemented by objects of the DummyNee=
dedResources class.
           You probably want a NeededResources object.

### Silva Root
2011-04-21T11:20:43 ERROR Zope.SiteErrorLog 1303377643.070.875408950985 htt=
p://localhost:8080/silva/@@index.html
Traceback (innermost last):
 Module ZPublisher.Publish, line 126, in publish
 Module ZPublisher.mapply, line 77, in mapply
 Module ZPublisher.Publish, line 46, in call_object
 Module silva.core.views.views, line 73, in __call__
 Module infrae.layout.components, line 105, in __call__
  - Published class: silva.core.layout.default.MainPage
  - Object path: /silva
  - Object type: Silva Root
 Module infrae.layout.components, line 77, in __call__
 Module infrae.layout.components, line 70, in render
 Module infrae.layout.components, line 67, in _render_template
 Module five.grok.components, line 129, in render
 Module zope.pagetemplate.pagetemplate, line 113, in pt_render
 Module zope.tal.talinterpreter, line 271, in __call__
 Module zope.tal.talinterpreter, line 343, in interpret
 Module zope.tal.talinterpreter, line 531, in do_optTag_tal
 Module zope.tal.talinterpreter, line 513, in no_tag
 Module zope.tal.talinterpreter, line 343, in interpret
 Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
 Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
 Module zope.tales.tales, line 696, in evaluate
  - URL: /Users/yserrano/env/py27-silva/silva_buildout/src/silva.core.layou=
t/src/silva/core/layout/porto/porto_templates/mainlayout.pt
  - Line 23, Column 4
  - Expression: <StringExpr u'htmlheadinsert'>
  - Names:
     {'args': (),
      'container': <Root at /silva>,
      'context': <Root at /silva>,
      'default': <object object at 0x1002c3b60>,
      'here': <Root at /silva>,
      'layout': <silva.core.layout.porto.porto.MainLayout object at 0x108b5=
6550>,
      'loop': {},
      'nothing': None,
      'options': {},
      'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0=
x10896d470>,
      'request': <HTTPRequest, URL=3Dhttp://localhost:8080/silva/@@index.ht=
ml>,
      'root': <Application at >,
      'static': <silva.fanstatic.integration.ZopeFanstaticResource object a=
t 0x108998250>,
      'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateF=
ile object at 0x109489c50>,
      'traverse_subpath': [],
      'user': <User 'admin'>,
      'view': <silva.core.layout.default.MainPage object at 0x108b83e10>,
      'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at=
 0x108e5bf90>}
 Module zope.contentprovider.tales, line 80, in __call__
 Module grokcore.viewlet.components, line 82, in render
 Module grokcore.viewlet.components, line 119, in render
 Module five.grok.components, line 129, in render
 Module zope.pagetemplate.pagetemplate, line 113, in pt_render
 Module zope.tal.talinterpreter, line 271, in __call__
 Module zope.tal.talinterpreter, line 343, in interpret
 Module zope.tal.talinterpreter, line 376, in do_startEndTag
 Module zope.tal.talinterpreter, line 405, in do_startTag
 Module zope.tal.talinterpreter, line 482, in attrAction_tal
 Module Products.PageTemplates.Expressions, line 225, in evaluateText
 Module zope.tales.tales, line 696, in evaluate
  - URL: /Users/yserrano/env/py27-silva/silva_buildout/src/silva.core.layou=
t/src/silva/core/layout/porto/porto_templates/favicon.pt
  - Line 1, Column 0
  - Expression: <PathExpr standard:u'viewlet/favicon_url'>
  - Names:
     {'args': (),
      'container': <Root at /silva>,
      'context': <Root at /silva>,
      'default': <object object at 0x1002c3b60>,
      'here': <Root at /silva>,
      'layout': <silva.core.layout.porto.porto.MainLayout object at 0x108b5=
6550>,
      'loop': {},
      'nothing': None,
      'options': {},
      'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0=
x10896d260>,
      'request': <HTTPRequest, URL=3Dhttp://localhost:8080/silva/@@index.ht=
ml>,
      'root': <Application at >,
      'static': <silva.fanstatic.integration.ZopeFanstaticResource object a=
t 0x101c05c10>,
      'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateF=
ile object at 0x109489a50>,
      'traverse_subpath': [],
      'user': <User 'admin'>,
      'view': <silva.core.layout.default.MainPage object at 0x108b83e10>,
      'viewlet': <silvatheme.standardissue.standardissue.Favicon object at =
0x101c05350>,
      'viewletmanager': <silva.core.layout.porto.porto.HTMLHeadInsert objec=
t at 0x108e60150>,
      'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at=
 0x108e5b590>}
 Module zope.tales.expressions, line 217, in __call__
 Module Products.PageTemplates.Expressions, line 155, in _eval
 Module Products.PageTemplates.Expressions, line 117, in render
 Module silva.fanstatic.integration, line 51, in __str__
 Module fanstatic.core, line 616, in _not_implented_here
NotImplementedError: =

           This functionality is not implemented by objects of the DummyNee=
dedResources class.
           You probably want a NeededResources object.


regards
Yves





- - - =

ETH Z=FCrich
Yves Serrano
Informatikdienste
STC E 12
Stampfenbachstrasse 67

8092 Z=FCrich =


+41 44 632 76 48 Telefon