[Zope] Problems installings TextIndexNG

Roel Van den Bergh roel at planetinterior.com
Mon Aug 11 11:16:03 EDT 2003


I used the same Python-2.1.3 for both the Zope build and the extensions.
Build Zope as normal user.
Had to build extensions as root, normal user build gave complaints about
insufficiant privileges.

[root at PlanetInterior TextIndexNG]# ls -al
total 528
drwx------   20 RoelV    RoelV        4096 Aug  9 17:02 .
drwxrwxr-x   35 RoelV    RoelV        4096 Aug 10 11:44 ..
-rw-rw-r--    1 RoelV    RoelV        1610 Jan  6  2003 BaseConverter.py
-rw-r--r--    1 root     root         3839 Aug  9 15:45 BaseConverter.pyc
-rw-rw-r--    1 RoelV    RoelV         797 Jan  6  2003 BaseParser.py
-rw-r--r--    1 root     root         1619 Aug  9 15:45 BaseParser.pyc
-rw-rw-r--    1 RoelV    RoelV        1924 Jan  6  2003 BaseThesaurus.py
drwxrwxr-x    4 RoelV    RoelV        4096 Aug  9 17:02 build
-rw-rw-r--    1 RoelV    RoelV         586 Jan  6  2003 classVerify.py
-rw-r--r--    1 root     root          415 Aug  9 15:45 classVerify.pyc
drwxrwxr-x    4 RoelV    RoelV        4096 Jan  6  2003 CompressedList
-rw-rw-r--    1 RoelV    RoelV         592 Jan  6  2003 ConverterRegistry.py
-rw-r--r--    1 root     root          711 Aug  9 15:45
ConverterRegistry.pyc
drwxrwxr-x    3 RoelV    RoelV        4096 Aug  9 15:45 converters
drwx------    2 RoelV    RoelV        4096 Jan  6  2003 CVS
drwxrwxr-x    3 RoelV    RoelV        4096 Jan  6  2003 deprecated
drwxrwxr-x    3 RoelV    RoelV        4096 Jan  6  2003 dtml
drwxrwxr-x    3 RoelV    RoelV        4096 Jan  6  2003 help
drwxrwxr-x    3 RoelV    RoelV        4096 Jan  6  2003 images
-rw-rw-r--    1 RoelV    RoelV        2683 Jan  6  2003 __init__.py
-rw-rw-r--    1 RoelV    RoelV        4009 Aug  9 15:43 __init__.pyc
-rw-rw-r--    1 RoelV    RoelV         145 Jan  6  2003 INSTALL
-rwxrwxr-x    1 RoelV    RoelV        5835 Jan  6  2003 interactiveDemo.py
drwxrwxr-x    3 RoelV    RoelV        4096 Aug  9 15:45 interfaces
-rw-rw-r--    1 RoelV    RoelV         573 Jan  6  2003 LexiconRegistry.py
-rw-r--r--    1 root     root          683 Aug  9 15:45 LexiconRegistry.pyc
drwxrwxr-x    3 RoelV    RoelV        4096 Jan  7  2003 lexicons
-rwxrwxr-x    1 RoelV    RoelV         958 Jan  6  2003 LICENSE.txt
-rw-rw-r--    1 RoelV    RoelV         991 Jan  6  2003 logger.py
-rw-r--r--    1 root     root         1986 Aug  9 15:45 logger.pyc
-rw-rw-r--    1 RoelV    RoelV       71082 Jan  6  2003 logging.py
-rw-r--r--    1 root     root        85113 Aug  9 15:45 logging.pyc
-rw-rw-r--    1 RoelV    RoelV         473 Jan  6  2003 Makefile
-rw-rw-r--    1 RoelV    RoelV         761 Jan  6  2003 MANIFEST
-rw-rw-r--    1 RoelV    RoelV        2468 Jan  6  2003 Normalizer.py
-rw-r--r--    1 root     root         4404 Aug  9 15:45 Normalizer.pyc
-rw-rw-r--    1 RoelV    RoelV         596 Jan  6  2003
NormalizerRegistry.py
-rw-r--r--    1 root     root          718 Aug  9 15:45
NormalizerRegistry.pyc
drwxrwxr-x    3 RoelV    RoelV        4096 Aug  9 15:45 normalizers
-rw-rw-r--    1 RoelV    RoelV         564 Jan  6  2003 ParserRegistry.py
-rw-r--r--    1 root     root          670 Aug  9 15:45 ParserRegistry.pyc
drwxrwxr-x    5 RoelV    RoelV        4096 Aug  9 15:45 parsers
-rw-rw-r--    1 RoelV    RoelV        2873 Jan  6  2003 ParseTree.py
-rw-r--r--    1 root     root         7534 Aug  9 15:45 ParseTree.pyc
-rw-rw-r--    1 RoelV    RoelV        3074 Jan  6  2003 PositionMap.py
-rw-rw-r--    1 RoelV    RoelV          52 Jan  6  2003 README
-rw-rw-r--    1 RoelV    RoelV          13 Jan  6  2003 refresh.txt
-rw-rw-r--    1 RoelV    RoelV        2339 Jan  6  2003 Registry.py
-rw-r--r--    1 root     root         4252 Aug  9 15:45 Registry.pyc
-rw-rw-r--    1 RoelV    RoelV        5412 Jan  6  2003 ResultSet.py
-rw-r--r--    1 root     root         7164 Aug  9 15:45 ResultSet.pyc
-rw-rw-r--    1 RoelV    RoelV        2297 Jan  6  2003 setup.py
-rw-rw-r--    1 RoelV    RoelV         507 Jan  6  2003 SplitterRegistry.py
-rw-r--r--    1 root     root          574 Aug  9 15:45 SplitterRegistry.pyc
drwxrwxr-x    3 RoelV    RoelV        4096 Jan  7  2003 splitters
drwxrwxr-x    7 RoelV    RoelV        4096 Jan  6  2003 src
drwxrwxr-x    3 RoelV    RoelV        4096 Jan  7  2003 stopwords
-rw-rw-r--    1 RoelV    RoelV        2860 Jan  6  2003 Stopwords.py
-rw-rw-r--    1 RoelV    RoelV         587 Jan  6  2003 StopwordsRegistry.py
-rw-r--r--    1 root     root          705 Aug  9 15:45
StopwordsRegistry.pyc
-rw-rw-r--    1 RoelV    RoelV         574 Jan  6  2003 StorageRegistry.py
-rw-r--r--    1 root     root          684 Aug  9 15:45 StorageRegistry.pyc
drwxrwxr-x    3 RoelV    RoelV        4096 Jan  7  2003 storages
drwxrwxr-x    3 RoelV    RoelV        4096 Jan  6  2003 tests
-rw-rw-r--    1 RoelV    RoelV         601 Jan  6  2003 textindexng_log.ini
-rw-rw-r--    1 RoelV    RoelV       29681 Jan  6  2003 TextIndexNG.py
-rw-r--r--    1 root     root        33047 Aug  9 15:45 TextIndexNG.pyc
-rw-rw-r--    1 RoelV    RoelV         552 Jan  6  2003 Thesaurus.py
-rw-rw-r--    1 RoelV    RoelV        1004 Jan  6  2003 Timer.py
-rw-rw-r--    1 RoelV    RoelV           5 Jan  6  2003 VERSION.txt
drwxrwxr-x    3 RoelV    RoelV        4096 Jan  6  2003 www
-rw-rw-r--    1 RoelV    RoelV        2366 Jan  6  2003 ZPL.txt
[root at PlanetInterior TextIndexNG]#

