After upgrading my Plone from 3.2.1 to 3.3rc3 and S&D from 0.8.2 to
0.8.10 I am getting the following error trying to access any channel :
Any clue?
Time 2009/06/16 09:34:29.144 GMT-5
User Name (User Id) admin (admin)
Request URL
http://inverta.org/jornal/portal_newsletters/channels/default-channel/@@index_html
Exception Type AttributeError
Exception Value __of__
Traceback (innermost last):
* Module ZPublisher.Publish, line 119, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 42, in call_object
* Module Shared.DC.Scripts.Bindings, line 313, in __call__
* Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
* Module Products.PageTemplates.PageTemplateFile, line 129, in
_exec
* Module Products.CacheSetup.patch_cmf, line 126, in PT_pt_render
* Module zope.tal.talinterpreter, line 271, in __call__
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 891, in do_useMacro
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 891, in do_useMacro
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 949, in do_defineSlot
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 957, in do_defineSlot
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 891, in do_useMacro
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 957, in do_defineSlot
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 525, in do_optTag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 949, in do_defineSlot
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 949, in do_defineSlot
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
* Module zope.tales.tales, line 696, in evaluate
URL: controlpanel
Line 10, Column 4
Expression: <PathExpr standard:'view/contents'>
Names:
{'container': <Channel at /jornal/portal_newsletters/channels/
default-channel>,
'context': <Channel at /jornal/portal_newsletters/channels/
default-channel>,
'default': <object object at 0xf7c8a528>,
'here': <Channel at /jornal/portal_newsletters/channels/default-
channel>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping
object at 0x13948a4c>,
'request': <HTTPRequest, URL=
http://inverta.org/jornal/
portal_newsletters/channels/default-channel/@@index_html>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0x16cea3ec>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>,
'view': <Products.Five.metaclass.ManageChannelView object at
0x10930eec>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x14b4410c>}
* Module zope.tales.expressions, line 217, in __call__
* Module Products.PageTemplates.Expressions, line 161, in _eval
* Module Products.PageTemplates.Expressions, line 123, in render
* Module collective.dancing.browser.channel, line 713, in contents
* Module z3c.form.form, line 190, in __call__
* Module z3c.form.form, line 143, in render
* Module zope.app.pagetemplate.viewpagetemplatefile, line 83, in
__call__
* Module zope.app.pagetemplate.viewpagetemplatefile, line 51, in
__call__
* Module zope.pagetemplate.pagetemplate, line 117, in pt_render
* Module zope.tal.talinterpreter, line 271, in __call__
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 534, in do_optTag_tal
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 525, in do_optTag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 824, in do_loop_tal
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 534, in do_optTag_tal
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 745, in
do_insertStructure_tal
* Module zope.tales.tales, line 696, in evaluate
URL: /usr/local/Plone/buildout-cache/eggs/
collective.dancing-0.8.10-py2.4.egg/collective/dancing/browser/form-
with-subforms.pt
Line 24, Column 8
Expression: <PathExpr standard:u'form/render'>
Names:
{'args': (),
'context': <Channel at /jornal/portal_newsletters/channels/
default-channel>,
'default': <object object at 0xf7c8a528>,
'loop': {},
'nothing': None,
'options': {},
'repeat': {},
'request': <HTTPRequest, URL=
http://inverta.org/jornal/
portal_newsletters/channels/default-channel/@@index_html>,
'template':
<zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile
object at 0xb20284c>,
'usage': <zope.pagetemplate.pagetemplate.TemplateUsage object
at 0x1265292c>,
'view': <collective.dancing.browser.channel.EditComposersForm
object at 0x1409fd8c>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0xf82e04c>}
* Module zope.tales.expressions, line 217, in __call__
* Module zope.tales.expressions, line 211, in _eval
* Module z3c.form.form, line 143, in render
* Module zope.app.pagetemplate.viewpagetemplatefile, line 83, in
__call__
* Module zope.app.pagetemplate.viewpagetemplatefile, line 51, in
__call__
* Module zope.pagetemplate.pagetemplate, line 117, in pt_render
* Module zope.tal.talinterpreter, line 271, in __call__
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 891, in do_useMacro
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 534, in do_optTag_tal
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 861, in do_defineMacro
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 824, in do_loop_tal
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 525, in do_optTag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 861, in do_defineMacro
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 534, in do_optTag_tal
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 745, in
do_insertStructure_tal
* Module zope.tales.tales, line 696, in evaluate
URL: /usr/local/Plone/buildout-cache/eggs/
plone.app.z3cform-0.4.5-py2.4.egg/plone/app/z3cform/
macros.pt
Line 121, Column 30
Expression: <PathExpr standard:u'widget/render'>
Names:
{'args': (),
'context': <collective.dancing.composer.HTMLComposer object at
0xfe7ad6c>,
'default': <object object at 0xf7c8a528>,
'loop': {},
'nothing': None,
'options': {},
'repeat': {},
'request': <HTTPRequest, URL=
http://inverta.org/jornal/
portal_newsletters/channels/default-channel/@@index_html>,
'template':
<zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile
object at 0xb23af6c>,
'usage': <zope.pagetemplate.pagetemplate.TemplateUsage object
at 0xf8921ec>,
'view':
<collective.dancing.browser.composer.EditHTMLComposerForm object at
0xea8948c>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0xf89252c>}
* Module zope.tales.expressions, line 217, in __call__
* Module zope.tales.expressions, line 211, in _eval
* Module z3c.form.widget, line 135, in render
* Module zope.app.pagetemplate.viewpagetemplatefile, line 51, in
__call__
* Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Warning: Macro expansion failed
Warning: exceptions.KeyError: 'macros'
* Module zope.tal.talinterpreter, line 271, in __call__
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 891, in do_useMacro
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 891, in do_useMacro
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 536, in do_optTag_tal
* Module zope.tal.talinterpreter, line 521, in do_optTag
* Module zope.tal.talinterpreter, line 516, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 855, in do_condition
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
* Module zope.tales.tales, line 696, in evaluate
URL: file:/usr/local/Plone/buildout-cache/eggs/
Products.kupu-1.4.13-py2.4.egg/Products/kupu/plone/kupu_plone_layer/
kupu_wysiwyg_support.html
Line 39, Column 0
Expression: <PathExpr standard:u'here/kupu_xmlconfig'>
Names:
{'args': (),
'context': <collective.dancing.composer.HTMLComposer object at
0xfe7ad6c>,
'default': <object object at 0xf7c8a528>,
'loop': {},
'nothing': None,
'options': {},
'repeat': {},
'request': <HTTPRequest, URL=
http://inverta.org/jornal/
portal_newsletters/channels/default-channel/@@index_html>,
'template':
<zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile
object at 0xaf0db0c>,
'usage': <zope.pagetemplate.pagetemplate.TemplateUsage object
at 0xe083d4c>,
'view': <WysiwygWidget 'composers.html.widgets.header_text'>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x11190d6c>}
* Module zope.tales.expressions, line 217, in __call__
* Module Products.PageTemplates.Expressions, line 161, in _eval
* Module Products.PageTemplates.Expressions, line 111, in render
* Module Products.PageTemplates.ZRPythonExpr, line 79, in
call_with_ns
* Module Shared.DC.Scripts.Bindings, line 327, in
__render_with_namespace__
* Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 216, in _exec
* Module Products.CacheSetup.patch_cmf, line 51, in FSPT_pt_render
* Module Products.CacheSetup.patch_cmf, line 126, in PT_pt_render
* Module zope.tal.talinterpreter, line 271, in __call__
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 891, in do_useMacro
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
* Module zope.tales.tales, line 696, in evaluate
URL: file:/usr/local/Plone/buildout-cache/eggs/Plone-3.3rc3-
py2.4.egg/Products/CMFPlone/skins/plone_templates/
global_defines.pt
Line 8, Column 0
Expression: <PathExpr standard:u'plone_view/globalize'>
Names:
{'container': <PloneSite at /jornal>,
'context': <collective.dancing.composer.HTMLComposer object at
0xfe7ad6c>,
'default': <object object at 0xf7c8a528>,
'here': <collective.dancing.composer.HTMLComposer object at
0xfe7ad6c>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping
object at 0xe9acb2c>,
'request': <HTTPRequest, URL=
http://inverta.org/jornal/
portal_newsletters/channels/default-channel/@@index_html>,
'root': <Application at >,
'template': <FSPageTemplate at /jornal/kupu_xmlconfig used for /
jornal>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>}
* Module zope.tales.expressions, line 217, in __call__
* Module Products.PageTemplates.Expressions, line 161, in _eval
* Module Products.PageTemplates.Expressions, line 123, in render
* Module Products.CMFPlone.browser.ploneview, line 74, in
globalize
* Module Products.CMFPlone.browser.ploneview, line 89, in
_initializeData
AttributeError: __of__
Display traceback as text
REQUEST
form
-C u''
cookies
I18N_LANGUAGE 'pt-br'
tree-s 'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuxEQ9AIOOB9Q'
lazy items
SESSION <bound method SessionDataManager.getSessionData of
<SessionDataManager at /session_data_manager>>
other
TraversalRequestNameStack []
LANGUAGE 'pt-br'
AUTHENTICATED_USER <PropertiedUser 'admin'>
URL '
http://inverta.org/jornal/portal_newsletters/channels/default-
channel/@@index_html'
VIRTUAL_URL '
http://inverta.org/jornal/portal_newsletters/channels/
default-channel'
VirtualRootPhysicalPath ('',)
SERVER_URL '
http://inverta.org'
LANGUAGE_TOOL <Products.PloneLanguageTool.LanguageTool.LanguageBinding
instance at 0x16c47b6c>
AUTHENTICATION_PATH ''
_pts_is_rtl False
_ec_cache {135422328: <Products.PageTemplates.Expressions.ZopeContext
object at 0xb0652cc>, 278072684:
<Products.PageTemplates.Expressions.ZopeContext object at 0x14ea588c>}
PUBLISHED <Products.Five.metaclass.ManageChannelView object at
0x10930eec>
disable_border 1
ACTUAL_URL '
http://inverta.org/jornal/portal_newsletters/channels/
default-channel'
VIRTUAL_URL_PARTS ('
http://inverta.org', 'jornal/portal_newsletters/
channels/default-channel')
URL0
http://inverta.org/jornal/portal_newsletters/channels/default-channel/@@index_html
URL1
http://inverta.org/jornal/portal_newsletters/channels/default-channel
URL2
http://inverta.org/jornal/portal_newsletters/channels
URL3
http://inverta.org/jornal/portal_newsletters
URL4
http://inverta.org/jornal
URL5
http://inverta.org
BASE0
http://inverta.org
BASE1
http://inverta.org
BASE2
http://inverta.org/jornal
BASE3
http://inverta.org/jornal/portal_newsletters
BASE4
http://inverta.org/jornal/portal_newsletters/channels
BASE5
http://inverta.org/jornal/portal_newsletters/channels/default-channel
BASE6
http://inverta.org/jornal/portal_newsletters/channels/default-channel/@@index_html
environ
HTTP_X_FORWARDED_SERVER '
inverta.org'
HTTP_REFERER '
http://inverta.org/jornal/portal_newsletters/channels'
HTTP_ACCEPT_LANGUAGE 'pt-br,pt;q=0.8,en-us;q=0.5,en;q=0.3'
SERVER_SOFTWARE 'Zope/(Zope 2.10.7-final, python 2.4.5, linux2)
ZServer/1.1 Plone/3.3rc3'
SCRIPT_NAME ''
REQUEST_METHOD 'GET'
PATH_INFO '/VirtualHostBase/http/
inverta.org:80//VirtualHostRoot/
jornal/portal_newsletters/channels/default-channel'
SERVER_PROTOCOL 'HTTP/1.0'
channel.creation_time 1245162868
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux x86_64; pt-BR; rv:
1.9.0.11) Gecko/2009060309 Ubuntu/9.04 (jaunty) Firefox/3.0.11'
HTTP_COOKIE 'I18N_LANGUAGE="pt-br"; tree-
s="eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuxEQ9AIOOB9Q"'
SERVER_NAME '0.0.0.0'
REMOTE_ADDR '206.196.110.2'
HTTP_VIA '1.1
example.com:3128 (squid/2.6.STABLE18)'
PATH_TRANSLATED '/VirtualHostBase/http/
inverta.org:80/VirtualHostRoot/
jornal/portal_newsletters/channels/default-channel'
SERVER_PORT '8080'
HTTP_HOST '
inverta.org'
HTTP_CACHE_CONTROL 'max-age=259200'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/
*;q=0.8'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_X_FORWARDED_FOR '201.29.131.225, 206.196.110.2'
HTTP_X_FORWARDED_HOST '
inverta.org'
HTTP_ACCEPT_ENCODING 'gzip,deflate'