<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV><!-- Converted from text/plain format --><FONT size=2>-----Original
Message-----<BR>From: Andreas Jung [<A
href="mailto:lists@andreas-jung.com">mailto:lists@andreas-jung.com</A>]<BR>Sent:
Wednesday, December 07, 2005 1:04 PM<BR>To: Dan Pozmanter;
zope@zope.org<BR>Subject: Re: [Zope] TextIndexNG (2/3) and
Zope2.8<BR><BR><BR><BR>--On 7. Dezember 2005 12:56:41 -0500 Dan Pozmanter
<dan@siteworx.com> wrote:<BR><BR>> Great sirs/madames of
Zope,<BR>><BR>> I am attempting to use TextIndexNG on Zope2.8
(No Plone, No CMF).<BR>> TextIndexNG2 has suddenly stopped working (it was
fine on 2.7), and<BR>> indexes will display 'n/a' rather than a
count.<BR><BR>Nothing stops suddenly.<BR></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial color=#0000ff>True. Let me
rephrase. When I simply change what zope install I run my instance with
(2.7 -> 2.8),</FONT></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>TextIndexNG2 indexes go from
reporting xyz distinct values to 'n/a' distinct values.</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>Or installing TextIndexNG2 on an
instance that is only run using 2.8.</FONT><FONT size=2></DIV><FONT face=Arial
color=#0000ff></FONT>
<DIV><BR>> TextIndexNG3:<BR>><BR>><BR>> When trying to start
zope:<BR>> File "C:\Program<BR>>
Files\Zope-2.8.2-final\lib\python\zope\configuration\fields.py", line<BR>>
141, in fromUnicode<BR>> raise
schema.ValidationError(v)<BR>>
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File<BR>>
"C:\Program<BR>>
Files\Zope-2.8.2-final\lib\python\Products\Five\skel\site.zcml", line<BR>>
12.2-12.23<BR>> ZopeXMLConfigurationError:
File<BR>> "C:\Zope-Instance\Products\TextIndexNG3\configure.zcml", line
8.2-8.55<BR>> ZopeXMLConfigurationError: File<BR>>
"C:\Zope-Instance\Products\TextIndexNG3\adapters\configure.zcml", line<BR>>
8.2-10.21<BR>> ConfigurationError: ('Invalid value
for', 'class', "Couldn't<BR>> import Products.ATContentTypes.content.file, No
module named<BR>> ATContentTypes.content.file")<BR>><BR>> If I address
that, I progress to:<BR>> * Module
Products.TextIndexNG3.TextIndexNG3, line 76, in
__init__<BR>> * Module textindexng.index, line 47, in
__init__<BR>> * Module textindexng.index, line 53, in
clear<BR>> * Module zope.component, line 184, in
createObject<BR>> * Module zope.component, line 76,
in getUtility<BR>> * Module zope.component.utility,
line 44, in getUtility<BR>> ComponentLookupError: (<InterfaceClass<BR>>
zope.component.interfaces.IFactory>,
'txng.lexicons.default')<BR>><BR>><BR><BR>This is a known issue. Uncomment
all registrations in TextIndexNG3/adapters/configure.zcml for non-Plone
installations.</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial color=#0000ff>Apologies for my ignorance, but nothing in
<FONT face="Times New Roman"
color=#000000>TextIndexNG3/adapters/configure.zcml <FONT
color=#0000ff><FONT face=Arial>appears to be</FONT> <FONT
face=Arial>commented.</FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial
color=#0000ff></FONT><BR>-aj<BR><BR></DIV></FONT></BODY></HTML>