> -----Original Message-----
> From: Andreas Jung [mailto:andreas at andreas-jung.com]
> Sent: Sunday, August 10, 2003 2:41 PM
> To: roel at planetinterior.com; Zope Org
> Subject: Re: [Zope] Problems installings TextIndexNG
>
>
> This looks like either the extensions are not installed properly or your
> file
> permissions of the extensions module are borked or you are installing
> or compiling the extension module with a Python interpreter other than
> you are using for Zope.
>
> -aj
>
> --On Sonntag, 10. August 2003 14:36 Uhr +0200 Roel Van den Bergh
> <roel at planetinterior.com> wrote:
>
> > Hi all,
> >
> > I tried installing TextIndexNG following the installation
> instructions but
> > I'm stuck.
> > Everytime I restart Zope I get the following error.
> >
> > I compiled puython extensions for TextIndexNG with Python-2.1.3
> installed
> > from source
> >
> > Zope 2.5.1 installed from source using Python 2.1.3 on fully patched
> > (trough up2date) RedHat 7.3 from scratch last Thursday
> >
> > Any suggestions?
> >
> > TIA, Roel
> >
> > [root at PlanetInterior 2-5-1]# ./start -D

snip

> > ------
> > 2003-08-10T09:35:03 ERROR(200) TextIndexNG Import of Python extensions
> > failed

snip

> > ------
> > 2003-08-10T09:37:25 ERROR(200) Zope Couldn't install TextIndexNG
> > Traceback (innermost last):
> >   File /home/zope/2-5-1/lib/python/OFS/Application.py, line 637, in
> > install_product
> >     (Object: Zope)
> >     (Info: TextIndexNG)
> >   File
> /home/zope/2-5-1/lib/python/Products/TextIndexNG/__init__.py, line
> > 81, in initialize
> >   File /home/zope/2-5-1/lib/python/Products/TextIndexNG/TextIndexNG.py,
> > line 45, in ?
> >   File
> >
> /home/zope/2-5-1/lib/python/Products/TextIndexNG/normalizers/__init__.py,
> > line 14, in ?
> >   File /home/zope/2-5-1/lib/python/Products/TextIndexNG/Normalizer.py,
> > line 12, in ?
> > ImportError: No module named normalizer

snip





More information about the Zope mailing list