Clayton, are you updated to the latest-greatest that has this fix? --Paul On Feb 9, 2012, at 9:02 AM, claytron wrote: > We are still seeing this issue on portlets quite often: > > https://github.com/karlproject/karl/blob/master/karl/content/views/adapters.py#L672 > > Here is a traceback that we often see: > > 2011-11-17 11:39:06,078 ERROR karl.system: Exception when processing https://karl.sixfeetup.com/offices/fortville/ > Referer: > Traceback (most recent call last): > File "/usr/local/karl/production/1/eggs/karl-3.72-py2.6.egg/karl/errorlog.py", line 18, in middleware > return app(environ, start_response) > File "/usr/local/karl/production/1/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py", line 88, in __call__ > app_iter = self.application(environ, replace_start_response) > File "/usr/local/karl/production/1/eggs/repoze.zodbconn-0.11-py2.6.egg/repoze/zodbconn/connector.py", line 21, in __call__ > result = self.next_app(environ, start_response) > File "/usr/local/karl/production/1/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py", line 23, in __call__ > result = self.application(environ, save_status_and_headers) > File "/usr/local/karl/production/1/eggs/repoze.who-1.0.15-py2.6.egg/repoze/who/middleware.py", line 107, in __call__ > app_iter = app(environ, wrapper.wrap_start_response) > File "/usr/local/karl/production/1/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/router.py", line 130, in __call__ > response = view_callable(context, request) > File "/usr/local/karl/production/1/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/configuration.py", line 1753, in _secured_view > return view(context, request) > File "/usr/local/karl/production/1/eggs/karl-3.72-py2.6.egg/karl/views/retail.py", line 40, in retail_view > context.right_portlets) > File "/usr/local/karl/production/1/eggs/karl-3.72-py2.6.egg/karl/views/retail.py", line 75, in _get_portlet_html > html += portlet_info.asHTML > File "/usr/local/karl/production/1/eggs/karl-3.72-py2.6.egg/karl/content/views/adapters.py", line 695, in asHTML > entries = self.entries > File "/usr/local/karl/production/1/eggs/karl-3.72-py2.6.egg/karl/content/views/adapters.py", line 678, in entries > 'title': doc.title, > AttributeError: 'NoneType' object has no attribute 'title' > > -- > You received this bug notification because you are subscribed to KARL3. > https://bugs.launchpad.net/bugs/920667 > > Title: > Intermittent inconsistency in pgtextindex > > Status in KARL3: > Fix Released > > Bug description: > A while back I was investigating an issue where under some > circumstances the catalog would return a docid for a document that was > no longer in the system, and therefore couldn't be loaded. Usually > this was some non-sensical looking error like "None has no attribute, > 'title'". > > I wrote a test script, attached, which goes through and checks the > catalog for consistency and set it up to run and email me the results > every four hours via cron. What I've seen is the vast majority of the > time, the catalog is consistent. But occasionally the pgtextindex > will have a docid in it that is not in the system. This usually > clears up by the next run. So it doesn't seem to be a matter of the > database getting corrupted, but seems more a matter of an inconsistent > read creeping in. > > To manage notifications about this bug go to: > https://bugs.launchpad.net/karl3/+bug/920667/+subscriptions