Re: pylucene in a virtual environment

2010-05-21 Thread Andi Vajda
On May 21, 2010, at 11:14, h...@orcatec.com h...@orcatec.com wrote: I set up pylucene and installed it in the standard fashion. That seems to have worked. Now I am building a virtual environment to do some development in. I ran make from the virtualenv and it worked, but when I try to

Re: pylucene in a virtual environment

2010-05-21 Thread Andi Vajda
: Permission denied ?? ?? ?? ?? ?? ?? On May 21, 2010 at 6:37 PM Andi Vajda va...@apache.org wrote: On May 21, 2010, at 11:14, h...@orcatec.com h...@orcatec.com wrote: I set up pylucene and installed it in the standard fashion.  That ?? seems to have worked.  Now I am building

Re: Problems passing PyLucene objects to jcc-wrapped bobo-browse api

2010-05-20 Thread Andi Vajda
On Thu, 20 May 2010, Julian Maibaum wrote: Thanks Andi! I'll give it a try tomorrow. I'll also ask Julian to provide some test and sample code for you. Thank you very much for the great work and effort you're putting into jcc, Andi. As far as I can tell, the linking between classes from

Re: Problems passing PyLucene objects to jcc-wrapped bobo-browse api

2010-05-19 Thread Andi Vajda
On Tue, 18 May 2010, Andi Vajda wrote: I changed the branch_3x pylucene branch to point at the trunk for jcc. You might need to remove the jcc directory from your branch_3x checkout before updating so as to not conflict with the new svn:externals setting. An svn = 1.5 client is required

Re: Problems passing PyLucene objects to jcc-wrapped bobo-browse api

2010-05-18 Thread Andi Vajda
On Tue, 18 May 2010, Christian Heimes wrote: Setup = I'm running the tests on an Ubuntu 10.04 X86_64 box with Python 2.6.5, Sun Java 1.6.0_20, GCC 4.4.3 and patched setuptools 0.6c11 (all 64bit). JCC: $ svn co http://svn.apache.org/repos/asf/lucene/pylucene/branches/branch_3x/jcc

Re: Problems passing PyLucene objects to jcc-wrapped bobo-browse api

2010-05-18 Thread Andi Vajda
On Tue, 18 May 2010, Christian Heimes wrote: Adding the --import'ed .so libraries to the link line on Linux solve several of the problems you reported: - import order doesn't matter anymore - initVM() order doesn't matter anymore - class_ properties are now correct This is now

Re: Problems passing PyLucene objects to jcc-wrapped bobo-browse api

2010-05-18 Thread Andi Vajda
On Tue, 18 May 2010, Christian Heimes wrote: The Makefile has about a dozen sets of defaults for a variety of platforms. Pick the one closest to your setup, uncomment it (and change it if needed). Then you don't have to enter these on the command line. My point is that you may want to remove

Re: Problems passing PyLucene objects to jcc-wrapped bobo-browse api

