[Zope] Zcatalog and random numerical key error

- bak@nstp.com.my
Tue, 25 Jan 2000 10:13:25 +0800


hi all,

situation:
got a zclass, that is catalog aware.  when searches are made, some return
results, while other times it returns random numerical key error.  i remembered
seeing this symptom on zope.org last year.  but it has now disappeared. 
anybody got a clue on what's going on?


tia

 traceback is
included:

---start traceback----
<TD WIDTH="90%">
  <H2>Error</H2>
  <P>The server has encountered an error while publishing this resource.
  </P>
  
  <P>
  <STRONG>Error Type: KeyError</STRONG><BR>
  <STRONG>Error Value: 95</STRONG><BR> 
  </P>
 ..<snip>..
<!--
Traceback (innermost last):
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /usr/local/Zope/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: r)
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: r)
  File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 145, in __call__
    (Object: r)
  File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: r)
  File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, line 148, in render
    (Object: _(results=searchResults(REQUEST=REQUEST)))
  File /usr/local/Zope/lib/python/DocumentTemplate/DT_In.py, line 592, in renderwb
    (Object: results)
  File /usr/local/Zope/lib/python/Products/ZCatalog/Lazy.py, line 190, in __getitem__
  File /usr/local/Zope/lib/python/Products/ZCatalog/Catalog.py, line 181, in __getitem__
KeyError: (see above)

-->
--end traceback--



-- 
------------------------------------------------------
http://www.kedai.com.my/kk
Am I Evil?