[Zope-dev] Zope 2.7 b3 problem with reindexing catalog

2003-11-19 Thread robert
If I try to reindex a (plone) portal_catalog I get the following error

Traceback (innermost last):

* Module ZPublisher.Publish, line 100, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module Products.ZCatalog.ZCatalog, line 474, in manage_reindexIndex
* Module Products.ZCatalog.ZCatalog, line 459, in reindexIndex

TypeError: catalog_object() got an unexpected keyword argument 
'update_metadata'

Display traceback as text

-- 
mit freundlichen Grüssen

Robert Rottermann
www.redCOR.ch


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.7 b3 problem with reindexing catalog

2003-11-19 Thread Andreas Jung
I can not reproduce this. Can you give us detailed description how to 
reproduce it
or track it down on your own?

-aj

--On Mittwoch, 19. November 2003 17:15 Uhr +0100 robert [EMAIL PROTECTED] 
wrote:

If I try to reindex a (plone) portal_catalog I get the following error

Traceback (innermost last):

* Module ZPublisher.Publish, line 100, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module Products.ZCatalog.ZCatalog, line 474, in manage_reindexIndex
* Module Products.ZCatalog.ZCatalog, line 459, in reindexIndex
TypeError: catalog_object() got an unexpected keyword argument
'update_metadata'
Display traceback as text




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.7 b3 problem with reindexing catalog

2003-11-19 Thread Casey Duncan
On Wed, 19 Nov 2003 17:15:13 +0100
robert [EMAIL PROTECTED] wrote:

 If I try to reindex a (plone) portal_catalog I get the following error
 
 Traceback (innermost last):
 
 * Module ZPublisher.Publish, line 100, in publish
 * Module ZPublisher.mapply, line 88, in mapply
 * Module ZPublisher.Publish, line 40, in call_object
 * Module Products.ZCatalog.ZCatalog, line 474, in manage_reindexIndex
 * Module Products.ZCatalog.ZCatalog, line 459, in reindexIndex
 
 TypeError: catalog_object() got an unexpected keyword argument 
 'update_metadata'
 
 Display traceback as text

What version of Zope? I think you need to use 2.6.2+ which has this argument.

-Casey

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.7 b3 problem with reindexing catalog

2003-11-19 Thread robert
I did not track it down really, but fixed it by removing the update_metadata 
argument in ZCatalog.py on line 459.

What I did is creating a Plone Site, and then went to portal_catalog.indexes 
and reindexed all indices.

I am at home now, where I do not have 2.7 installed.

Robert

Am Mittwoch, 19. November 2003 17:40 schrieb Andreas Jung:
 I can not reproduce this. Can you give us detailed description how to
 reproduce it
 or track it down on your own?

 -aj

 --On Mittwoch, 19. November 2003 17:15 Uhr +0100 robert [EMAIL PROTECTED]

 wrote:
  If I try to reindex a (plone) portal_catalog I get the following error
 
  Traceback (innermost last):
 
  * Module ZPublisher.Publish, line 100, in publish
  * Module ZPublisher.mapply, line 88, in mapply
  * Module ZPublisher.Publish, line 40, in call_object
  * Module Products.ZCatalog.ZCatalog, line 474, in manage_reindexIndex
  * Module Products.ZCatalog.ZCatalog, line 459, in reindexIndex
 
  TypeError: catalog_object() got an unexpected keyword argument
  'update_metadata'
 
  Display traceback as text

-- 
mit freundlichen Grüssen

Robert Rottermann
www.redCOR.ch


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.7 b3 problem with reindexing catalog

2003-11-19 Thread robert
I did some more investigation:
The problem does occur when a CMF portal_catalog is  reindexed.
It does not happen with plain catalog 
Robert

Am Mittwoch, 19. November 2003 17:40 schrieb Andreas Jung:
 I can not reproduce this. Can you give us detailed description how to
 reproduce it
 or track it down on your own?

 -aj

 --On Mittwoch, 19. November 2003 17:15 Uhr +0100 robert [EMAIL PROTECTED]

 wrote:
  If I try to reindex a (plone) portal_catalog I get the following error
 
  Traceback (innermost last):
 
  * Module ZPublisher.Publish, line 100, in publish
  * Module ZPublisher.mapply, line 88, in mapply
  * Module ZPublisher.Publish, line 40, in call_object
  * Module Products.ZCatalog.ZCatalog, line 474, in manage_reindexIndex
  * Module Products.ZCatalog.ZCatalog, line 459, in reindexIndex
 
  TypeError: catalog_object() got an unexpected keyword argument
  'update_metadata'
 
  Display traceback as text

-- 
mit freundlichen Grüssen

Robert Rottermann
www.redCOR.ch


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )