Zope 2.8.0 Python 2.3.5 RHEL 3 I installed TextIndexNG 3.1.1 and associated extension_modules without a problem. Trying to add a TextIndexNG index to my catalog returns: Error Type: ComponentLookupError Error Value: 'Utilities' I'm pretty sure I followed all instructions and I've installed and used previous versions of TextIndexNG without a problem on other instances of Zope 2.8.x. Can anyone help figure out what's going wrong? Traceback follows... Traceback (innermost last): Module ZPublisher.Publish, line 113, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.PageTemplates.PageTemplateFile, line 110, in _exec Module Products.PageTemplates.PageTemplate, line 102, in pt_render - <PageTemplateFile at /test/Catalog/manage_addTextIndexNG3Form> Module TAL.TALInterpreter, line 190, in __call__ Module TAL.TALInterpreter, line 234, in interpret Module TAL.TALInterpreter, line 611, in do_loop_tal Module Products.PageTemplates.TALES, line 206, in setRepeat Module Products.PageTemplates.TALES, line 221, in evaluate - URL: manage_addTextIndexNG3Form - Line 155, Column 8 - Expression: standard:'context/get_splitters' - Names: {'container': <App.ProductContext.__FactoryDispatcher__ object at 0xb64020cc>, 'context': <App.ProductContext.__FactoryDispatcher__ object at 0xb64020cc>, 'default': <Products.PageTemplates.TALES.Default instance at 0xb6c6bdcc>, 'here': <App.ProductContext.__FactoryDispatcher__ object at 0xb64020cc>, 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb613e3cc>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb6c7ec6c>, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb613e3cc>, 'request': <HTTPRequest, URL=http://localhost:8080/test/Catalog/manage_addProduct/TextIndexNG3/manage_addTextIndexNG3Form>, 'root': <OFS.Application.Application object at 0xb644f32c>, 'template': <PageTemplateFile at /test/Catalog/manage_addTextIndexNG3Form>, 'traverse_subpath': [], 'user': garth} Module Products.PageTemplates.Expressions, line 183, in __call__ Module Products.PageTemplates.Expressions, line 178, in _eval Module Products.PageTemplates.Expressions, line 85, in render Module Products.TextIndexNG3, line 49, in get_splitters Module zope.component, line 87, in getUtilitiesFor Module zope.component, line 68, in getService Module zope.component.service, line 109, in getService ComponentLookupError: 'Utilities'
--On 5. Dezember 2005 13:34:15 -0500 "Garth B." <garthb@gmail.com> wrote:
Zope 2.8.0 Python 2.3.5 RHEL 3
I installed TextIndexNG 3.1.1 and associated extension_modules without a problem. Trying to add a TextIndexNG index to my catalog returns:
Error Type: ComponentLookupError Error Value: 'Utilities'
I am still missing a detailed description from your side how to reproduce this behaviour on nacked Plone or Zope installation. -aj
Sorry, I created a ZCatalog and when choosing TextIndexNG3 from the "Add" dropdown in my ZCatalog's Indexes tab, it immediately gives me this error. Thanks for any help you can provide! I'll repeat the traceback below: Traceback (innermost last): Module ZPublisher.Publish, line 113, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.PageTemplates.PageTemplateFile, line 110, in _exec Module Products.PageTemplates.PageTemplate, line 102, in pt_render - <PageTemplateFile at /test/Catalog/manage_addTextIndexNG3Form> Module TAL.TALInterpreter, line 190, in __call__ Module TAL.TALInterpreter, line 234, in interpret Module TAL.TALInterpreter, line 611, in do_loop_tal Module Products.PageTemplates.TALES, line 206, in setRepeat Module Products.PageTemplates.TALES, line 221, in evaluate - URL: manage_addTextIndexNG3Form - Line 155, Column 8 - Expression: standard:'context/get_splitters' - Names: {'container': <App.ProductContext.__FactoryDispatcher__ object at 0xb64020cc>, 'context': <App.ProductContext.__FactoryDispatcher__ object at 0xb64020cc>, 'default': <Products.PageTemplates.TALES.Default instance at 0xb6c6bdcc>, 'here': <App.ProductContext.__FactoryDispatcher__ object at 0xb64020cc>, 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb613e3cc>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb6c7ec6c>, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb613e3cc>, 'request': <HTTPRequest, URL=http://localhost:8080/test/Catalog/manage_addProduct/TextIndexNG3/manage_addTextIndexNG3Form>, 'root': <OFS.Application.Application object at 0xb644f32c>, 'template': <PageTemplateFile at /test/Catalog/manage_addTextIndexNG3Form>, 'traverse_subpath': [], 'user': garth} Module Products.PageTemplates.Expressions, line 183, in __call__ Module Products.PageTemplates.Expressions, line 178, in _eval Module Products.PageTemplates.Expressions, line 85, in render Module Products.TextIndexNG3, line 49, in get_splitters Module zope.component, line 87, in getUtilitiesFor Module zope.component, line 68, in getService Module zope.component.service, line 109, in getService ComponentLookupError: 'Utilities' On 12/5/05, Andreas Jung <lists@andreas-jung.com> wrote:
--On 5. Dezember 2005 13:34:15 -0500 "Garth B." <garthb@gmail.com> wrote:
Zope 2.8.0 Python 2.3.5 RHEL 3
I installed TextIndexNG 3.1.1 and associated extension_modules without a problem. Trying to add a TextIndexNG index to my catalog returns:
Error Type: ComponentLookupError Error Value: 'Utilities'
I am still missing a detailed description from your side how to reproduce this behaviour on nacked Plone or Zope installation.
-aj
--On 5. Dezember 2005 14:15:39 -0500 "Garth B." <garthb@gmail.com> wrote:
Sorry, I created a ZCatalog and when choosing TextIndexNG3 from the "Add" dropdown in my ZCatalog's Indexes tab, it immediately gives me this error.
Works like a charm..Somehow your Zope installation must be borked. Try with again with a fresh 2.8 installation. -aj
Sigh... figures... I'll use this as an excuse to upgrade to 2.8.4 Thanks! On 12/5/05, Andreas Jung <lists@andreas-jung.com> wrote:
--On 5. Dezember 2005 14:15:39 -0500 "Garth B." <garthb@gmail.com> wrote:
Sorry, I created a ZCatalog and when choosing TextIndexNG3 from the "Add" dropdown in my ZCatalog's Indexes tab, it immediately gives me this error.
Works like a charm..Somehow your Zope installation must be borked. Try with again with a fresh 2.8 installation.
-aj
What the heck! I get the exact same error with a fresh instance of 2.8.4! Am I just not installing this correctly? I've followed the instructions in doc/README.txt. I extract the contents of the tarball into my instance's Products directory. I go into the extension_modules directory and run "python2.3 setup.py install" It completes. I enter a python2.3 interactive shell and can "from zopyx import txng3" without error. The libraries were installed in /usr/local/lib/python2.3/site-packages. This python is the same one used for this installation of Zope. The TextIndexNG3 directory tree is accessible by the zope user. After restarting Zope, it shows up in the Products list normally (not broken). When trying to add a TextIndexNG3 to my ZCatalog is thows a "ComponentLookupError". Could there be a problem with our installation of python? It's currently used, seemingly without trouble, in two existing installations of Zope (different versions). The server is running two 2.8.0 instances and one 2.8.4 instance. This is a newly created second 2.8.4 instance to try resolve my TextIndexNG problems. Is there anything I can do to verify or confirm that whatever TextIndexNG is looking for is actually broken or missing? ------------------- Zope Version (Zope 2.8.4-final, python 2.3.5, linux2) Python Version 2.3.5 (#2, Jul 13 2005, 15:31:52) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-52)] System Platform linux2 SOFTWARE_HOME /usr/local/Zope/2.8.4-final/lib/python ZOPE_HOME /usr/local/Zope/2.8.4-final INSTANCE_HOME /usr/local/Zope/2.8.4-final/instances/clients CLIENT_HOME /usr/local/Zope/2.8.4-final/instances/clients/var ------------------- Traceback (innermost last): Module ZPublisher.Publish, line 113, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.PageTemplates.PageTemplateFile, line 110, in _exec Module Products.PageTemplates.PageTemplate, line 104, in pt_render - <PageTemplateFile at /test/catalog/manage_addTextIndexNG3Form> Module TAL.TALInterpreter, line 206, in __call__ Module TAL.TALInterpreter, line 250, in interpret Module TAL.TALInterpreter, line 651, in do_loop_tal Module Products.PageTemplates.TALES, line 206, in setRepeat Module Products.PageTemplates.TALES, line 221, in evaluate - URL: manage_addTextIndexNG3Form - Line 155, Column 8 - Expression: standard:'context/get_splitters' - Names: {'container': <App.ProductContext.__FactoryDispatcher__ object at 0xb62658ac>, 'context': <App.ProductContext.__FactoryDispatcher__ object at 0xb62658ac>, 'default': <Products.PageTemplates.TALES.Default instance at 0xb6c4af0c>, 'here': <App.ProductContext.__FactoryDispatcher__ object at 0xb62658ac>, 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb62290cc>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb6c5afac>, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb62290cc>, 'request': <HTTPRequest, URL=http://localhost:8081/test/catalog/manage_addProduct/TextIndexNG3/manage_addTextIndexNG3Form>, 'root': <Application at >, 'template': <PageTemplateFile at /test/catalog/manage_addTextIndexNG3Form>, 'traverse_subpath': [], 'user': admin} Module Products.PageTemplates.Expressions, line 185, in __call__ Module Products.PageTemplates.Expressions, line 180, in _eval Module Products.PageTemplates.Expressions, line 85, in render Module Products.TextIndexNG3, line 49, in get_splitters Module zope.component, line 87, in getUtilitiesFor Module zope.component, line 68, in getService Module zope.component.service, line 109, in getService ComponentLookupError: 'Utilities' On 12/5/05, Garth B. <garthb@gmail.com> wrote:
Sigh... figures... I'll use this as an excuse to upgrade to 2.8.4
Thanks!
On 12/5/05, Andreas Jung <lists@andreas-jung.com> wrote:
--On 5. Dezember 2005 14:15:39 -0500 "Garth B." <garthb@gmail.com> wrote:
Sorry, I created a ZCatalog and when choosing TextIndexNG3 from the "Add" dropdown in my ZCatalog's Indexes tab, it immediately gives me this error.
Works like a charm..Somehow your Zope installation must be borked. Try with again with a fresh 2.8 installation.
-aj
Garth B. wrote:
What the heck! I get the exact same error with a fresh instance of 2.8.4! Am I just not installing this correctly?
You'll see the problem if you start Zope in debug mode: TextIndexNG3/adapters/configure.zcml depends on ATContentTypes. Cheers, Yuppie
--On 6. Dezember 2005 21:19:08 +0100 yuppie <y.2005-@wcm-solutions.de> wrote:
Garth B. wrote:
What the heck! I get the exact same error with a fresh instance of 2.8.4! Am I just not installing this correctly?
You'll see the problem if you start Zope in debug mode: TextIndexNG3/adapters/configure.zcml depends on ATContentTypes.
Ups.......... mea culpa...I have not thought of this dependency...I'll thinkn about how to resolve this issue in a hopefully sane way... -aj
--On 6. Dezember 2005 22:25:25 +0100 Andreas Jung <lists@andreas-jung.com> wrote:
--On 6. Dezember 2005 21:19:08 +0100 yuppie <y.2005-@wcm-solutions.de> wrote:
Garth B. wrote:
What the heck! I get the exact same error with a fresh instance of 2.8.4! Am I just not installing this correctly?
You'll see the problem if you start Zope in debug mode: TextIndexNG3/adapters/configure.zcml depends on ATContentTypes.
Ups.......... mea culpa...I have not thought of this dependency...I'll thinkn about how to resolve this issue in a hopefully sane way...
However when I run TXNG with a bare Zope 2.8 installation then Zope fails to start in a sane way with an error message telling you that there is a ZCML configuration error because the ATCT classes are not available but I can not see the error message you posted earlier. -aj
Andreas Jung wrote:
--On 6. Dezember 2005 22:25:25 +0100 Andreas Jung <lists@andreas-jung.com> wrote:
--On 6. Dezember 2005 21:19:08 +0100 yuppie <y.2005-@wcm-solutions.de> wrote:
Garth B. wrote:
What the heck! I get the exact same error with a fresh instance of 2.8.4! Am I just not installing this correctly?
You'll see the problem if you start Zope in debug mode: TextIndexNG3/adapters/configure.zcml depends on ATContentTypes.
Ups.......... mea culpa...I have not thought of this dependency...I'll thinkn about how to resolve this issue in a hopefully sane way...
However when I run TXNG with a bare Zope 2.8 installation then Zope fails to start in a sane way with an error message telling you that there is a ZCML configuration error because the ATCT classes are not available but I can not see the error message you posted earlier.
If you turn off debug mode Zope starts up with broken ZCML configuration. (Don't know why - Zope is seriously broken in that case and you don't see any useful error messages.) Maybe you need Five 1.2 to see the error Garth posted earlier. The i18n machinery of Five doesn't work without the utilities set up by ZCML. Cheers, Yuppie
--On 7. Dezember 2005 09:36:20 +0100 yuppie <y.2005-@wcm-solutions.de> wrote:
If you turn off debug mode Zope starts up with broken ZCML configuration. (Don't know why - Zope is seriously broken in that case and you don't see any useful error messages.)
When I turn of the debug mode then it fails with another error :-) Anyway...the workaround would be to comment out the configuration in TextIndexNG3/adapters/configure.zcml. -aj
yuppie wrote:
You'll see the problem if you start Zope in debug mode: TextIndexNG3/adapters/configure.zcml depends on ATContentTypes.
Ups.......... mea culpa...I have not thought of this dependency...I'll thinkn about how to resolve this issue in a hopefully sane way...
However when I run TXNG with a bare Zope 2.8 installation then Zope fails to start in a sane way with an error message telling you that there is a ZCML configuration error because the ATCT classes are not available but I can not see the error message you posted earlier.
If you turn off debug mode Zope starts up with broken ZCML configuration. (Don't know why - Zope is seriously broken in that case and you don't see any useful error messages.)
I fixed this in recent zope.configuration. Should be in 2.8.5b1. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg@nuxeo.com
--On 7. Dezember 2005 15:05:49 +0100 Florent Guillaume <fg@nuxeo.com> wrote:
I fixed this in recent zope.configuration. Should be in 2.8.5b1.
Talking of 2.8.5...how about a 2.8.5 release before X-mas (around December, 20th)? -aj
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas Jung wrote:
--On 7. Dezember 2005 15:05:49 +0100 Florent Guillaume <fg@nuxeo.com> wrote:
I fixed this in recent zope.configuration. Should be in 2.8.5b1.
Talking of 2.8.5...how about a 2.8.5 release before X-mas (around December, 20th)?
+1. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDl02T+gerLs4ltQ4RAsNiAKCnUBDBRYv6FdxR0LKqd9GryKZTkACdHqV1 vH6Dez68g3PNWF9KzCqvtIY= =Z/DC -----END PGP SIGNATURE-----
Tres Seaver wrote:
Talking of 2.8.5...how about a 2.8.5 release before X-mas (around December, 20th)?
+1.
+1 too :-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (6)
-
Andreas Jung -
Chris Withers -
Florent Guillaume -
Garth B. -
Tres Seaver -
yuppie