[Zope] Still No TextIndexNG on Win2000 (ALMOST SOLVED)

sean.upton@uniontrib.com sean.upton@uniontrib.com
Thu, 19 Sep 2002 15:45:27 -0700


Guess that is the assumed price of entry for your platform choice, no?  I
guess this is one of those things that might be lumped into 'total cost of
ownership.'  And if you wanted to *develop* your own lexical
scanners/parsers to add on to this, why not throw in a copy of MKS lex and
yacc...  Win32 is not a platform particularly friendly (or inexpensive) to
open-source development (with the possible exception of stuff that will 100%
work with cygwin; Zope is not a cygwin program...Sorry).

Sean

-----Original Message-----
From: abg@comco-inc.com [mailto:abg@comco-inc.com]
Sent: Thursday, September 19, 2002 3:19 PM
To: zope@zope.org
Subject: RE: [Zope] Still No TextIndexNG on Win2000 (ALMOST SOLVED)


So, to get TextIndexNG working, I need Visual C++ on my web server? Ouch.

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Andy
McKay
Sent: Thursday, September 19, 2002 4:52 PM
To: Aaron Gillette; zope@zope.org
Subject: Re: [Zope] Still No TextIndexNG on Win2000 (ALMOST SOLVED)


cl.exe is a compiler. Assuming you have visual studio 6 installed...

C:\Documents and Settings\dna.CR582427-A-\Desktop>cl
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

to run this you must first run VCVARS32.BAT which is in the VC98 folder like
thus:

C:\Documents and Settings\dna.CR582427-A-\Desktop>"c:\Program
Files\Microsoft Vi
sual Studio\VC98\Bin\VCVARS32.BAT"
Setting environment for using Microsoft Visual C++ tools.

Hope that helps. Sounds like a windows binary distributions is needed
--
  Andy McKay
  Agmweb Consulting
  http://www.agmweb.ca


----- Original Message -----
From: <abg@comco-inc.com>
To: <zope@zope.org>
Sent: Thursday, September 19, 2002 2:12 PM
Subject: RE: [Zope] Still No TextIndexNG on Win2000 (ALMOST SOLVED)


> Fixed the pyclist.c problem. The last hurdle appears to be a missing
cl.exe
> file. I confirmed that the file doesn't exist on my web server.
>
> Is there a work-around?
>
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Andreas Jung
> Sent: Thursday, September 19, 2002 11:19 AM
> To: Aaron Gillette; zope@zope.org
> Subject: RE: [Zope] Still No TextIndexNG on Win2000
>
>
> try to add a debug print statement at the end of the initialize()
> method inside TextIndexNG/__init__.py and then restart Zope.
> You should see the debug print on the console where you do start
> Zope. If it does not appear then something is wrong with your
> TextIndexNG installation...for reasons I don't know. At least I
> know that some people did install TextIndexNG on Windows systems.
>
> -aj
>
> --On Donnerstag, 19. September 2002 10:01 -0500 abg@comco-inc.com wrote:
>
> > The only feedback the start.bat file gives is a deprecation warning
> > regarding the use of the regex module instead of the re module. Should I
> > be running the start.bat with any special params?
> >
> > -----Original Message-----
> > From: Andreas Jung [mailto:lists@andreas-jung.com]
> > Sent: Thursday, September 19, 2002 10:47 AM
> > To: Aaron Gillette; zope@zope.org
> > Subject: RE: [Zope] Still No TextIndexNG on Win2000
> >
> >
> >
> >
> > --On Donnerstag, 19. September 2002 09:42 -0500 abg@comco-inc.com wrote:
> >
> >> I'm not getting any errors when Zope starts, and the Python modules did
> >> appear to correctly compile and install. The Win2000 event viewer isn't
> >> showing any errors either.
> >
> > I have no experiences with Zope unter Win32. But you should check the
> > output when you start Zope using the start.bat script. If there is a
> > problem with TextIndexNG then you should see a traceback there and not
> > inside the Win2000 event viewer.
> >>
> >> I have both stand-alone Python 2.1 and Zope's Python 2.1 installed on
> >> this machine. Could that be causing problems?
> >>
> >
> > Don't know. Be sure that you are using the same python interpreter for
> > running setup.py
> > as you use to run Zope.
> >
> > -aj
> >
> >
> >
> >> -----Original Message-----
> >> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> >> Andreas Jung
> >> Sent: Thursday, September 19, 2002 10:16 AM
> >> To: Aaron Gillette; zope@zope.org
> >> Subject: RE: [Zope] Still No TextIndexNG on Win2000
> >>
> >>
> >> Are you sure that the compilation of the modules was successful?
> >> Are there any error message when you start Zope?
> >>
> >> -aj
> >>
> >> -----Original Message-----
> >> From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of
> >> abg@comco-inc.com
> >> Sent: Donnerstag, 19. September 2002 15:16
> >> To: zope@zope.org
> >> Subject: [Zope] Still No TextIndexNG on Win2000
> >>
> >>
> >> Hi All,
> >>
> >> This is an update to a problem I reported a couple of weeks ago.
> >>
> >> I'm trying to get TextIndexNG running with Zope 2.5.1 on Win2000. I've
> >> tried both the old, stable version and the latest beta release. I
placed
> >> the TextIndexNG folder in lib/python/Products (as usual), and ran the
> >> setup program. Everything appeared to go well, but TextIndexNG doesn't
> >> appear as a product, or as an option in the Indexes tab of a ZCatalog
> >> item. No errors appear under the Products tab.
> >>
> >> The only feedback I get shows up in the "Top RefCounts" box under Debug
> >> Info, and it looks like this:
> >>
> >> Products.TextIndexNG.parsers.PyQueryParser.yacc.Production: 65
> >>
> >> I'm pulling my hair out, as I really need TextIndexNG's functionality.
> >>
> >> Any suggestions?
> >>
> >> Thanks,
> >> Aaron Gillette
> >>
> >> _______________________________________________
> >> Zope maillist  -  Zope@zope.org
> >> http://lists.zope.org/mailman/listinfo/zope
> >> **   No cross posts or HTML encoding!  **
> >> (Related lists -
> >>  http://lists.zope.org/mailman/listinfo/zope-announce
> >>  http://lists.zope.org/mailman/listinfo/zope-dev )
> >>
> >>
> >> _______________________________________________
> >> Zope maillist  -  Zope@zope.org
> >> http://lists.zope.org/mailman/listinfo/zope
> >> **   No cross posts or HTML encoding!  **
> >> (Related lists -
> >>  http://lists.zope.org/mailman/listinfo/zope-announce
> >>  http://lists.zope.org/mailman/listinfo/zope-dev )
> >>
> >> _______________________________________________
> >> Zope maillist  -  Zope@zope.org
> >> http://lists.zope.org/mailman/listinfo/zope
> >> **   No cross posts or HTML encoding!  **
> >> (Related lists -
> >>  http://lists.zope.org/mailman/listinfo/zope-announce
> >>  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>



_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )