Personal tools
You are here: Home Forums Plone Comments Plone Comments reply-to-comment AttributeError
Document Actions

Plone Comments reply-to-comment AttributeError

Up to Plone Comments

Plone Comments reply-to-comment AttributeError

Posted by Benjamin Chodoroff at July 31. 2008

Hi all,


I've been having issues with both the latest release and svn-trunk of qPloneComments, on Plone 3.1.


Posting first-level comments works fine, but replying to existing comments results in the AttributeError included at the end of this post.


Also, viewing any object/trackback/ url results in the same AttributeError.


This happens no matter what content type, and also no matter who tries to post the comment (admin through anonymous).


Here is the traceback:


---


Exception traceback


 




























Time 2008/07/31 14:45:13.319 GMT-4
User Name (User Id) admin (admin)
Request URL http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682/discussion_reply_form
Exception Type AttributeError
Exception Value @@maps_googlemaps_view


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 Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__
  • Module Products.CMFFormController.BaseControllerPageTemplate, line 31, in _call
  • Module Shared.DC.Scripts.Bindings, line 313, in __call__
  • Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  • Module Products.CMFCore.FSPageTemplate, line 216, in _exec
  • Module Products.CacheSetup.patch_cmf, line 48, in FSPT_pt_render
  • Module Products.CacheSetup.patch_cmf, line 120, in PT_pt_render

    Warning: Macro expansion failed

    Warning: exceptions.KeyError: 'main_macro'
  • 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 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 861, in do_defineMacro
  • 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 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 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 855, in do_condition
  • 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:/home/bc/plone/getpaid/getpaid.buildout/develop-products/Maps/skins/Maps/maps_location.pt

    Line 12, Column 4

    Expression: <PathExpr standard:u'context/@@maps_googlemaps_view'>

    Names:
    {'container': <PloneSite at /hamcit>,
    
    'context': <DiscussionItem at /hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682>,
    'default': <object object at 0xb7ca4528>,
    'here': <DiscussionItem at /hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682>,
    'loop': {},
    'nothing': None,
    'options': {'args': (),
    'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xaf02a0ac>},
    'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xaf02a42c>,
    'request': <HTTPRequest, URL=http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682/discussion_reply_form>,
    'root': <Application at >,
    'template': <FSControllerPageTemplate at /hamcit/discussion_reply_form used for /hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682>,
    'traverse_subpath': [],
    'user': <PropertiedUser 'admin'>}

  • Module zope.tales.expressions, line 217, in __call__
  • Module Products.PageTemplates.Expressions, line 153, in _eval
  • Module zope.tales.expressions, line 124, in _eval
  • Module Products.PageTemplates.Expressions, line 80, in boboAwareZopeTraverse
  • Module OFS.Traversable, line 301, in restrictedTraverse
  • Module OFS.Traversable, line 284, in unrestrictedTraverse

    __traceback_info__: ([], '@@maps_googlemaps_view')

AttributeError: @@maps_googlemaps_view

Display
traceback as text


 





REQUEST


form



cookies

























__utmb '211091468.1.10.1217529906'
__utma '12216305.3966082052510141000.1215609594.1217130619.1217521415.13'
__utmz '12216305.1217521415.13.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=thermitic'
__utmc '12216305'
__ac 'NjE2NDZkNjk2ZToyYTI2NWU2NTc1Njc2NTZlNjU%3D'

lazy items









SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>>

other





































































































































controller_state <Products.CMFFormController.ControllerState.ControllerState object at 0xaf02a0ac>
TraversalRequestNameStack []
LANGUAGE 'en'
AUTHENTICATED_USER <PropertiedUser 'admin'>
URL 'http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682/discussion_reply_form'
_pts_is_rtl False
SERVER_URL 'http://hamcit.thermitic.net:8080'
LANGUAGE_TOOL <Products.PloneLanguageTool.LanguageTool.LanguageBinding instance at 0xab1f83cc>
AUTHENTICATION_PATH ''
traverse_subpath []
_ec_cache {135406584:
<Products.PageTemplates.Expressions.ZopeContext object at
0xab1f876c>, -1383319380:
<Products.PageTemplates.Expressions.ZopeContext object at
0xab22f3ec>}
__ac 'NjE2NDZkNjk2ZToyYTI2NWU2NTc1Njc2NTZlNjU%3D'
PUBLISHED <FSControllerPageTemplate
at /hamcit/discussion_reply_form used for
/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682>
ACTUAL_URL 'http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682/discussion_reply_form'
disable_border 1
URL0 http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682/discussion_reply_form
URL1 http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682
URL2 http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback
URL3 http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza
URL4 http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants
URL5 http://hamcit.thermitic.net:8080/hamcit/dir
URL6 http://hamcit.thermitic.net:8080/hamcit
URL7 http://hamcit.thermitic.net:8080
BASE0 http://hamcit.thermitic.net:8080
BASE1 http://hamcit.thermitic.net:8080
BASE2 http://hamcit.thermitic.net:8080/hamcit
BASE3 http://hamcit.thermitic.net:8080/hamcit/dir
BASE4 http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants
BASE5 http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza
BASE6 http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback
BASE7 http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682
BASE8 http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682/discussion_reply_form

environ

































































































HTTP_COOKIE '__utma=12216305.3966082052510141000.1215609594.1217130619.1217521415.13;
__utmz=12216305.1217521415.13.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=thermitic;
__utma=211091468.4184927908350414000.1215733250.1217523649.1217529906.16;
__utmz=211091468.1215733250.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);
__utmc=12216305; __utmc=211091468;
__ac="NjE2NDZkNjk2ZToyYTI2NWU2NTc1Njc2NTZlNjU%3D";
__utmb=211091468.1.10.1217529906'
SERVER_SOFTWARE 'Zope/(Zope 2.10.6-final, python 2.4.4, linux2) ZServer/1.1 Plone/3.1.2'
SCRIPT_NAME ''
REQUEST_METHOD 'POST'
HTTP_KEEP_ALIVE '300'
SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time 1217529912
CONNECTION_TYPE 'keep-alive'
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1'
HTTP_REFERER 'http://hamcit.thermitic.net:8080/hamcit/dir/bars-and-restaurants/amiccis-pizza'
SERVER_NAME '0.0.0.0'
REMOTE_ADDR '69.212.36.112'
PATH_TRANSLATED '/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682/discussion_reply_form'
SERVER_PORT '8080'
CONTENT_LENGTH '0'
HTTP_HOST 'hamcit.thermitic.net:8080'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT_LANGUAGE 'en-us,en;q=0.5'
CONTENT_TYPE 'application/x-www-form-urlencoded'
HTTP_ACCEPT_ENCODING 'gzip,deflate'
PATH_INFO '/hamcit/dir/bars-and-restaurants/amiccis-pizza/talkback/1217523682/discussion_reply_form'

Powered by Ploneboard