#21 — Traceback when looking at blog_view (cannot use blog view for collections)

by Manuel Amador (Rudd-O) last modified Dec 16, 2011 12:00 AM
State Unconfirmed
Version: 2.0b1
Area Functionality
Issue type Bug
Severity Medium
Submitted by Manuel Amador (Rudd-O)
Submitted on Dec 16, 2011
Responsible
Target release:
Time
Dec 15, 2011 05:27 PM
User Name
Anonymous User (None)
Request URL
http://rudd-o.com/everything/blog_view
Exception Type
AttributeError
Exception Value
blogentry_view
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 Products.Five.browser.metaconfigure, line 476, in __call__
Module Products.Five.browser.pagetemplatefile, line 125, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 113, in pt_render
Warning: Macro expansion failed
Warning: <type 'exceptions.KeyError'>: 'item_object'
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 888, in do_useMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 954, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 858, in do_defineMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 954, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 954, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 946, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 858, in do_defineMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 888, in do_useMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 858, in do_defineMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 852, in do_condition
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 954, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 858, in do_defineMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 821, in do_loop_tal
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 946, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 867, in do_useMacro
Module zope.tales.tales, line 696, in evaluate
URL: /opt/plone4/buildout-cache/eggs/Products.Scrawl-2.0b1-py2.6.egg/Products/Scrawl/browser/blog_view.pt
Line 62, Column 24
Expression: <PathExpr standard:u'item_object/blogentry_view/macros/blogentry-byline'>
Names:
{'args': (),
 'container': <ATTopic at /Rudd-O.com/everything>,
 'context': <ATTopic at /Rudd-O.com/everything>,
 'default': <object object at 0x7fe9936b8b20>,
 'here': <ATTopic at /Rudd-O.com/everything>,
 'loop': {},
 'nothing': None,
 'options': {},
 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x1275c788>,
 'request': <HTTPRequest, URL=http://rudd-o.com/everything/blog_view>,
 'root': <Application at >,
 'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x8465b10>,
 'traverse_subpath': [],
 'user': <SpecialUser 'Anonymous User'>,
 'view': <Products.Five.metaclass.SimpleViewClass from /opt/plone4/buildout-cache/eggs/Products.Scrawl-2.0b1-py2.6.egg/Products/Scrawl/browser/blog_view.pt object at 0xb0b0310>,
 'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xb0b0510>}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 147, in _eval
Module zope.tales.expressions, line 124, in _eval
Module Products.PageTemplates.Expressions, line 94, in trustedBoboAwareZopeTraverse
Module OFS.Traversable, line 284, in unrestrictedTraverse
__traceback_info__: ([], 'blogentry_view')
AttributeError: blogentry_view

Display traceback as text

REQUEST
form
page_id '578'
b_start 260
cookies
lazy items
SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>>
other
AUTHENTICATION_PATH 'Rudd-O.com/virtual_hosting'
TraversalRequestNameStack []
LANGUAGE 'en'
AUTHENTICATED_USER <SpecialUser 'Anonymous User'>
URL 'http://rudd-o.com/everything/blog_view'
URL2 'http://rudd-o.com'
VirtualRootPhysicalPath ('', 'Rudd-O.com')
SERVER_URL 'http://rudd-o.com'
LANGUAGE_TOOL <Products.PloneLanguageTool.LanguageTool.LanguageBinding instance at 0xafadfc8>
BASE1 'http://rudd-o.com'
BASE2 'http://rudd-o.com/everything'
BASE3 'http://rudd-o.com/everything/blog_view'
PUBLISHED <Products.Five.metaclass.SimpleViewClass from /opt/plone4/buildout-cache/eggs/Products.Scrawl-2.0b1-py2.6.egg/Products/Scrawl/browser/blog_view.pt object at 0xb0b0310>
_plone_ec_cache {531035472: <Products.PageTemplates.Expressions.ZopeContext object at 0xb615ad0>}
b_start 260
URL1 'http://rudd-o.com/everything'
method 'GET'
ACTUAL_URL 'http://rudd-o.com/everything/blog_view'
portal_catalog_651621 {'_daterangeindex_inverse_effectiveRange_2206646': IISet([])}
URL0 http://rudd-o.com/everything/blog_view
URL1 http://rudd-o.com/everything
URL2 http://rudd-o.com
BASE0 http://rudd-o.com
BASE1 http://rudd-o.com
BASE2 http://rudd-o.com/everything
BASE3 http://rudd-o.com/everything/blog_view
environ
HTTP_ACCEPT '*/*'
HTTP_USER_AGENT 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'
SERVER_PORT '83'
SERVER_NAME 'tobey.rudd-o.com'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_X_FORWARDED_FOR '66.249.68.18'
REMOTE_ADDR '127.0.0.1'
SERVER_SOFTWARE 'Zope/(2.13.10, python 2.6.7, linux2) ZServer/1.1'
SCRIPT_NAME ''
REQUEST_METHOD 'GET'
HTTP_HOST 'rudd-o.com'
PATH_INFO '/everything/blog_view'
HTTP_FROM 'googlebot(at)googlebot.com'
SERVER_PROTOCOL 'HTTP/1.1'
QUERY_STRING 'b_start:int=260&page_id=578'
channel.creation_time 1323988029
HTTP_ACCEPT_ENCODING 'gzip,deflate'
HTTP_X_VARNISH '1963728836'
PATH_TRANSLATED '/everything/blog_view'

No responses can be added.