[go: up one dir, main page]

Menu

#9 Attribute error on new blog

open
SimpleBlog (9)
5
2004-11-23
2004-11-23
november23
No

Steps taken:

1. install blog using quick installer
2. create new blog
3. add a blogfolder
4. get traceback from edit page:

Time 2004/11/23 15:24:05.157 GMT
User Name (User Id) admin (admin)
Request URL
http://localhost:8080/projects/news/blogfolder.2004-11-23.0331885460/base_edit
Exception Type NameError
Exception Value name 'here' is not defined

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
Products.CMFFormController.FSControllerPageTemplate,
line 98, in __call__
* Module
Products.CMFFormController.BaseControllerPageTemplate,
line 42, in _call
* Module Shared.DC.Scripts.Bindings, line 306, in
__call__
* Module Shared.DC.Scripts.Bindings, line 343, in
_bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 191,
in _exec
* Module Products.CMFCore.FSPageTemplate, line 124,
in pt_render
* Module Products.PageTemplates.PageTemplate, line
96, in pt_render
<FSControllerPageTemplate at /projects/base_edit
used for /projects/news/blogfolder.2004-11-23.0331885460>
* Module TAL.TALInterpreter, line 189, in __call__
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 670, in do_useMacro
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 408, in do_optTag_tal
* Module TAL.TALInterpreter, line 393, in do_optTag
* Module TAL.TALInterpreter, line 388, in no_tag
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 701, in do_defineSlot
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 408, in do_optTag_tal
* Module TAL.TALInterpreter, line 393, in do_optTag
* Module TAL.TALInterpreter, line 388, in no_tag
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 649, in
do_defineMacro
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 693, in do_defineSlot
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 649, in
do_defineMacro
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 406, in do_optTag_tal
* Module TAL.TALInterpreter, line 388, in no_tag
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 612, in do_loop_tal
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 408, in do_optTag_tal
* Module TAL.TALInterpreter, line 393, in do_optTag
* Module TAL.TALInterpreter, line 388, in no_tag
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 670, in do_useMacro
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 408, in do_optTag_tal
* Module TAL.TALInterpreter, line 393, in do_optTag
* Module TAL.TALInterpreter, line 388, in no_tag
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 670, in do_useMacro
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 408, in do_optTag_tal
* Module TAL.TALInterpreter, line 393, in do_optTag
* Module TAL.TALInterpreter, line 388, in no_tag
* Module TAL.TALInterpreter, line 233, in interpret
* Module TAL.TALInterpreter, line 568, in
do_insertStructure_tal
* Module Products.PageTemplates.TALES, line 221, in
evaluate
Line 14, Column 6
Expression: standard:'accessor'
Names:

{'container': <PloneSite instance at 56791e00>,
'context': <BlogFolder instance at 5990e1a0>,
'default': <Products.PageTemplates.TALES.Default
instance at 0x55d865ec>,
'here': <BlogFolder instance at 5990e1a0>,
'loop': <SafeMapping instance at 576eb3f0>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x55d860cc>,
'nothing': None,
'options': {'state': <ControllerState instance at
576eb180>, 'args': ()},
'repeat': <SafeMapping instance at 576eb3f0>,
'request': <HTTPRequest,
URL=http://localhost:8080/projects/news/blogfolder.2004-11-23.0331885460/base_edit>,
'root': <Application instance at 56785020>,
'template': <FSControllerPageTemplate at
/projects/base_edit used for
/projects/news/blogfolder.2004-11-23.0331885460>,
'traverse_subpath': [],
'user': admin}

* 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.Archetypes.ClassGen, line 41, in
<lambda>
* Module Products.Archetypes.Field, line 866, in get
* Module <string>, line 0, in ?

NameError: name 'here' is not defined

not sure what is going on. the folder is created
though, and i can see it in the navigation. i know the
edit form is causing the error beacuse i can go to it
and press the edit button, and i get the same traceback.

any ideas what could be causing this - i am using a
fresh checkout of plone and simpleblog that i took
about 1 hour ago from cvs, on zope 2-7-2 / python 2.3.3

Discussion


Log in to post a comment.