On Mar 11, 2009, at 2:48 PM, Andi Vajda wrote:
On Wed, 11 Mar 2009, Grant Ingersoll wrote:
First off, I'm a total Python newbie, so bear with me...
Couple of comments:
1. I think you need to upload your Key to a public server (i.e.
pgp.mit.edu)
How do I do that ?
http://pgp.mit.edu:11371/ There's a place to submit a key there.
Alternatively, it seems that you can import my key from the KEYS
file in the staging area of the release artifacts.
But I'd be glad to upload my key someplace too, how ?
See:
@molly[1003]$ gpg --verify pylucene-2.4.1-rc1-src.tar.gz.asc
gpg: Signature made Wed Mar 11 12:42:58 2009 EDT using DSA key ID
7DADCFA5
gpg: requesting key 7DADCFA5 from hkp server subkeys.pgp.net
gpgkeys: key 39815DB27DADCFA5 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: Can't check signature: public key not found
Also, http://pgp.mit.edu:11371/pks/lookup?search=Andi+Vajda&op=index
At some point, too, it would be good to get you into the ASF web of
trust by signing keys with others in the ASF.
That'd be good too.
2. I see the samples, but how about some directions on how to
actually run them? I see http://lucene.apache.org/pylucene/documentation/readme.html
. I tried doing:
grantingers...@molly[1018]$ python index.py
Traceback (most recent call last):
File "index.py", line 2, in <module>
import os, sys, tarfile, lucene
ImportError: No module named lucene
Did you actually build and install the software ?
In the LIA directory, but got the error above. Again, I'm a total
newbie. Do I need to make something first? I tried make up at the
top level, but it seems to be checking out from SVN and then I got:
Exported revision 752549.
cd lucene-java-2.4.1; -Dversion=2.4.1
/bin/sh: -Dversion=2.4.1: command not found
make: *** [lucene-java-2.4.1/build/lucene-core-2.4.1.jar] Error 127
You need to build JCC and PyLucene, in that order and read the
respective installation instructions first. Building them is not
completely trivial and requires some hand editing of PyLucene's
Makefile and JCC's setup.py. If you are on Mac OS X, the latter
should be most likely correct out of the box as Apple's Java is
installed in a predictable place. Still, reviewing the settings in
setup.py is recommended.
Under "Requirements", at http://lucene.apache.org/pylucene/ you can
find the links to the installation instructions.
Sorry for my ignorance. Pointers to more docs that explain what to
do are fine.
http://lucene.apache.org/pylucene/jcc/documentation/install.html
http://lucene.apache.org/pylucene/documentation/install.html
After you've built and installed both, you can run 'make test',
which runs all tests and samples. Running the LIA samples is as
simple as invoking any of the files in the samples/LuceneInAction
directory with python.
PyLucene and JCC involve Python, Java and C++. Some understanding of
all three languages/environments helps with build issues.
OK, I will read some more.