[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-cmf
Subject:    Re: [Zope-CMF] upgrade to CMF1.2; pecularities.
From:       Lucas Hofman <lucas.hofman () pgs ! com>
Date:       2002-01-28 11:10:52
[Download RAW message or body]

Tres Seaver wrote:

> 
> This message is generated because your existing 'portal_catalog'
> contains "old-style" indexes.  There is an upgrade script available,
> designed to be run as an ExternalMethod:
> 
>   Module: CMFDefault.update_catalogIndexes
> 
>   Function: update_catalogIndexes
> 
> And yes, this problem should be noted in ISSUES.txt (reading your
> other e-mail, where you discover the source of the problem).
> 


Looking at the script I wonder why only the allowedRolesAndUsers, the 
effective and the expires indexes are updated.

In addition the script crashes:

Error Type: AttributeError
Error Value: 'None' object has no attribute 'script'

Traceback (innermost last):
   File 
/usr/share/Zope-2.4.3-linux2-x86/lib/python/ZPublisher/Publish.py, line 
223, in publish_module
   File 
/usr/share/Zope-2.4.3-linux2-x86/lib/python/ZPublisher/Publish.py, line 
187, in publish
   File /usr/share/Zope-2.4.3-linux2-x86/lib/python/Zope/__init__.py, 
line 226, in zpublisher_exception_hook
     (Object: research)
   File 
/usr/share/Zope-2.4.3-linux2-x86/lib/python/ZPublisher/Publish.py, line 
171, in publish
   File 
/usr/share/Zope-2.4.3-linux2-x86/lib/python/ZPublisher/mapply.py, line 
160, in mapply
     (Object: updateIndexes)
   File 
/usr/share/Zope-2.4.3-linux2-x86/lib/python/ZPublisher/Publish.py, line 
112, in call_object
     (Object: updateIndexes)
   File 
/usr/share/Zope-2.4.3-linux2-x86/lib/python/Products/ExternalMethod/ExternalMethod.py, 
line 274, in __call__
     (Object: updateIndexes)
     (Info: ((<SeresPortalBase instance at 94d2a98>,), {}, None))
   File 
/usr/share/Zope-2.4.3-linux2-x86/lib/python/Products/CMFDefault/Extensions/update_catalogIndexes.py, 
line 14, in update_catalogIndexes
     (Object: research)
   File 
/usr/share/Zope-2.4.3-linux2-x86/lib/python/Products/ZCatalog/ZCatalog.py, 
line 529, in manage_reindexIndex
     (Object: portal_catalog)
   File 
/usr/share/Zope-2.4.3-linux2-x86/lib/python/Products/ZCatalog/ZCatalog.py, 
line 513, in reindexIndex
     (Object: portal_catalog)
   File 
/usr/share/Zope-2.4.3-linux2-x86/lib/python/Products/ZCatalog/ZCatalog.py, 
line 795, in resolve_url
     (Object: portal_catalog)
AttributeError: (see above)


Regards,
Lucas



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic