[Product-Developers] Plone 3.1 lockup due to ratings plugin

Somik Raha somik.raha at gmail.com
Thu Jul 24 20:45:47 UTC 2008


Hi,

I was playing around with the easyratings plugin and got a bunch of errors
when I tried adding a rating. After removing the plugin, I found I could not
get back into the section of the site where I added the rating. This is
quite frustrating as I have a ton of content in this section and am now
completely locked out. If I uninstall the product, the section disappears.
If I install it back, I get the errors. Some guidance would be very much
appreciated on how I could get my section back up.

Thank you so much.

Regards,
Somik

ERRORS:
Exception traceback

Time 	2008/07/24 06:40:08.236 GMT-7
User Name (User Id) 	admin (admin)
Request URL 	http://dq/theory/rating_folder_listing
Exception Type 	AttributeError
Exception Value 	getText

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.CMFCore.FSPageTemplate, line 216, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 155, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 89, in pt_render
    * 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 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 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 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 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 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 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 586, in do_setLocal_tal
    * Module zope.tales.tales, line 696, in evaluate
      URL:
file:/opt/Plone-3.1/Python-2.4/lib/python2.4/iqpp/plone/rating/skins/iqpp.plone.rating/rating_folder_listing.pt
      Line 54, Column 16
      Expression: <PythonExpr test(item.getObject().getText(),
item.getObject().getText(), None)>
      Names:

      {'container': <PloneSite at /Plone>,
       'context': <ATFolder at /Plone/theory>,
       'default': ,
       'here': <ATFolder at /Plone/theory>,
       'loop': {u'item': <Products.PageTemplates.Expressions.PathIterator
object at 0xd11c34c>},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0xdc4a1cc>,
       'request': <HTTPRequest, URL=http://dq/theory/rating_folder_listing>,
       'root': <Application at >,
       'template': <FSPageTemplate at /Plone/rating_folder_listing used for
/Plone/theory>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>}

    * Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
      __traceback_info__: test(item.getObject().getText(),
item.getObject().getText(), None)
    * Module PythonExpr, line 1, in <expression>

AttributeError: getText

Display traceback as text

REQUEST
form
-C	''
cookies
__ac	'NjE2NDZkNjk2ZTo0NzZlNTI0NTM2NjQ1NTM3'
lazy items
SESSION	<bound method SessionDataManager.getSessionData of
<SessionDataManager at /session_data_manager>>
other
_oai_cache	{221954796: <Products.CMFCore.ActionInformation.oai instance at
0xd7d638c>}
TraversalRequestNameStack	[]
LANGUAGE	'en'
AUTHENTICATED_USER	<PropertiedUser 'admin'>
URL	'http://dq/theory/rating_folder_listing'
VirtualRootPhysicalPath	('', 'Plone')
VIRTUAL_URL	'http://dq/theory'
SERVER_URL	'http://dq'
LANGUAGE_TOOL	<Products.PloneLanguageTool.LanguageTool.LanguageBinding
instance at 0xc69658c>
AUTHENTICATION_PATH	'Plone/virtual_hosting'
traverse_subpath	[]
_ec_cache	{221954796: <Products.PageTemplates.Expressions.ZopeContext object
at 0xd10b22c>}
__ac	'NjE2NDZkNjk2ZTo0NzZlNTI0NTM2NjQ1NTM3'
PUBLISHED	<FSPageTemplate at /Plone/rating_folder_listing used for
/Plone/theory>
_pts_is_rtl	False
ACTUAL_URL	'http://dq/theory'
VIRTUAL_URL_PARTS	('http://dq', 'theory')
URL0	http://dq/theory/rating_folder_listing
URL1	http://dq/theory
URL2	http://dq
BASE0	http://dq
BASE1	http://dq
BASE2	http://dq/theory
BASE3	http://dq/theory/rating_folder_listing
environ
HTTP_X_FORWARDED_SERVER	'dq'
HTTP_REFERER	'http://dq/'
HTTP_ACCEPT_LANGUAGE	'en-us,en;q=0.5'
SERVER_SOFTWARE	'Zope/(Zope 2.10.6-final, python 2.4.5, linux2) ZServer/1.1
Plone/3.1.3'
SCRIPT_NAME	''
REQUEST_METHOD	'GET'
PATH_INFO	'/VirtualHostBase/http/dq:80/Plone/VirtualHostRoot/theory'
SERVER_PROTOCOL	'HTTP/1.1'
channel.creation_time	1216904950
CONNECTION_TYPE	'Keep-Alive'
HTTP_ACCEPT_CHARSET	'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT	'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1)
Gecko/2008070208 Firefox/3.0.1'
HTTP_COOKIE	'__ac="NjE2NDZkNjk2ZTo0NzZlNTI0NTM2NjQ1NTM3"'
SERVER_NAME	'0.0.0.0'
REMOTE_ADDR	'127.0.0.1'
PATH_TRANSLATED	'/VirtualHostBase/http/dq:80/Plone/VirtualHostRoot/theory'
SERVER_PORT	'8080'
HTTP_HOST	'localhost:8080'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
GATEWAY_INTERFACE	'CGI/1.1'
HTTP_X_FORWARDED_FOR	'192.168.101.132'
HTTP_X_FORWARDED_HOST	'dq'
HTTP_ACCEPT_ENCODING	'gzip,deflate'


-- 
View this message in context: http://n2.nabble.com/Plone-3.1-lockup-due-to-ratings-plugin-tp581158p581158.html
Sent from the Product Developers mailing list archive at Nabble.com.





More information about the Product-Developers mailing list