[Zope] Squishdot Error on Zope 2.6.0

sean.upton@uniontrib.com sean.upton@uniontrib.com
Sun, 27 Oct 2002 20:40:32 -0800


A temporary workaround is easy enough: view the traceback in an error log
item (new to 2.6) and comment out the offending line of code in the
Squishdot product.  I can't remember which line in which file, but it is the
one that tries to delete the 'summary' metadata entry (I think this is line
155 in SquishSite.py).  Either that, or wrap this in try/except (which is
what I did). This should be enough to get Squishdot running with Zope 2.6.0
(I only tested a while back in Zope 2.6a, though).

Sean

-----Original Message-----
From: Jens Vagelpohl [mailto:jens@zope.com]
Sent: Sunday, October 27, 2002 1:33 PM
To: viriya
Cc: zope@zope.org
Subject: Re: [Zope] Squishdot Error on Zope 2.6.0


the squishdot code tries to delete a catalog metadata column without 
even checking if this column is in the catalog at all. bad coding.

i suggest you get in touch with the maintainer (i believe it is chris 
withers) and describe the problem to him.

jens



On Sunday, Oct 27, 2002, at 15:49 US/Eastern, viriya wrote:

>
> Hi,
> I install new Zope-2.6.0 on FreeBSD 4.6.2 and add Squishdot 1.4.1 
> products with no error message found in control pannel but when I add 
> new squishdot site or zexp from my backup import a message show :
> Error Value: list.index(x): x not in list
> Site Error Log at  /error_log
> Traceback (innermost last):
> Module ZPublisher.Publish, line 98, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 39, in call_object
> Module Products.Squishdot, line 49, in manage_addSquishdot
> Module Products.Squishdot.SquishSite, line 182, in __init__
> Module Products.Squishdot.SquishSite, line 155, in _buildIndexing
> Module Products.ZCatalog.Catalog, line 208, in delColumn
> ValueError: list.index(x): x not in list
> Do you have any suggestion to solve this problem?
> Thank,
> Viriya


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )