[Zope-CMF] RE: Catalog Tool Schema broken? (was: Re: [Plone-developers] Problem adding a Collector to my Plone site)

Jeff Norris Jeff.Norris@jpl.nasa.gov
Thu, 18 Jul 2002 11:11:09 -0700


I am using Zope 2.5.1, CMF 1.3, and Plone 0.9.9.  I am not using any CVS
versions.

Jeff

/**
 * Jeff.Norris@jpl.nasa.gov
 * http://robotics.jpl.nasa.gov/people/jnorris/
 */

> -----Original Message-----
> From: plone-developers-admin@lists.sourceforge.net
> [mailto:plone-developers-admin@lists.sourceforge.net]On Behalf Of Sidnei
> da Silva
> Sent: Thursday, July 18, 2002 9:04 AM
> To: alan runyan; Jeff Norris; plone-developers@lists.sourceforge.net;
> zope-cmf@zope.org
> Subject: Catalog Tool Schema broken? (was: Re: [Plone-developers]
> Problem adding a Collector to my Plone site)
>
>
> What a mess! Something must be very wrong here. Are you using
> Zope2.5.1 with
> CMF
> and Plone from CVS? This worked fine to me.
>
> Here's what i changed:
> http://cvs.zope.org/CMF/CMFCollector/Collector.py.diff?r1=1.33&r2=1.34
>
> The collector_catalog is a subclass of Catalog Tool, and the Catalog Tool
> constructs an instance by iterating through the schema and adding
> columns and
> indexes. If we are not sure about *what version* of CMF/Zope
> stopped adding
> the
> id column, i think that we must make the catalog creation more
> aware of the
> errors that can happen. (like, a column that already exists.
>
> Jeff: Please confirm the version of Zope/CMF/Plone that you are using.
>
> On Quinta 18 Julho 2002 00:53, alan runyan wrote:
> | Jeff.
> |
> | the newer versions of ZCatalog do not add 'id' columns to ZCatalog's.
> | today sidnei made it so that ZCatalogs
> | add the id property to index and metadata.  but you are using a older
> | version of ZCatalog and sidnei most likely did not
> | check to see if this property already exists.
> |
> | sidnei - please look at this.
> |
> | ~runyaga
> |
> | ----- Original Message -----
> | From: "Jeff Norris" <Jeff.Norris@jpl.nasa.gov>
> | To: <plone-developers@lists.sourceforge.net>
> | Sent: Wednesday, July 17, 2002 8:17 PM
> | Subject: [Plone-developers] Problem adding a Collector to my Plone site
> |
> | > I'm about to go public with my new Plone site (a page at NASA/JPL
> |
> | dedicated
> |
> | > to the distribution and support of one of the operations tools for the
> |
> | 2003
> |
> | > Mars Exploration Rover mission), but would first like to add
> a Collector.
> | > I've downloaded the CMF collector and have followed all of
> the steps in
> |
> | its
> |
> | > INSTALL.txt, right up to the point where I add a new Collector in the
> |
> | Plone
> |
> | > folder view.  When I try to do this, I get this error:
> | >
> | > Error Type Column Exists
> | > Error Message (blank)
> | > Error Value The column exists
> | >
> | > I include the traceback below.
> | >
> | > I've even tried adding adding a Collector to a brand new
> Plone site, just
> |
> | to
> |
> | > see if the problem had to do with one of the modifications I
> have made to
> |
> | my
> |
> | > site, but it didn't work in the fresh site either.  I'd
> really appreciate
> |
> | it
> |
> | > if one of you could help me figure out what the problem is.
> | >
> | > Thanks a lot!
> | >
> | > Jeff Norris
> | >
> | > /**
> | >  * Jeff.Norris@jpl.nasa.gov
> | >  * http://robotics.jpl.nasa.gov/people/jnorris/
> | >  */
> | >
> | > Traceback (innermost last):
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/ZPublis
> her/Publi
> |s
> |
> | > h.py, line 150, in publish_module
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/ZPublis
> her/Publi
> |s
> |
> | > h.py, line 114, in publish
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Zope/__
> init__.py
> |,
> |
> | > line 159, in zpublisher_exception_hook
> | >     (Object: WITS)
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/ZPublis
> her/Publi
> |s
> |
> | > h.py, line 98, in publish
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/ZPublis
> her/mappl
> |y
> |
> | > .py, line 88, in mapply
> | >     (Object: createObject)
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/ZPublis
> her/Publi
> |s
> |
> | > h.py, line 39, in call_object
> | >     (Object: createObject)
> | >   File
> |
> |
> /home/bisc3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Products/
> CMFCore/F
> |S
> |
> | > PythonScript.py, line 88, in __call__
> | >     (Object: createObject)
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Shared/
> DC/Script
> |s
> |
> | > /Bindings.py, line 252, in __call__
> | >     (Object: createObject)
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Shared/
> DC/Script
> |s
> |
> | > /Bindings.py, line 283, in _bindAndExec
> | >     (Object: createObject)
> | >   File
> |
> |
> /home/bisc3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Products/
> CMFCore/F
> |S
> |
> | > PythonScript.py, line 122, in _exec
> | >     (Object: createObject)
> | >     (Info: ({'script': <FSPythonScript instance at f2e810>, 'context':
> | > <CMFSite instance at f401f8>, 'container': <CMFSite instance
> at f401f8>,
> | > 'traverse_subpath': []}, (None, 'Collector'), {}, (None, None)))
> | >   File Script (Python), line 11, in createObject
> | >   File
> |
> |
> /home/bisc3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Products/
> CMFCore/P
> |o
> |
> | > rtalFolder.py, line 342, in invokeFactory
> | >     (Object: WITS)
> | >   File
> |
> |
> /home/bisc3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Products/
> CMFCore/T
> |y
> |
> | > pesTool.py, line 756, in constructContent
> | >     (Object: portal_types)
> | >   File
> |
> |
> /home/bisc3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Products/
> CMFCore/T
> |y
> |
> | > pesTool.py, line 440, in constructInstance
> | >     (Object: Collector)
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Product
> s/CMFColl
> |e
> |
> | > ctor/Collector.py, line 524, in addCollector
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Product
> s/CMFColl
> |e
> |
> | > ctor/Collector.py, line 117, in __init__
> | >     (Object: Collector.2002-07-17.0847)
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Product
> s/CMFColl
> |e
> |
> | > ctor/Collector.py, line 162, in _setup_internal_catalog
> | >     (Object: Collector.2002-07-17.0847)
> | >   File
> |
> |
> /home/bisc3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Products/
> CMFCore/C
> |a
> |
> | > talogTool.py, line 86, in __init__
> | >     (Object: collector_catalog)
> | >   File
> |
> |
> /home/bisc3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Products/
> CMFCore/C
> |a
> |
> | > talogTool.py, line 161, in _initIndexes
> | >     (Object: collector_catalog)
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Product
> s/ZCatalo
> |g
> |
> | > /ZCatalog.py, line 839, in addColumn
> | >     (Object: collector_catalog)
> | >   File
> |
> |
> /export/home3/zope/Zope-2.5.1-solaris-2.6-sparc/lib/python/Product
> s/ZCatalo
> |g
> |
> | > /Catalog.py, line 189, in addColumn
> | > Column Exists: (see above)
> | >
> | >
> | >
> | > -------------------------------------------------------
> | > This sf.net email is sponsored by:ThinkGeek
> | > Welcome to geek heaven.
> | > http://thinkgeek.com/sf
> | > _______________________________________________
> | > Plone-developers mailing list
> | > Plone-developers@lists.sourceforge.net
> | > https://lists.sourceforge.net/lists/listinfo/plone-developers
>
> --
> Sidnei da Silva (dreamcatcher) <sidnei@x3ng.com.br>
> X3ng Web Technology <http://www.x3ng.com.br>
> GNU/Linux user 257852
> Debian GNU/Linux 3.0 (Sid) 2.4.18-newpmac ppc
>
> A programming language is low level when its programs require attention
> to the irrelevant.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Plone-developers mailing list
> Plone-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plone-developers
>