2010-05-13 Thread Andi Vajda
On Wed, 12 May 2010, Andi Vajda wrote: Christian Heimes, Dirk Rothe, and I have jcc-wrapped bobo-browse (http://code.google.com/p/bobo-browse/) in order to add faceted search capabilities to PyLucene. However, the two modules don't play well together, as wrappers from PyLucene cannot be used

Re: Problems passing PyLucene objects to jcc-wrapped bobo-browse api

2010-05-12 Thread Andi Vajda
On Wed, 12 May 2010, Julian Maibaum wrote: Christian Heimes, Dirk Rothe, and I have jcc-wrapped bobo-browse (http://code.google.com/p/bobo-browse/) in order to add faceted search capabilities to PyLucene. However, the two modules don't play well together, as wrappers from PyLucene cannot be

Re: [jira] Commented: (PYLUCENE-3) jcc not compiling on Mac Snow Leopard

2010-04-12 Thread Andi Vajda
Why is Apple installing headers there then ?

Re: jcc version string?

2010-04-12 Thread Andi Vajda
On Mon, 12 Apr 2010, Bill Janssen wrote: Andi Vajda va...@apache.org wrote: On Mon, 12 Apr 2010, Bill Janssen wrote: It would be helpful to have a variable jcc.VERSION initialized with the jcc version, either as a string or a tuple sequence. The following is already available

Re: jcc version string?

2010-04-12 Thread Andi Vajda
On Mon, 12 Apr 2010, Bill Janssen wrote: Andi Vajda va...@apache.org wrote: Well, that's good. What about JCC itself? I'd like something like import jcc jcc.VERSION '2.5.1' Or import jcc jcc.VERSION (2, 5, 1) The second form would be more generally useful, I think

Re: are pylucene function thread safe?

2010-04-11 Thread Andi Vajda
On Apr 11, 2010, at 13:17, sudhir singh rana sudhirsinghr...@gmail.com wrote: Hi, I want to know whether searcher.search function, MultiFieldQueryParser.parse etc are thread safe. Can I use same object of searcher in multiple threads. PyLucene embeds Lucene Java. The same threading

Re: Python wrapper for Tika using JCC

2010-04-09 Thread Andi Vajda
On Fri, 9 Apr 2010, Alban Mouton wrote: Hello, I didn't find specific data on the web to do this, except for this mail : http://www.mail-archive.com/pylucene-dev@lucene.apache.org/msg00577.html JCC doc might be enough, but it won't hurt to add a few specifics. With me that makes at least 2

Re: Python wrapper for Tika using JCC

2010-04-09 Thread Andi Vajda
On Fri, 9 Apr 2010, Alban Mouton wrote: Actually I choose the lazy solution and included tika-app jar, which if i am correct already contains all dependencies (it's a standalone version of tika) that you included one by one. I didn't test all formats with my version of the wrapper but I think

Re: [JCC bug] 'asm' keyword wrongly used in generated file

2010-04-08 Thread Andi Vajda
On Apr 8, 2010, at 9:06, Alban Mouton alban.mou...@univ-ubs.fr wrote: Hello, I am trying to build Tika parsers using JCC. I build tika-core without problem, but tika-parsers generates an error. My command line: sudo python __main__.py --jar jar/tika-parsers-0.7.jar --classpath

[jira] Resolved: (PYLUCENE-3) jcc not compiling on Mac Snow Leopard

2010-04-08 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-3. --- Resolution: Cannot Reproduce Resolving this as can't reproduce. The error you're seeing is probably

[jira] Commented: (PYLUCENE-3) jcc not compiling on Mac Snow Leopard

2010-04-08 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12855163#action_12855163 ] Andi Vajda commented on PYLUCENE-3: --- Sure, filing the bug for the record makes sense

Re: JCC handling templated types yet?

2010-04-03 Thread Andi Vajda
On Apr 3, 2010, at 11:38, Bill Janssen jans...@parc.com wrote: Does JCC support templated types yet? Yes, Lucene Java moved to Java 5 and makes extensive use of generics in the 3.x release series. I added support for that in JCC 2.5. In particular, I'd like to be able to say,

Re: JCC handling templated types yet?

2010-04-03 Thread Andi Vajda
On Sat, 3 Apr 2010, Bill Janssen wrote: Andi Vajda va...@apache.org wrote: On Apr 3, 2010, at 11:38, Bill Janssen jans...@parc.com wrote: Does JCC support templated types yet? Yes, Lucene Java moved to Java 5 and makes extensive use of generics in the 3.x release series. I added support

[jira] Resolved: (PYLUCENE-2) Memory leak when searching in real time reader

2010-04-02 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-2. --- Resolution: Invalid Please reopen once you are sure this occurs only with PyLucene. Memory leak

Re: which class file has the bad version #?

2010-04-02 Thread Andi Vajda
On Fri, 2 Apr 2010, Bill Janssen wrote: Andi Vajda va...@apache.org wrote: At times like these it would be very handy to know just which class file is causing the problem. Indeed, I wish java would tell. Yes, it's a very poorly designed exception. All jcc can tell is what class

Re: use of carrot2 with pylucene/python

2010-03-28 Thread Andi Vajda
On Sun, 28 Mar 2010, sudhir singh rana wrote: I added all jar's of Carrot in makefile but while doing make it is giving me following errror. jcc.cpp.JavaError: java.lang.UnsatisfiedLinkError: no nni_lapack in java.library.path Java stacktrace: java.lang.UnsatisfiedLinkError: no nni_lapack in

Re: mingw32 broken again...

2010-03-24 Thread Andi Vajda
On Wed, 24 Mar 2010, Bill Janssen wrote: Looks like we have a regression. This is today's checkout from Subversion: Ooops, sorry, I broke this. I was trying to get rid of 'orig_' and ended up leaving one in. Fixed in trunk. Andi.. $ python setup.py build --compiler=mingw32 install

Re: can't run make test with mingw32

2010-03-24 Thread Andi Vajda
On Tue, 23 Mar 2010, Bill Janssen wrote: OK, here's a clause you can put in the PyLucene Makefile after the clause for Cygwin. ifeq ($(findstring MINGW,$(shell uname)),MINGW) BUILD_TEST:=$(shell $(PYTHON) -c import os, sys; print os.path.normpath(sys.argv[1]).replace(chr(92),chr(92)*2)

Re: Hudson testing for PyLucene on OS X

2010-03-24 Thread Andi Vajda
On Wed, 24 Mar 2010, Bill Janssen wrote: OK, I now have a Hudson test running for PyLucene on OS X Leopard. Whenever you make a change to the svn repo, it checks it out, builds to a temp directory, runs make test, and emails me if the result (success/failure) is different from the last test

Re: updated setup.py for building JCC on Win32 with MinGW

2010-03-23 Thread Andi Vajda
On Mar 23, 2010, at 9:29, Bill Janssen jans...@parc.com wrote: Well, it doesn't work out-of-the-box. I'll see if I can figure out what's going on. Can you be more specific ? 'it' ? Andi.. Bill

Re: updated setup.py for building JCC on Win32 with MinGW

2010-03-23 Thread Andi Vajda
On Tue, 23 Mar 2010, Bill Janssen wrote: Andi Vajda va...@apache.org wrote: - the --find-jvm-dll trick is in jcc/windows.py and is not a JCC build option but a JCC run option. In other words, if you want the feature for your extension, when it starts, invoke jcc with, among many

Re: updated setup.py for building JCC on Win32 with MinGW

2010-03-23 Thread Andi Vajda
On Tue, 23 Mar 2010, Bill Janssen wrote: Bill Janssen jans...@parc.com wrote: Andi Vajda va...@apache.org wrote: - the --find-jvm-dll trick is in jcc/windows.py and is not a JCC build option but a JCC run option. In other words, if you want the feature for your extension, when

Re: updated setup.py for building JCC on Win32 with MinGW

2010-03-23 Thread Andi Vajda
On Tue, 23 Mar 2010, Bill Janssen wrote: Andi Vajda va...@apache.org wrote: On Tue, 23 Mar 2010, Bill Janssen wrote: Andi Vajda va...@apache.org wrote: - the --find-jvm-dll trick is in jcc/windows.py and is not a JCC build option but a JCC run option. In other words, if you want

Re: updated setup.py for building JCC on Win32 with MinGW

2010-03-23 Thread Andi Vajda
On Tue, 23 Mar 2010, Bill Janssen wrote: Just to catch the error, perhaps a hash of the config properties of the JCC used to compile the PyLucene extension could be baked into both, and compared at module load time? Hmm, that's an idea. I'm not sure how lenient/strict this check needs to be,

Re: can't run make test with mingw32

2010-03-23 Thread Andi Vajda
On Tue, 23 Mar 2010, Bill Janssen wrote: Andi Vajda va...@apache.org wrote: Here's what the result of p2w is: $ p2w /x/pylucene/trunk/build/test x:/pylucene/trunk/build/test $ That's a valid Windows path, but I get the same error: $ make test mkdir -p `p2w /x/pylucene/trunk/build/test

Re: updated setup.py for building JCC on Win32 with MinGW

2010-03-20 Thread Andi Vajda
On Mar 20, 2010, at 14:49, Bill Janssen jans...@parc.com wrote: Andi Vajda va...@apache.org wrote: Ah ok, I missed that. The import of config.py can be surrounded by try/ catch since SHARED is not needed during jcc build time. I'll add that and simulate the execution path to find other

Re: finding jni.h on OS X

2010-03-20 Thread Andi Vajda
On Mar 20, 2010, at 16:07, Bill Janssen jans...@parc.com wrote: While I was looking at setup.py, the default location for OS X also looked a bit dodgy. I asked about it on the Apple java-dev mailing list, and got back the attached reply. I believe what he's saying is that you should always

Re: updated setup.py for building JCC on Win32 with MinGW

2010-03-20 Thread Andi Vajda
On Mar 20, 2010, at 15:54, Bill Janssen jans...@parc.com wrote: Here's my latest patch against the SVN trunk. It allows you to say --auto-find-jvm-dll when building JCC: python setup.py build --auto-find-jvm-dll install and puts that setting in the jcc/config.py file. Later, if it's set,

Re: JCC 2.5.1 tarball broken

2010-03-19 Thread Andi Vajda
On Thu, 18 Mar 2010, Ludovico Cavedon wrote: On Thu, Mar 18, 2010 at 2:34 PM, Andi Vajda va...@apache.org wrote: Indeed, the tar archive for JCC 2.5.1 on pypi - as produced by setup.py sdist - was woefully incomplete. I can reproduce the problem but only on this branch. This is rather strange

Re: on Windows, getting the JVM DLL on your Path automatically

2010-03-19 Thread Andi Vajda
On Fri, 19 Mar 2010, Bill Janssen wrote: I see we're still not doing this: http://www.mail-archive.com/pylucene-...@osafoundation.org/msg02204.html That is, lucene or jcc or whatever fails to load because the location of jvm.dll isn't on the value of the user's Path environment variable.

Re: updated setup.py for building JCC on Win32 with MinGW

2010-03-19 Thread Andi Vajda
On Fri, 19 Mar 2010, Bill Janssen wrote: Andi Vajda va...@apache.org wrote: I integrated your changes in trunk rev 925041. I took a look at this, and I don't think it will work. You can't import jcc.windows before writing jcc.config, for one thing. I'll put it back in setup.py again

Re: building pylucene with mingw

2010-03-19 Thread Andi Vajda
On Fri, 19 Mar 2010, Bill Janssen wrote: Bill Janssen jans...@parc.com wrote: Andi Vajda va...@apache.org wrote: On Thu, 18 Mar 2010, Bill Janssen wrote: Hmmm, setuptools doesn't seem to know to automatically build the jcc.lib file when using mingw32. You might need to change

Re: updated setup.py for building JCC on Win32 with MinGW

2010-03-19 Thread Andi Vajda
On Mar 19, 2010, at 19:57, Bill Janssen jans...@parc.com wrote: Andi Vajda va...@apache.org wrote: Andi Vajda va...@apache.org wrote: I integrated your changes in trunk rev 925041. I took a look at this, and I don't think it will work. You can't import jcc.windows before writing

Re: building pylucene with mingw

2010-03-18 Thread Andi Vajda
On Thu, 18 Mar 2010, Bill Janssen wrote: Andi Vajda va...@apache.org wrote: If you don't, then just kwds[extra_link_args] = lflags is done. I've still got to manually copy the .lib file in order to build PyLucene, but otherwise it seems to work. I'm working on getting the .lib file

Re: Pylucene build issue on ubuntu : cannot find lpython2.5

2010-03-11 Thread Andi Vajda
On Mar 11, 2010, at 4:21, sudhir singh rana sudhirsinghr...@gmail.com wrote: Hi, Hi all, I am getting following error while buiding jcc for pylucene /usr/bin/ld: cannot find -lpython2.5 collect2: ld returned 1 exit status any idea which thing is causing this problem. You probably need

Re: Building PyLucene on Windows

2010-03-10 Thread Andi Vajda
, if a windows user came forward with a better build solution for windows (or better yet, in general) and is prepared to maintain it, that would be a big plus. Andi.. roman On Tue, Mar 9, 2010 at 3:50 PM, Andi Vajda va...@apache.org wrote: On Mar 9, 2010, at 13:13, Thomas Koch k...@orbiteam.de

Re: Building PyLucene on Windows

2010-03-09 Thread Andi Vajda
On Mar 9, 2010, at 13:13, Thomas Koch k...@orbiteam.de wrote: Dear PyLucene-fans, I just managed to build pylucene-2.9.1-1 on Windows with Python 2.6 and Java 1.6 and like to tell my 'story' - just in case anyone else runs into similar problems... First I should mention that I'm using

Re: the Python multicore threading problem jcc?

2010-03-05 Thread Andi Vajda
On Mar 5, 2010, at 13:48, Bill Janssen jans...@parc.com wrote: The problem Python has with multiple cores and multi-threading, pointed out by Dave Beazley last year (http://www.dabeaz.com/python/GIL.pdf), looks like it will still persist for the next three or four years, at least, on OS X.

Re: [VOTE] Release PyLucene 2.9.2-1 and 3.0.1-1 (nag)

2010-03-04 Thread Andi Vajda
On Wed, 3 Mar 2010, Andi Vajda wrote: With the recent - simultaneous - releases of Java Lucene 2.9.2 and 3.0.1, PyLucene 2.9.2-1 and 3.0.1-1 releases closely tracking them are ready. Release candidates are available from: http://people.apache.org/~vajda/staging_area/ A list of changes

[VOTE] Release PyLucene 2.9.2-1 and 3.0.1-1 (nag)

2010-03-03 Thread Andi Vajda
With the recent - simultaneous - releases of Java Lucene 2.9.2 and 3.0.1, PyLucene 2.9.2-1 and 3.0.1-1 releases closely tracking them are ready. Release candidates are available from: http://people.apache.org/~vajda/staging_area/ A list of changes in this release can be seen at:

Re: unload JVM?

2010-03-01 Thread Andi Vajda
On Feb 28, 2010, at 7:16, Roman Chyla roman.ch...@gmail.com wrote: - consecutive calls to initVM raise errors Only if you use parameters other than classpath, right ? yes Or did you find a different problem ? - in my program components interact with several JCC wrapped libraries

Re: unload JVM?

2010-02-27 Thread Andi Vajda
On Sat, 27 Feb 2010, Roman Chyla wrote: I would like to unload JVM in some situations (to reload it). The usecase is this: - vmargs can be passed only once Yes, a VM can only be initialized once. - consecutive calls to initVM raise errors Only if you use parameters other than classpath,

Re: [ANNOUNCE] Apache PyLucene 3.0.0

2009-12-08 Thread Andi Vajda
I am pleased to announce the availability of Apache PyLucene 3.0.0. Apache PyLucene - a subproject of Apache Lucene - is a Python extension for accessing Lucene Java. Its goal is to allow you to use Lucene's text indexing and searching capabilities from Python. It is API compatible with the

Re: [VOTE] Release PyLucene 2.9.1-1

2009-11-07 Thread Andi Vajda
this is something silly about my env! You can get setuptools from http://python.org/pypi, aka the cheeseshop :) Andi.. Mike On Sat, Nov 7, 2009 at 3:18 AM, Andi Vajda va...@apache.org wrote: With the (imminent) release of Java Lucene 2.9.1, a PyLucene 2.9.1-1 release closely tracking

Re: JCC: no match for ‘operator=’ message when building

2009-11-05 Thread Andi Vajda
On Nov 5, 2009, at 11:00, Andrew MacKinlay admac...@gmail.com wrote: Hi, I'm trying to wrap the LingPipe library (http://alias-i.com/lingpipe/web/download.html ) using JCC. I've had a couple of problems - one seems to be fixed by simply excluding a class that I don't think I need (I can

Re: patches for jcc build with setuptools 0.6c11

2009-10-31 Thread Andi Vajda
On Sat, 31 Oct 2009, david jenkins wrote: jcc fails to build using setuptools 0.6c11 due to the version check being string based. The submitted patch jcc-setup.patch resoloves this. hunk #1 of patch.43 fails on build_ext.py due to an if statement at line 85 in build_ext.py. The submitted

Re: Ngram tokenizer

2009-10-29 Thread Andi Vajda
On Oct 29, 2009, at 10:28, abhinav mishra abhina...@gmail.com wrote: Hi, I know that there is a class EdgeNGramTokenizer, which can be used to extract n-grams. However, I'm not able use it. What do you mean by not able to use it ? Andi.. Any pointers or maybe, piece of code in this

Re: Ngram tokenizer

2009-10-29 Thread Andi Vajda
, Andi Vajda va...@apache.org wrote: On Oct 29, 2009, at 10:28, abhinav mishra abhina...@gmail.com wrote: Hi, I know that there is a class EdgeNGramTokenizer, which can be used to extract n-grams. However, I'm not able use it. What do you mean by not able to use it ? Andi.. Any

Re: which Snowball stemmers are in PyLucene?

2009-10-28 Thread Andi Vajda
On Oct 28, 2009, at 12:09, Bill Janssen jans...@parc.com wrote: Andi Vajda va...@apache.org wrote: The snowball JAR comes from this statement in the Makefile: SNOWBALL_JAR=$(LUCENE)/build/contrib/snowball/lucene-snowball-$ (LUCENE_VER).jar Which means that it's whatever corresponds

Re: which Snowball stemmers are in PyLucene?

2009-10-28 Thread Andi Vajda
On Wed, 28 Oct 2009, Marvin Humphrey wrote: On Wed, Oct 28, 2009 at 12:20:55PM -0700, Andi Vajda wrote: There may be an API in the Snowball library to do this enumeration. There's this, from libstemmer.h: /** Returns an array of the names of the available stemming algorithms

Re: Pylucene and JCC 2.4.1

2009-10-28 Thread Andi Vajda
On Wed, 28 Oct 2009, Andi Vajda wrote: On Oct 28, 2009, at 2:45, Manolo Padron Martinez manol...@gmail.com wrote: What is the version of your gcc ? I did the same build today on Ubuntu Gutsy 64 bits without any problem. gcc (Debian 4.3.2-1.1) 4.3.2 g++ (Debian 4.3.2-1.1) 4.3.2 Here

Re: issue with ParallelMultiSearcher arguments

2009-10-16 Thread Andi Vajda
On Fri, 16 Oct 2009, Yura Smolsky wrote: I have added Java wrapper for Searcher class (see attach) and compiled pylucene 2.4.1 against Python 2.5.4 (debian Linux 2.6.30-2-amd64) When I try following program #!/usr/local/bin/python from lucene import * class MySearcher(PythonSearcher):

Re: why not setuptools?

2009-10-15 Thread Andi Vajda
On Oct 15, 2009, at 9:42, Bill Janssen jans...@parc.com wrote: Felix Schwarz felix.schw...@web.de wrote: Am 15.10.2009 07:01, schrieb Andi Vajda: If distutils or the new fork grows the ability to build a regular shared library, I'd be less wedded to setuptools. Maybe you want to contact

Re: [ANNOUNCE] Apache PyLucene 2.9.0

2009-10-14 Thread Andi Vajda
On Thu, 15 Oct 2009, Christian Heimes wrote: Andi Vajda wrote: Hmm, that's an idea... It is my understanding that for a package to 'work' in PyPI it needs to have some setup.py support, right ? JCC, for example, is already on PyPI since it's entirely built with setup.py. PyLucene

Re: [VOTE] Release PyLucene 2.9.0-1

2009-10-13 Thread Andi Vajda
On Wed, 7 Oct 2009, Andi Vajda wrote: With the recent release of Java Lucene 2.9.0, a PyLucene 2.9.0-1 release closely tracking it is ready. Release candidate 1 of PyLucene 2.9.0-1 is available from: http://people.apache.org/~vajda/staging_area/ The list of changes is available from

[ANNOUNCE] Apache PyLucene 2.9.0

2009-10-13 Thread Andi Vajda
I am pleased to announce the availability of Apache PyLucene 2.9.0. Apache PyLucene, a subproject of Apache Lucene, is a Python extension for accessing Java Lucene. Its goal is to allow you to use Lucene's text indexing and searching capabilities from Python. It is API compatible with the

Re: Re : PyLucene: SystemError: NULL result without error in PyObject_Call

2009-10-08 Thread Andi Vajda
give you a better error message ? Andi.. Many thanks De : Andi Vajda va...@apache.org À : pylucene-dev@lucene.apache.org Envoyé le : Mer 7 Octobre 2009, 18 h 29 min 51 s Objet : Re: PyLucene: SystemError: NULL result without error in PyObject_Call On Wed

Re: PyLucene: SystemError: NULL result without error in PyObject_Call

2009-10-07 Thread Andi Vajda
On Wed, 7 Oct 2009, Adil Zaaraoui wrote: I'm trying to test indexing documents using PyLucene; I tried the file IndexFiles.py from pylucene samples (http://svn.apache.org/viewvc/lucene/pylucene/trunk/samples/IndexFiles.py?view=markup). When runing the IndexFiles(/tmp/indexing, index,

[VOTE] Release PyLucene 2.9.0-1

2009-10-07 Thread Andi Vajda
With the recent release of Java Lucene 2.9.0, a PyLucene 2.9.0-1 release closely tracking it is ready. Release candidate 1 of PyLucene 2.9.0-1 is available from: http://people.apache.org/~vajda/staging_area/ The list of changes is available from:

Re: pylucene installation issue

2009-10-01 Thread Andi Vajda
On Thu, 1 Oct 2009, abhinav mishra wrote: Hi All, Till now, I've managed to install JCC(hopefully). I'm trying to install it on windows. Output of running(through DOS) python setup.py build is given below: It's kind of hard to tell what's wrong since the output you're sending is

Re: PyLucene 2.9.0 sources available for testing

2009-10-01 Thread Andi Vajda
On Fri, 2 Oct 2009, Atsuo Ishimoto wrote: On Wed, Sep 30, 2009 at 7:10 AM, Andi Vajda va...@apache.org wrote: If you're on a different platform and have some spare cycles, I'd be curious to see if all unit tests pass on your platform. Hi, All unit tests passed on Windows Vista

Re: InstantiationException with PythonHitCollector

2009-09-30 Thread Andi Vajda
On Wed, 30 Sep 2009, Max Lynch wrote: Hi, I am trying to subclass lucene.PythonHitCollector to use the HitCollector features of Lucene, but I get this error: File /home/max/test/spider/src/ras/spider/spider.py, line 812, in __init__ super(lucene.PythonHitCollector, self).__init__()

Re: PyLucene 2.9.0 sources available for testing

2009-09-30 Thread Andi Vajda
On Wed, 30 Sep 2009, Aric Coady wrote: On Sep 29, 2009, at 3:10 PM, Andi Vajda wrote: With the recent release of Java Lucene 2.9.0, a PyLucene 2.9.0 release is in the works. I just completed the first rev of this and checked it into svn trunk. So far, I've only tested it on Mac OS X 10.6

Re: PyLucene 2.9.0 sources available for testing

2009-09-29 Thread Andi Vajda
On Tue, 29 Sep 2009, Aaron Lav wrote: On Tue, Sep 29, 2009 at 03:10:01PM -0700, Andi Vajda wrote: With the recent release of Java Lucene 2.9.0, a PyLucene 2.9.0 release is in the works. I just completed the first rev of this and checked it into svn trunk. So far, I've only tested it on Mac

Re: PyLucene 2.9.0 sources available for testing

2009-09-29 Thread Andi Vajda
On Tue, 29 Sep 2009, Bill Janssen wrote: Andi Vajda va...@apache.org wrote: The new Mac OS X 10.6 section of the Makefile makes use of the new --arch JCC command line parameter that makes it possible to override the -arch settings Python was configured with. Even though Mac OS X 10.6 is only

Re: PyLucene 2.9.0 sources available for testing

2009-09-29 Thread Andi Vajda
On Tue, 29 Sep 2009, Bill Janssen wrote: I think it would make sense to make that the default on OS X 10.6, even though it would take longer to compile. What I was trying to say about Python on 10.6 is that you can't tell whether the user will be running /usr/bin/python 32-bit or 64-bit,

Re: Bug report for JCC-2.3 (build problem)

2009-09-28 Thread Andi Vajda
On Sep 27, 2009, at 21:52, Jakub Krajcovic jakub.krajco...@al.com.au wrote: Hello everyone, I haven't found any bugzilla or other ticketing system for this project, and the website said that this is the best way to get in touch with developers to file bug reports, so here goes: I was

Re: pylucene make problem Win XP and cygwin

2009-09-23 Thread Andi Vajda
Vajda va...@apache.org wrote: From: Andi Vajda va...@apache.org Subject: Re: pylucene make problem Win XP and cygwin To: pylucene-dev@lucene.apache.org Date: Wednesday, September 23, 2009, 8:23 PM On Wed, 23 Sep 2009, Sepand Ansari wrote: Andi

Re: pylucene make problem Win XP and cygwin

2009-09-23 Thread Andi Vajda
On Wed, 23 Sep 2009, Sepand Ansari wrote: yes, I have only: 2895 Sep 23 17:27 JCC-2.3-py2.6.egg-info Are you using setuptools or distutils ? If you don't have setuptools, don't use --shared (and then there is no jcc.dll) JCC's setup.py won't build a jcc.dll if setuptools is not found. If

Re: pylucene make problem Win XP and cygwin

2009-09-23 Thread Andi Vajda
On Wed, 23 Sep 2009, Andi Vajda wrote: On Wed, 23 Sep 2009, Sepand Ansari wrote: yes, I have only: 2895 Sep 23 17:27 JCC-2.3-py2.6.egg-info Are you using setuptools or distutils ? To find out if you have setuptools (and what version): $ python -c from pkg_resources import require

Re: Problems in Pylucene and JCC

2009-09-17 Thread Andi Vajda
On Thu, 17 Sep 2009, Truffe Hugo wrote: I could change some things, but I stay here. G:\Solr\pylucene-2.4.1-1make install c:\Python25\python.exe -m jcc --shared --jar lucene-java-2.4.1/build/lucene-core -2.4.1.jar --jar lucene-java-2.4.1/build/contrib/snowball/lucene-snowball-2.4.1. jar

Re: Problems in Pylucene and TurboLucene

2009-09-16 Thread Andi Vajda
://svn.apache.org/repo s/asf/lucene/java/tags/lucene_2_4_1 lucene-java-2.4.1, ...) failed. make (e=2): El sistema no puede hallar el archivo especificado. make: *** [lucene-java-2.4.1] Error 2 Andi Vajda escribió: On Sep 15, 2009, at 13:17, Truffe Hugo hugotruff...@gmail.com wrote: In xp too

Re: Problems in Pylucene and TurboLucene

2009-09-16 Thread Andi Vajda
jcc --shared NUM_FILES=2 Hugo Andi Vajda escribió: On Sep 16, 2009, at 5:36, Truffe Hugo hugotruff...@gmail.com wrote: Hello, and make install for windows, but it is throwing this error. Apache's svn server had a problem last night, it seems. Try again. If the error persists, please help

Re: Problems in Pylucene and TurboLucene

2009-09-16 Thread Andi Vajda
On Wed, 16 Sep 2009, Truffe Hugo wrote: Yes, I have svn that I use in my work. Well, I don't know what to tell you. 'make' is trying to invoke svn to get the Java Lucene sources and is failing. Have you tried to invoke this command manually ? Andi.. Andi Vajda escribió: On Wed, 16

Re: Problems in Pylucene and TurboLucene

2009-09-16 Thread Andi Vajda
the matter ? Could you please try to run the command below manually, in the PyLucene directory ? svn export -r HEAD http://svn.apache.org/repos/asf/lucene/java/tags/lucene_2_4_1 lucene-java-2.4.1 Thanks ! Andi.. Andi Vajda escribió: On Wed, 16 Sep 2009, Truffe Hugo wrote: Yes, I have

Re: Problems in Pylucene and TurboLucene

2009-09-15 Thread Andi Vajda
ImportError: DLL load failed: No se puede encontrar el m¾dulo especi ficado. Andi Vajda escribió: On Sep 15, 2009, at 4:43, Truffe Hugo hugotruff...@gmail.com wrote: Hello. Question. Now is not called most Pylucene the package is installed if not JCC? The package is called 'lucene

Re: Problems in Pylucene and TurboLucene

2009-09-15 Thread Andi Vajda
On Sep 15, 2009, at 13:17, Truffe Hugo hugotruff...@gmail.com wrote: In xp too? Follow the installation guide, but I'm lost Yes, on Windows too and yes, you need cygwin to run 'make'. Andi.. Andi Vajda escribió: On Sep 15, 2009, at 12:26, Truffe Hugo hugotruff...@gmail.com wrote

Re: Problems in Pylucene with Win XP

2009-09-12 Thread Andi Vajda
On Sep 12, 2009, at 6:58, Truffe Hugo hugotruff...@gmail.com wrote: Hello. With Visual Studio 2008 don't run Pylucene. What's the actual problem ? Andi.. Now I am downloading Visual Studio Prefessional 2003. Then I'll tell you if it works Andi Vajda escribió: On Fri, 11 Sep 2009

Re: Problems in Pylucene with Win XP

2009-09-12 Thread Andi Vajda
On Sep 12, 2009, at 12:11, Christian Heimes li...@cheimes.de wrote: Andi Vajda wrote: Do you really ? If so why ? If there is a library mismatch, can I not recompile Python 2.5 with VC++ 2008 ? Distutils doesn't allow to compile extensions with another version of MSVC than the version

Re: Problems in Pylucene with Win XP

2009-09-10 Thread Andi Vajda
On Thu, 10 Sep 2009, Christian Heimes wrote: AFAIK it's getting harder and harder to acquire VS 7 for free. Microsoft has removed all download links unless you have a MSDN subscription. Err,

Re: Problems in Pylucene with Win XP

2009-09-10 Thread Andi Vajda
On Thu, 10 Sep 2009, Truffe Hugo wrote: Hello, I am not present. I am Hugo from Argentina and my English is quite bad. Well, let's see if I understand. - JCC already within PyLucene. Yes, the sources to JCC are part of the PyLucene source distribution. JCC is a sub-project of PyLucene:

Re: Problems in Pylucene with Win XP

2009-09-10 Thread Andi Vajda
On Fri, 11 Sep 2009, Christian Heimes wrote: Andi Vajda schrieb: On Thu, 10 Sep 2009, Christian Heimes wrote: AFAIK it's getting harder and harder to acquire VS 7 for free. Microsoft has removed all download links unless you have a MSDN subscription. Err, http://www.google.com/search?q

Re: Japanese translation for PyLucene web site

2009-09-07 Thread Andi Vajda
On Sat, 5 Sep 2009, Morimoto Tetsuya wrote: I completed the Japanese translation for PyLucene web site. # you can see translated site after extracted an attach file Excellent ! In the beginning, I was thinking to publish that on my web site, but the pylucene-ja community's members

Re: PyLucene

2009-09-04 Thread Andi Vajda
On Fri, 4 Sep 2009, Ralph Seward wrote: I wanted to confirm this before I replied. Here is what I have discovered re: the platform detection problem. If I go to http://python.org/download/ and get the Python 2.6.2 Mac Installer Disk Image

Re: PyLucene

2009-09-02 Thread Andi Vajda
On Wed, 2 Sep 2009, Ralph Seward wrote: In Python: from distutils.util import get_platform get_platform() 'macosx-10.3-fat' Apart from the platform detection problem which comes from your setup, there is a bug in JCC where it adds -Wl,-rpath to the link args without checking first that

Re: passing vmargs in JCC

2009-08-20 Thread Andi Vajda
On Thu, 20 Aug 2009, Christian Kofler wrote: here is a little patch for passing extra vmargs on the commandline. For every vmarg, you need to add a --vmarg arg to the command line. Thank you for the patch. I integrated a slightly modified version of it and added docs. Committed in rev

Re: issues with jcc and com.sun.tools.doclets.Taglet

2009-08-19 Thread Andi Vajda
related to my problem? No, they're just ignored. Andi.. Thanks for your feedback so far Christian Andi Vajda schrieb: On Tue, 18 Aug 2009, Andi Vajda wrote: On Tue, 18 Aug 2009, Christian Kofler wrote: I am new to JCC - but I alread like it! Well, I did not yet manage to wrap

Re: issues with jcc and com.sun.tools.doclets.Taglet

2009-08-19 Thread Andi Vajda
On Tue, 18 Aug 2009, Andi Vajda wrote: Maybe the JVM is depending on some native code that can't be found for this class. In that case you'd need to use -Djava.library.path=path with vmargs. If that resolves the problem, adding another command line flag to jcc for setting the library path

Re: passing vmargs in JCC

2009-08-18 Thread Andi Vajda
On Tue, 18 Aug 2009, Christian Kofler wrote: would it be possible to pass additional vmargs to JCC? Adding support for a --vmargs command line argument to JCC could be done. Out of curiosity, what extra VM parameter were you thinking of using ? Andi..

Re: issues with jcc and com.sun.tools.doclets.Taglet

2009-08-18 Thread Andi Vajda
On Tue, 18 Aug 2009, Andi Vajda wrote: On Tue, 18 Aug 2009, Christian Kofler wrote: I am new to JCC - but I alread like it! Well, I did not yet manage to wrap the Java library I want to, but I appreciate the project in general... I am stuck at the moment with the following problem

Re: What is the best way to call Lucene from Python?

2009-08-15 Thread Andi Vajda
. If you have any questions, feel free to ask this list. Lucene usage questions are best answered on the java-u...@lucene.apache.org list, of course, since it has a larger audience. Kind regards. Andi.. best regards -- Valery A.Khamenya On Fri, Aug 14, 2009 at 10:45 PM, Andi Vajda va

Re: What is the best way to call Lucene from Python?

2009-08-14 Thread Andi Vajda
On Aug 14, 2009, at 12:33, Valery Khamenya khame...@gmail.com wrote: Hi what would be the best way to call Lucene from Python application? Is PyLucene really a good way for it? In particular: What about PyLucene's scalability? What about PyLucene vs Lucene performance? (this post is quite

Re: Pylucene installation issue on Ubuntu LInux

2009-08-11 Thread Andi Vajda
, because a year from now, when you've forgotten about all this, something strange is going to happen and it's going to take days to find that this softlink is messing something up... Your call. Andi.. --KK On Mon, Aug 10, 2009 at 9:15 PM, Andi Vajda va...@apache.org wrote: On Mon, 10 Aug

<    3   4   5   6   7   8   9   >