[Zope-dev] Weirdy Catalog Error II :-S

Chris Withers chrisw@nipltd.com
Mon, 21 May 2001 20:02:05 +0100


Got another one, thsi time from someone trying to upgrade to Squishdot 1.2.1:

Error Type: IndexError
Error Value: tuple index out of range


The traceback is:
----------------

Traceback (innermost last):
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 223, in
publish_module
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 187, in
publish
  File /usr/share/zope/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 171, in
publish
  File /usr/lib/python1.5/site-packages/ZPublisher/mapply.py, line 160, in
mapply
    (Object: manage_addSquishdot)
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 112, in
call_object
    (Object: manage_addSquishdot)
  File /var/zope/Products/Squishdot/Squishdot.py, line 153, in
manage_addSquishdot
  File /var/zope/Products/Squishdot/SquishSite.py, line 362, in __init__
    (Object: Traversable)
  File /var/zope/Products/Squishdot/Squishdot.py, line 100, in addArt
    (Object: Traversable)
  File /var/zope/Products/Squishdot/SquishSite.py, line 745, in addPosting
    (Object: Traversable)
  File /var/zope/Products/Squishdot/Article.py, line 57, in edit
  File /var/zope/Products/Squishdot/Posting.py, line 68, in index
  File /usr/share/zope/lib/python/Products/ZCatalog/ZCatalog.py, line 429, in
catalog_object
    (Object: Traversable)
  File /usr/share/zope/lib/python/Products/ZCatalog/Catalog.py, line 414, in
catalogObject
  File /usr/lib/python1.5/site-packages/SearchIndex/randid.py, line 89, in
randid
    (Object: randint)
  File /usr/lib/python1.5/site-packages/whrandom.py, line 97, in choice
IndexError: (see above)

----------------

Zope Version: Zope 2.3.2 (source release, python 1.5.2, linux2)
 
Python Version: 1.5.2 (#1, May 20 2001, 19:46:05) [GCC egcs-2.91.66
19990314/Linux (egcs- 

System Platform: linux-i386

cheers,

Chris