DSM

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Adding TextIndexNG 3.1.1 error

    13 answers - 2643 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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 , line 110, in _exec
    Module , line 102, in pt_render
    - <PageTemplateFile at />
    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': < object
    at 0xb64020cc>,
    'context': < object at
    0xb64020cc>,
    'default': < instance at 0xb6c6bdcc>,
    'here': < object at 0xb64020cc>,
    'loop': < object at 0xb613e3cc>,
    'modules':
    < instance at
    0xb6c7ec6c>,
    'nothing': None,
    'options': {'args': ()},
    'repeat': < object at
    0xb613e3cc>,
    'request': <HTTPRequest,
    >,

    'root': <FS.Application.Application object at 0xb644f32c>,
    'template': <PageTemplateFile at
    />,
    'traverse_subpath': [],
    'user': garth}
    Module , line 183, in __call__
    Module , line 178, in _eval
    Module , 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'
    Zope maillist - Zope (AT) zope (DOT) org
    ** No cross posts or HTML encoding! **
    (Related lists -
    )
  • No.1 | | 3007 bytes | |

    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 , line 110, in _exec
    Module , line 102, in pt_render
    - <PageTemplateFile at />
    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': < object
    at 0xb64020cc>,
    'context': < object at
    0xb64020cc>,
    'default': < instance at 0xb6c6bdcc>,
    'here': < object at 0xb64020cc>,
    'loop': < object at 0xb613e3cc>,
    'modules':
    < instance at
    0xb6c7ec6c>,
    'nothing': None,
    'options': {'args': ()},
    'repeat': < object at
    0xb613e3cc>,
    'request': <HTTPRequest,
    >,

    'root': <FS.Application.Application object at 0xb644f32c>,
    'template': <PageTemplateFile at
    />,
    'traverse_subpath': [],
    'user': garth}
    Module , line 183, in __call__
    Module , line 178, in _eval
    Module , 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'

    12/5/05, Andreas Jung <lists (AT) andreas-jung (DOT) comwrote:
    --
    5. Dezember 2005 13:34:15 -0500 "Garth B." <garthb (AT) gmail (DOT) comwrote:

    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
    >
    >
    >
    >


    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )
  • No.2 | | 626 bytes | |

    5. Dezember 2005 14:15:39 -0500 "Garth B." <garthb (AT) gmail (DOT) comwrote:

    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 charmSomehow your Zope installation must be borked.
    Try with again with a fresh 2.8 installation.
    -aj

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )

    PGP SIGNATURE
    Version: GnuPG v1.4.2 (Darwin)

    5qt0CPI9FnWVZdhyXcp4+0o=
    =4I2a
    PGP SIGNATURE
  • No.3 | | 727 bytes | |

    Sigh figures I'll use this as an excuse to upgrade to 2.8.4

    Thanks!

    12/5/05, Andreas Jung <lists (AT) andreas-jung (DOT) comwrote:
    --
    5. Dezember 2005 14:15:39 -0500 "Garth B." <garthb (AT) gmail (DOT) comwrote:

    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 charmSomehow your Zope installation must be borked.
    Try with again with a fresh 2.8 installation.

    -aj
    >
    >
    >


    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )
  • No.4 | | 4327 bytes | |

    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
    /

    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
    SFTWARE_HME /
    ZPE_HME /usr/local/Zope/2.8.4-final
    INSTANCE_HME /
    CLIENT_HME /

    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 , line 110, in _exec
    Module , line 104, in pt_render
    - <PageTemplateFile at />
    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': < object
    at 0xb62658ac>,
    'context': < object at
    0xb62658ac>,
    'default': < instance at 0xb6c4af0c>,
    'here': < object at 0xb62658ac>,
    'loop': < object at 0xb62290cc>,
    'modules':
    < instance at
    0xb6c5afac>,
    'nothing': None,
    'options': {'args': ()},
    'repeat': < object at
    0xb62290cc>,
    'request': <HTTPRequest,
    >,

    'root': <Application at >,
    'template': <PageTemplateFile at
    />,
    'traverse_subpath': [],
    'user': admin}
    Module , line 185, in __call__
    Module , line 180, in _eval
    Module , 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'

    12/5/05, Garth B. <garthb (AT) gmail (DOT) comwrote:
    Sigh figures I'll use this as an excuse to upgrade to 2.8.4

    Thanks!

    12/5/05, Andreas Jung <lists (AT) andreas-jung (DOT) comwrote:
    --
    5. Dezember 2005 14:15:39 -0500 "Garth B." <garthb (AT) gmail (DOT) comwrote:

    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 charmSomehow your Zope installation must be borked.
    Try with again with a fresh 2.8 installation.

    -aj
    >
    >
    >
    >


    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )
  • No.5 | | 759 bytes | |

    6. Dezember 2005 21:19:08 +0100 yuppie <y.2005- (AT) wcm-solutions (DOT) 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:
    depends on ATContentTypes.

    Ups mea culpaI have not thought of this dependencyI'll
    thinkn about how to resolve this issue in a hopefully sane way
    -aj

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )

    PGP SIGNATURE
    Version: GnuPG v1.4.2 (Darwin)

    G1GkaQ+q3y0TgPjkr8nPo5g=
    =Z/e3
    PGP SIGNATURE
  • No.6 | | 392 bytes | |

    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:
    depends on ATContentTypes.

    Cheers, Yuppie

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )
  • No.7 | | 1272 bytes | |

    6. Dezember 2005 22:25:25 +0100 Andreas Jung <lists (AT) andreas-jung (DOT) com
    wrote:

    --
    6. Dezember 2005 21:19:08 +0100 yuppie <y.2005- (AT) wcm-solutions (DOT) 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:
    >depends on ATContentTypes.
    >>

    >

    Ups mea culpaI have not thought of this dependencyI'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

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )

    PGP SIGNATURE
    Version: GnuPG v1.4.2 (Darwin)

    l+AP9/+2v/2d01UGH0XiDjY=
    =drF6
    PGP SIGNATURE
  • No.8 | | 1577 bytes | |

    Andreas Jung wrote:

    6. Dezember 2005 22:25:25 +0100 Andreas Jung
    <lists (AT) andreas-jung (DOT) comwrote:
    >>

    >6. Dezember 2005 21:19:08 +0100 yuppie
    ><y.2005- (AT) wcm-solutions (DOT) 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:
    depends on ATContentTypes.
    >>

    >Ups mea culpaI have not thought of this dependencyI'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

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )
  • No.9 | | 682 bytes | |

    7. Dezember 2005 09:36:20 +0100 yuppie <y.2005- (AT) wcm-solutions (DOT) 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 :-)
    Anywaythe workaround would be to comment out the configuration
    in
    -aj

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )

    PGP SIGNATURE
    Version: GnuPG v1.4.2 (Darwin)

    RZ20ahR4VAZZcQA9Sc=
    =il5o
    PGP SIGNATURE
  • No.10 | | 906 bytes | |

    yuppie wrote:
    You'll see the problem if you start Zope in debug mode:
    depends on ATContentTypes.

    Ups mea culpaI have not thought of this dependencyI'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
  • No.11 | | 503 bytes | |

    7. Dezember 2005 15:05:49 +0100 Florent Guillaume <fg (AT) nuxeo (DOT) comwrote:

    I fixed this in recent zope.configuration. Should be in 2.8.5b1.

    Talking of 2.8.5how about a 2.8.5 release before X-mas (around December,
    20th)?
    -aj

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )

    PGP SIGNATURE
    Version: GnuPG v1.4.2 (Darwin)

    NqlUtTns2QiWKIqjsG5a6/s=
    =c6p7
    PGP SIGNATURE
  • No.12 | | 909 bytes | |

    PGP SIGNED MESSAGE
    Hash: SHA1

    Andreas Jung wrote:

    7. Dezember 2005 15:05:49 +0100 Florent Guillaume
    <fg (AT) nuxeo (DOT) comwrote:


    >>

    >I fixed this in recent zope.configuration. Should be in 2.8.5b1.
    >>


    Talking of 2.8.5how about a 2.8.5 release before X-mas (around
    December, 20th)?

    +1.

    Tres.
    - --
    Tres Seaver +1 202-558-7113 tseaver (AT) palladion (DOT) com
    Palladion Software "Excellence by Design" http://palladion.com
    PGP SIGNATURE
    Version: GnuPG v1.4.1 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    vH6Dez68g3PNWF9KzCqvtIY=
    =Z/DC
    PGP SIGNATURE

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )
  • No.13 | | 215 bytes | |

    Tres Seaver wrote:
    >>Talking of 2.8.5how about a 2.8.5 release before X-mas (around
    >>December, 20th)?

    +1.
    +1 too :-)
    Chris

Re: Adding TextIndexNG 3.1.1 error


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "DSM"

EMSDN.COM