IMPORTANT! Zcatalog path handling changes in 2.3
Gang, In order to resolve untold number of situations where the Catalog does "stupid" things and returns less than useful information, we have heavily modified the information stored in the Catalog (and generated by CatalogAware). You can read about this here: http://dev.zope.org/Wikis/DevSite/Projects/ZCatalogVirtualHostFix/ You can find a tarball that contains everything updated here: http://www.zope.org/Members/petrilli/zcatalog-pathsupdate.tgz If you untar this in the root of your Zope installation you should get a new Zcatalog that has all the new code in it. Please read and test... This is especially important for people who are using Squishdot/etc. We hope to make a full code release with 2.3a2 sometime very soon. PLEASE take a look at this, and provide feedback ASAP. Chris -- | Christopher Petrilli Digital Creations | petrilli@digicool.com Where Zope comes from
* Christopher Petrilli (petrilli@digicool.com) [001218 14:13]:
PLEASE take a look at this, and provide feedback ASAP.
I would happy to, it looks like it does what I need (having siteaccess). However, I don't see a clear cut description what's changing and how. What needs to be done (in easy to understand language) to make sure it all goes smooth, etc. It's a big update, with lots of files. Will this work with 2.2.4? Is it dangerous? If you're asking for guinea pigs (bweep!) then I'm not sure I should be it, as I'm still trying to figure out what's going on in many ways. Ciao! -- There are no bad ideas, just bad jokes. The Doctor What: Guru to the Gods http://docwhat.gerf.org/ docwhat@gerf.org KF6VNC
On 12/18/00 4:08 PM, "The Doctor What" <docwhat@gerf.org> wrote:
* Christopher Petrilli (petrilli@digicool.com) [001218 14:13]:
PLEASE take a look at this, and provide feedback ASAP.
I would happy to, it looks like it does what I need (having siteaccess). However, I don't see a clear cut description what's changing and how. What needs to be done (in easy to understand language) to make sure it all goes smooth, etc.
It's actually not as big an update as it looks... I simply grabbed the packages, there's much less changed than it looks like :-) The big differences are all explained in the link above the file.
It's a big update, with lots of files. Will this work with 2.2.4? Is it dangerous? If you're asking for guinea pigs (bweep!) then I'm not sure I should be it, as I'm still trying to figure out what's going on in many ways.
It should work fine with 2.2.4. Chris -- | Christopher Petrilli Digital Creations | petrilli@digicool.com Where Zope comes from
From: The Doctor What <docwhat@gerf.org>
I would happy to, it looks like it does what I need (having siteaccess). However, I don't see a clear cut description what's changing and how. What needs to be done (in easy to understand language) to make sure it all goes smooth, etc.
It's one step off the link given before, and really the one page you need to read: http://dev.zope.org/Wikis/DevSite/Projects/ZCatalogVirtualHostFix/UpgradeFAQ
It's a big update, with lots of files. Will this work with 2.2.4? Is it dangerous? If you're asking for guinea pigs (bweep!) then I'm not sure I should be it, as I'm still trying to figure out what's going on in many ways.
If you run a copy of your site on this code, it will be evident immediately whether you have problems or not. If that's hard to do, you may want to at least set up a mini-site and export some test data to it. Authors of Products that use ZCatalog: PLEASE give feedback and try to document any problems or workarounds for your Product on the AffectedProducts page (linked from UpgradeFAQ in several places). Cheers, Evan @ digicool & 4-am
Christopher Petrilli wrote:
You can find a tarball that contains everything updated here:
http://www.zope.org/Members/petrilli/zcatalog-pathsupdate.tgz
If you untar this in the root of your Zope installation you should get a new Zcatalog that has all the new code in it. Please read and test... This is especially important for people who are using Squishdot/etc. We hope to make a full code release with 2.3a2 sometime very soon.
PLEASE take a look at this, and provide feedback ASAP.
Doesn't work with 2.3 from CVS, 2000-12-18 21:21 UTC I get a traceback like this: ------ 2000-12-18T21:16:09 ERROR(200) Zope Couldn't install ZCatalog Traceback (innermost last): File /mnt/scratch/dl/zope/wombat/lib/python/OFS/Application.py, line 496, in install_products (Object: ApplicationDefaultPermissions) (Info: ZCatalog) File /mnt/scratch/dl/zope/wombat/lib/python/Products/ZCatalog/__init__.py, line 113, in initialize File /mnt/scratch/dl/zope/wombat/lib/python/App/ProductContext.py, line 365, in registerHelp File /mnt/scratch/dl/zope/wombat/lib/python/App/ProductContext.py, line 298, in registerHelpTopic File /mnt/scratch/dl/zope/wombat/lib/python/OFS/ObjectManager.py, line 298, in _setObject (Object: Traversable) File /mnt/scratch/dl/zope/wombat/lib/python/HelpSys/HelpTopic.py, line 151, in manage_afterAdd (Object: HelpTopicBase) File /mnt/scratch/dl/zope/wombat/lib/python/HelpSys/HelpTopic.py, line 164, in index_object (Object: HelpTopicBase) File /mnt/scratch/dl/zope/wombat/lib/python/Products/ZCatalog/ZCatalog.py, line 379, in catalog_object (Object: Traversable) File /mnt/scratch/dl/zope/wombat/lib/python/Products/ZCatalog/Catalog.py, line 357, in catalogObject File /mnt/scratch/dl/zope/wombat/lib/python/SearchIndex/UnTextIndex.py, line 242, in index_object File /mnt/scratch/dl/zope/wombat/lib/python/HelpSys/APIHelpTopic.py, line 135, in SearchableText (Object: HelpTopicBase) TypeError: not enough arguments for format string And a bunch of warnings like this: ------ 2000-12-18T21:16:09 ERROR(200) Zope manage_beforeDelete() threw Traceback (innermost last): File /mnt/scratch/dl/zope/wombat/lib/python/OFS/ObjectManager.py, line 335, in _delObject (Object: Traversable) File /mnt/scratch/dl/zope/wombat/lib/python/HelpSys/HelpTopic.py, line 157, in manage_beforeDelete (Object: HelpTopicBase) File /mnt/scratch/dl/zope/wombat/lib/python/HelpSys/HelpTopic.py, line 167, in unindex_object (Object: HelpTopicBase) File /mnt/scratch/dl/zope/wombat/lib/python/Products/ZCatalog/ZCatalog.py, line 392, in uncatalog_object (Object: Traversable) File /mnt/scratch/dl/zope/wombat/lib/python/Products/ZCatalog/Catalog.py, line 389, in uncatalogObject File /mnt/scratch/dl/zope/wombat/lib/python/SearchIndex/UnKeywordIndex.py, line 151, in unindex_object NameError: set -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net
On 12/18/00 4:24 PM, "Steve Alexander" <steve@cat-box.net> wrote:
Doesn't work with 2.3 from CVS, 2000-12-18 21:21 UTC
ACK, I forgot that I also revealed afew bugs in other systems :/ I thought that I could just package up Zcatalog, but apparantly not.... Let me work on coming up with something new. Chris -- | Christopher Petrilli Digital Creations | petrilli@digicool.com Where Zope comes from
Christopher Petrilli wrote:
On 12/18/00 4:24 PM, "Steve Alexander" <steve@cat-box.net> wrote:
Doesn't work with 2.3 from CVS, 2000-12-18 21:21 UTC
ACK, I forgot that I also revealed afew bugs in other systems :/ I thought that I could just package up Zcatalog, but apparantly not.... Let me work on coming up with something new.
I can get your new ZCatalog to install and run with Zope 2.3 from CVS by commenting out the last two lines of lib/python/Products/ZCatalog/__init__.py: # context.registerHelp() # context.registerHelpTitle('Zope Help') Of course, I miss out on getting help with the new API if I do this :-) -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net
Christopher Petrilli wrote:
On 12/18/00 4:24 PM, "Steve Alexander" <steve@cat-box.net> wrote:
Doesn't work with 2.3 from CVS, 2000-12-18 21:21 UTC
I had the same problems with 2.2.5b1...
ACK, I forgot that I also revealed afew bugs in other systems :/ I thought that I could just package up Zcatalog, but apparantly not.... Let me work on coming up with something new.
Has any progress been made on this yet? cheers, Chris
participants (5)
-
Chris Withers -
Christopher Petrilli -
Evan Simpson -
Steve Alexander -
The Doctor What