Re: jcc - Output unbuilt package

2021-03-01 Thread Andi Vajda
something which would fully automate the entire process in the future. Some more details below. Andi Vajda writes: I did not write the bdist nor the wheel support, they were contributed and I don't now that --wheel makes a binary wheel, specifically. Note that you have binaries in whatever you

Re: jcc - Output unbuilt package

2021-02-27 Thread Andi Vajda
Hi Phil, On Sun, 28 Feb 2021, Phil wrote: I currently use jcc to wrap a Java library for use in Python - it works great. The project I'm working on is moving it's package management from traditional pip installs to Guix: https://guix.gnu.org/ Guix handles python packages pretty well, and

Re: Trouble with building PyLucene on Mac

2021-02-10 Thread Andi Vajda
Hi Clem, Lots of replies inline... On Wed, 10 Feb 2021, Wang, Clem wrote: (My msg originally post here: https://issues.apache.org/jira/projects/PYLUCENE/issues/PYLUCENE-10 but Andreas Vajda said I should send to the mailing list. I missed whatever he had posted to the mailing list

Re: [jira] [Commented] (PYLUCENE-10) Building Pylucene is way too difficult

2021-02-09 Thread Andi Vajda
Why are you using the homebrew gcc instead of the apple clang compiler you get from apple's command line tools ? One error I see is: arm64 not supported. Do you care about that platform ? If you do, get a compiler that supports it. If you don't disable that platform (see the examples in

Re: jcc-activate.sh:12: = not found

2020-12-23 Thread Andi Vajda
> On Dec 23, 2020, at 20:47, James Hartzell wrote: > > Hi > I installed JCC 3.8 on Macbook Pro macOS Big Sur 11.1 just now. > JCC in > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages > (3.8) > > But I got this message on install (using both conda and a

Re: Multiple .so extension sharing classes

2020-12-16 Thread Andi Vajda
in JCC and PyLucene! Best regards, Erik -- Erik Groeneveld ♦ seecr.nl ♦ +31 624 584 029 On Sat, Nov 28, 2020 at 4:22 AM Andi Vajda wrote: I now made it return an error when calling initVM() a second time and updating the VM's classpath failed because the system class loader

Re: Multiple .so extension sharing classes

2020-11-27 Thread Andi Vajda
I now made it return an error when calling initVM() a second time and updating the VM's classpath failed because the system class loader is not an instance of java.net.URLClassLoader. Instead, call initVM() only once but with all the module.CLASSPATH strings set into its classpath keyword

Re: Multiple .so extension sharing classes

2020-11-27 Thread Andi Vajda
Hi, I found several bugs here: - JCC with python3 using --import is broken. The code handling it is using a python2 function, os.path.walk(), that doesn't exist in python3. I fixed this in JCC's trunk just now. - JCC is dynamically adding paths to the classpath by calling

Re: Multiple .so extension sharing classes

2020-11-27 Thread Andi Vajda
Thank you for the detailed description and code to reproduce. You may have found a bug here, I need to investigate. To be continued... Andi.. On Thu, 26 Nov 2020, Erik Groeneveld - Seecr wrote: L.S., We use PyLucene and JCC from the beginning and are very satisfied with it but we do have

Re: jcc InitVM() creates menu on macOS

2020-11-11 Thread Andi Vajda
On Wed, 11 Nov 2020, Andrew Dalke wrote: Hi all, I am trying to use jcc on macOS 10.14.4 (Mojave) to build Python 3.9 bindings for cdk-2.3.jar from https://github.com/cdk/cdk/releases/tag/cdk-2.3 . I managed to build "pycdk" but when I run initVM() like this, from the Python console:

[ANNOUNCE] Apache PyLucene 8.6.1

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

Re: [VOTE] Release PyLucene 8.6.1

2020-09-09 Thread Andi Vajda
On Wed, 9 Sep 2020, Dawid Weiss wrote: +1 to release, thanks Andi. This vote has passed. Thank you all who voted ! Andi.. Dawid On Tue, Aug 25, 2020 at 1:56 AM Andi Vajda wrote: The PyLucene 8.6.1 (rc1) release tracking the recent release of Apache Lucene 8.6.1 is ready. A release

[VOTE] Release PyLucene 8.6.1

2020-08-24 Thread Andi Vajda
The PyLucene 8.6.1 (rc1) release tracking the recent release of Apache Lucene 8.6.1 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/8.6.1-rc1/ PyLucene 8.6.1 is built with JCC 3.8, included in these release artifacts. JCC 3.8

Re: AttributeError: 'bool' object has no attribute 'setdefault'

2020-05-15 Thread Andi Vajda
Year From: Andi Vajda Sent: Friday, May 15, 2020 7:19:16 PM To: Chee Yong Teh Cc: pylucene-dev@lucene.apache.org Subject: RE: AttributeError: 'bool' object has no attribute 'setdefault' On Wed, 13 May 2020, Chee Yong Teh wrote: I don't know much about pip install myself. I have look at the

RE: AttributeError: 'bool' object has no attribute 'setdefault'

2020-05-13 Thread Andi Vajda
On Wed, 13 May 2020, Andi Vajda wrote: On Wed, 13 May 2020, Chee Yong Teh wrote: Thanks for your help and I got everything build and working now. Great ! (thanks for letting me know) I have another question about pip install. I know JCC has option of bdist which will produce an egg

RE: AttributeError: 'bool' object has no attribute 'setdefault'

2020-05-13 Thread Andi Vajda
& ​Global Compression Service of the Year -Original Message- From: Andi Vajda Sent: 07 May 2020 17:01 To: pylucene-dev@lucene.apache.org Subject: RE: AttributeError: 'bool' object has no attribute 'setdefault' On Thu, 7 May 2020, Chee Yong Teh wrote: Hi Andi, I think I got it wor

RE: AttributeError: 'bool' object has no attribute 'setdefault'

2020-05-07 Thread Andi Vajda
vice of the Year -Original Message- From: Andi Vajda Sent: 06 May 2020 00:34 To: Chee Yong Teh Cc: pylucene-dev@lucene.apache.org Subject: Re: AttributeError: 'bool' object has no attribute 'setdefault' On May 5, 2020, at 16:17, Chee Yong Teh wrote:  Hi Andi, Ok I have changed the com

Re: AttributeError: 'bool' object has no attribute 'setdefault'

2020-05-05 Thread Andi Vajda
> > Chee Yong > > Chee Yong Teh​ > 27 Bush Lane, London, EC4R 0AN | +44 203 929 3138 > > OTC Infrastructure Service of the Year & ​Global Compression Service of the > Year > -Original Message- > From: Andi Vajda > Sent: 05 May 2

Re: AttributeError: 'bool' object has no attribute 'setdefault'

2020-05-05 Thread Andi Vajda
& ​Global Compression Service of the Year From: Andi Vajda Sent: Tuesday, May 5, 2020 10:17:18 PM To: Chee Yong Teh Cc: va...@apache.org Subject: Re: AttributeError: 'bool' object has no attribute 'setdefault' So if looks like you have classes and pack

Re: AttributeError: 'bool' object has no attribute 'setdefault'

2020-05-05 Thread Andi Vajda
On Mon, 4 May 2020, Chee Yong Teh wrote: I'm in the processing of testing JCC to wrap third party library jar. When I run JCC 3.7 I got the following error Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File

[ANNOUNCE] Apache PyLucene 8.3.0

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

Re: [VOTE] Release PyLucene 8.3.0 (fwd)

2020-04-28 Thread Andi Vajda
Andi.. > > Mike McCandless > > http://blog.mikemccandless.com > > >> On Tue, Apr 28, 2020 at 3:53 PM Michael McCandless >> wrote: >> I will review and vote soon! >> >> Sorry for the delay! >> >> Mike McCandless >> >> http://

Re: Pylucene patch

2020-04-22 Thread Andi Vajda
Hi Marc, On Wed, 22 Apr 2020, Marc Jeurissen wrote: Hi Andi, I refer to this problem https://www.mail-archive.com/pylucene-dev@lucene.apache.org/msg02640.html You fixed it in JCC’s trunk, but apparently not in the official Pylucene release. This means that every time we install Pylucene,

Re: Tokenizer

2020-03-19 Thread Andi Vajda
On Thu, 19 Mar 2020, Marc Jeurissen wrote: Pylucene version: 8.1.1 Hi all, When you have a custom tokenizer (class CustomTokenizer(PythonTokenizer)), you don?t seem to be able to override any method besides incrementToken (so not end, reset, close). Is this correct? Correct, the only

Re: [jira] [Updated] (PYLUCENE-53) JCC Default implementations from Interfaces not exposed

2020-02-28 Thread Andi Vajda
Ah yes, Java interface default implementation methods were introduced in Java 8. I need to add support for this feature... Thank you for the bug report ! Andi.. On Wed, 26 Feb 2020, Petrus Hyvönen (Jira) wrote: [

[VOTE] Release PyLucene 8.3.0

2019-11-03 Thread Andi Vajda
The PyLucene 8.3.0 (rc1) release tracking the recent release of Apache Lucene 8.3.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/8.3.0-rc1/ PyLucene 8.3.0 is built with JCC 3.7, included in these release artifacts. JCC 3.7 supports

Re: [jira] [Commented] (PYLUCENE-51) "AttributeError: __module__" when running doctest

2019-10-17 Thread Andi Vajda
Added __module__ to JArray() types in rev 1868563. On Thu, 17 Oct 2019, Petrus Hyvönen (Jira) wrote: [ https://issues.apache.org/jira/browse/PYLUCENE-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16953958#comment-16953958 ] Petrus Hyvönen commented on

Re: [jira] [Commented] (PYLUCENE-51) "AttributeError: __module__" when running doctest

2019-10-17 Thread Andi Vajda
Ah yes, I forgot about JArray. One sec. On Thu, 17 Oct 2019, Petrus Hyvönen (Jira) wrote: [ https://issues.apache.org/jira/browse/PYLUCENE-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16953958#comment-16953958 ] Petrus Hyvönen commented on PYLUCENE-51:

Re: [jira] [Commented] (PYLUCENE-51) "AttributeError: __module__" when running doctest

2019-10-16 Thread Andi Vajda
On Wed, 16 Oct 2019, Andi Vajda wrote: On Wed, 16 Oct 2019, Petrus Hyvönen (Jira) wrote: Looks like the name in a PyTypeObject tp_name should be of form "module.name", and module is automagically assigned to __module__. I think this is done for some of the speci

Re: [jira] [Commented] (PYLUCENE-51) "AttributeError: __module__" when running doctest

2019-10-16 Thread Andi Vajda
On Wed, 16 Oct 2019, Petrus Hyvönen (Jira) wrote: Looks like the name in a PyTypeObject tp_name should be of form "module.name", and module is automagically assigned to __module__. I think this is done for some of the special classes but not for the wrapped classes if I understand correctly.

Re: [jira] [Created] (PYLUCENE-52) JCC build fails with Python 3.8.

2019-10-15 Thread Andi Vajda
That, and, with python 3.8, extensions are not supposed to be explicitely linked against libpython anymore. (from the same doc) > On Oct 15, 2019, at 18:53, A. Coady (Jira) wrote: > > A. Coady created PYLUCENE-52: > > > Summary: JCC build fails

Re: Field.setStringValue

2019-10-10 Thread Andi Vajda
urissen > > > > Bibliotheek UAntwerpen > Stadscampus – Ve35.303 > Venusstraat 35 – 2000 Antwerpen > marc.jeuris...@uantwerpen.be > T +32 3 265 49 71 > > > > From: Andi Vajda > Sent: woensdag 9 oktober 2019 23:33 > To: Andi Vajda > Cc: pylucene-dev@lucene.

Re: Field.setStringValue

2019-10-09 Thread Andi Vajda
On Wed, 9 Oct 2019, Andi Vajda wrote: On Wed, 9 Oct 2019, Marc Jeurissen wrote: Good day to you, I have the following issue when setting the value of a field, value containing a character > 160 (Pylucene 8.1.1, Python 3.7.2) ... (Pdb) field indexOpti

Re: Field.setStringValue

2019-10-09 Thread Andi Vajda
On Wed, 9 Oct 2019, Marc Jeurissen wrote: Good day to you, I have the following issue when setting the value of a field, value containing a character > 160 (Pylucene 8.1.1, Python 3.7.2) ... (Pdb) field > (Pdb) value = '«Volgende facturen werden verstuurd aan de financiële dienst.»' (Pdb)

[ANNOUNCE] Apache PyLucene 8.1.1

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

Re: [VOTE] Release PyLucene 8.1.1 (rc2)

2019-09-11 Thread Andi Vajda
This vote has now passed ! The release of PyLucene 8.1.1 is in progress. Thank you all for voting ! Andi.. On Sat, 22 Jun 2019, Andi Vajda wrote: The PyLucene 8.1.1 (rc2) release tracking the recent release of Apache Lucene 8.1.1 is ready. A release candidate is available from: https

Re: Stempel stemmer ported to Python

2019-07-21 Thread Andi Vajda
Hi Maciej, On Fri, 19 Jul 2019, Maciej Gawinecki wrote: I have ported your Stempel stemmer [1] for Polish language from Java to Python [2]. I know you have also Python wrapper for Lucene (pyLucene) so I was curious if you would be interested in the native implementation of a single stemmer?

[VOTE] Release PyLucene 8.1.1 (rc2)

2019-06-22 Thread Andi Vajda
The PyLucene 8.1.1 (rc2) release tracking the recent release of Apache Lucene 8.1.1 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/8.1.1-rc2/ PyLucene 8.1.1 is built with JCC 3.6, included in these release artifacts. JCC 3.6 supports

[jira] [Commented] (PYLUCENE-50) StoredField of an int has the wrong type.

2019-06-17 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16866175#comment-16866175 ] Andi Vajda commented on PYLUCENE-50: Thank you, Aric, for you reporting this. Andi.. ?? {{field

Re: [VOTE] Release PyLucene 8.1.1

2019-06-17 Thread Andi Vajda
The release vote has now been called off due to PYLUCENE-50. Andi.. On Mon, 17 Jun 2019, Andi Vajda wrote: On Mon, 17 Jun 2019, David Allouche wrote: On 17 Jun 2019, at 20:42, Andi Vajda wrote: On Mon, 17 Jun 2019, David Allouche wrote: Thank you, that was very informative. +0

[jira] [Commented] (PYLUCENE-50) StoredField of an int has the wrong type.

2019-06-17 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16866171#comment-16866171 ] Andi Vajda commented on PYLUCENE-50: For the longest time, it was possible to pass an int where

[jira] [Resolved] (PYLUCENE-50) StoredField of an int has the wrong type.

2019-06-17 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-50. Resolution: Fixed fixed in rev 1861553 > StoredField of an int has the wrong t

Re: [jira] [Created] (PYLUCENE-50) StoredField of an int has the wrong type.

2019-06-17 Thread Andi Vajda
This calls off the vote... Andi.. On Tue, 18 Jun 2019, A. Coady (JIRA) wrote: A. Coady created PYLUCENE-50: Summary: StoredField of an int has the wrong type. Key: PYLUCENE-50 URL:

Re: [VOTE] Release PyLucene 8.1.1

2019-06-17 Thread Andi Vajda
On Mon, 17 Jun 2019, David Allouche wrote: On 17 Jun 2019, at 20:42, Andi Vajda wrote: On Mon, 17 Jun 2019, David Allouche wrote: Thank you, that was very informative. +0 for this release, I builds and pass my test suite. But I was unable to make a complete integration test because I

Re: [VOTE] Release PyLucene 8.1.1

2019-06-11 Thread Andi Vajda
best effort". > This is probably all common questions with well documented answers. If that's > the case, then it would be nice to have a link to the answers in VOTE > requests. https://www.apache.org/foundation/voting.html Andi.. > >> On 11 Jun 2019, at 00:39, Andi Vajda

Re: [VOTE] Release PyLucene 8.1.1

2019-06-10 Thread Andi Vajda
Lucene ones, of course, it's Java Lucene doing all the work in both cases). Anyhow, you should ask all Luke-related questions on the lunene user list: http://lucene.apache.org/core/discussion.html Andi.. > >> On Tue, 11 Jun 2019, 6:21 am Andi Vajda > >> >>> On Jun

Re: [VOTE] Release PyLucene 8.1.1

2019-06-10 Thread Andi Vajda
10, 2019 at 11:39 PM Andi Vajda wrote: >> >> >> The PyLucene 8.1.1 (rc1) release tracking the recent release of >> Apache Lucene 8.1.1 is ready. >> >> A release candidate is available from: >> https://dist.apache.org/repos/dist/dev/lucene/pylucene/8

[VOTE] Release PyLucene 8.1.1

2019-06-10 Thread Andi Vajda
The PyLucene 8.1.1 (rc1) release tracking the recent release of Apache Lucene 8.1.1 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/8.1.1-rc1/ PyLucene 8.1.1 is built with JCC 3.5, included in these release artifacts. JCC 3.5 supports

Re: java.lang.IllegalArgumentException: Could not load codec 'Lucene62'. Did you forget to add lucene-backward-codecs.jar?

2019-06-04 Thread Andi Vajda
In rev 1860637 I refreshed the list of supported lucene module to be built with PyLucene. The lucene-backward-codecs module was indeed missing. Please, try it out with pylucene 7.7.1 (refresing its Makefile from trunk) and let me know if it fixes your problem. Thanks ! Andi.. On Tue, 4 Jun

Re: java.lang.IllegalArgumentException: Could not load codec 'Lucene62'. Did you forget to add lucene-backward-codecs.jar?

2019-06-04 Thread Andi Vajda
On Tue, 4 Jun 2019, Andi Vajda wrote: I wasn't aware of this jar file ;-) Did you try adding it in the Makefile and seeing if that fixes the problem ? It looks like both lucene-codecs.jar and lucene-backward-codecs.jar are missing... Andi.. Andi.. On Jun 4, 2019, at 11:30, David

Re: java.lang.IllegalArgumentException: Could not load codec 'Lucene62'. Did you forget to add lucene-backward-codecs.jar?

2019-06-04 Thread Andi Vajda
I wasn't aware of this jar file ;-) Did you try adding it in the Makefile and seeing if that fixes the problem ? Andi.. > On Jun 4, 2019, at 11:30, David Allouche wrote: > > Hello, > > I use pylucene, and I am upgrading from 6.5.0 to 7.7.1. > > Opening my old index using the new pylucene,

[jira] [Resolved] (PYLUCENE-49) Comply with Apache download page and mirror requirements

2019-06-03 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-49. Resolution: Fixed rev 1045830 of cms > Comply with Apache download page and mirror requireme

[jira] [Commented] (PYLUCENE-49) Comply with Apache download page and mirror requirements

2019-06-03 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16854862#comment-16854862 ] Andi Vajda commented on PYLUCENE-49: Use https links everywhere done Remove old releases

[jira] [Resolved] (PYLUCENE-48) --files separate not working with --use-full-names

2019-04-23 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-48. Resolution: Fixed > --files separate not working with --use-full-na

[jira] [Commented] (PYLUCENE-48) --files separate not working with --use-full-names

2019-04-23 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16824343#comment-16824343 ] Andi Vajda commented on PYLUCENE-48: fixed in rev 1858014 > --files separate not working with --

[jira] [Commented] (PYLUCENE-48) --files separate not working with --use-full-names

2019-04-22 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16823700#comment-16823700 ] Andi Vajda commented on PYLUCENE-48: ah, --files separate, I haven't used that in a long time

[jira] [Commented] (PYLUCENE-48) --files separate not working with --use-full-names

2019-04-22 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16823627#comment-16823627 ] Andi Vajda commented on PYLUCENE-48: What doesn't work ? There is no --file option, did you mean

[jira] [Commented] (PYLUCENE-47) Type matching in methods with same number of arguments

2019-04-22 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16823602#comment-16823602 ] Andi Vajda commented on PYLUCENE-47: Fixed in rev 1857978 (the attached test passes both

[jira] [Commented] (PYLUCENE-47) Type matching in methods with same number of arguments

2019-04-18 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16821358#comment-16821358 ] Andi Vajda commented on PYLUCENE-47: In that case, my comment makes no sense, sorry for the noise

Re: [jira] [Commented] (PYLUCENE-47) Type matching in methods with same number of arguments

2019-04-18 Thread Andi Vajda
On Wed, 17 Apr 2019, Petrus Hyvönen (JIRA) wrote: Petrus Hyvönen commented on PYLUCENE-47: Thanks for looking at this. I am not sure I understand your comments/questions. I don't think it is possible to have method overloading based on return type, so

[jira] [Commented] (PYLUCENE-47) Type matching in methods with same number of arguments

2019-04-16 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16819386#comment-16819386 ] Andi Vajda commented on PYLUCENE-47: I took at your patch and it makes sense (thanks!) Would it make

Re: JCC strange behaviour

2019-04-09 Thread Andi Vajda
hat will make >> it very complex. >> >> Another alternative i guess would be to use very strict typing rules so it >> really needs to be the same class of the types but that may affect how a >> library is used alot. >> >> With Best Regards >> /Petru

Re: JCC strange behaviour

2019-04-07 Thread Andi Vajda
and the parseArgs function but it is hard. Any comments welcome... With Best Regards /Petrus On Sat, Apr 6, 2019 at 3:58 AM Andi Vajda wrote: Are you sure you're running the code you think you're running ? Your description sounds like an old version of something may be picked up instead. Andi

Re: JCC strange behaviour

2019-04-05 Thread Andi Vajda
Are you sure you're running the code you think you're running ? Your description sounds like an old version of something may be picked up instead. Andi.. > On Apr 5, 2019, at 15:04, Petrus Hyvönen wrote: > > Hi, > > I am having some confusing time with a wrapped class. > > The class

[ANNOUNCE] Apache PyLucene 7.7.1

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

Re: [VOTE] Release PyLucene 7.7.1 (fwd)

2019-03-18 Thread Andi Vajda
http://blog.mikemccandless.com On Fri, Mar 15, 2019 at 12:58 PM Adrien Grand wrote: I downloaded artifacts, checked signatures, installed pylucene and ran tests: they passed. Here is my +1. On Fri, Mar 15, 2019 at 11:43 AM Andi Vajda wrote: Hi all, I'd like to once again gently nag

[VOTE] Release PyLucene 7.7.1

2019-03-05 Thread Andi Vajda
The PyLucene 7.7.1 (rc1) release tracking the recent release of Apache Lucene 7.7.1 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/7.7.1-rc1/ PyLucene 7.7.1 is built with JCC 3.5, included in these release artifacts. JCC 3.5 supports

Re: [jira] [Resolved] (PYLUCENE-46) __dir__ module paramter

2019-03-04 Thread Andi Vajda
You're welcome ! Andi.. > On Mar 4, 2019, at 22:29, Petrus Hyvönen wrote: > > Thanks Andi.. > >> On Mon, Mar 4, 2019 at 11:44 PM Andi Vajda (JIRA) wrote: >> >> >> [ >> https://issues.apache.org/jira/browse/PYLUCENE-46?page=com.atlassian.jira

[jira] [Resolved] (PYLUCENE-46) __dir__ module paramter

2019-03-04 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-46. Resolution: Fixed > __dir__ module paramter > > >

[jira] [Commented] (PYLUCENE-46) __dir__ module paramter

2019-03-04 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16783852#comment-16783852 ] Andi Vajda commented on PYLUCENE-46: Fixed in rev 1854800 (renamed __dir__ to __module_dir__

Re: Errors when running "make test"

2019-01-27 Thread Andi Vajda
On Sun, 27 Jan 2019, marco turchi wrote: Dear Andi, thanks a lot! I will have a look at the configuration of the drivers. This code needs to be fixed for Python 3. How is the name of an exception class extracted in Python 3 ? The exception class cannot be used directly since WindowsError

Re: Errors when running "make test"

2019-01-27 Thread Andi Vajda
On Sun, 27 Jan 2019, marco turchi wrote: Dear All, I'm installing PyLucene in a Linux machine. The make command reached the end without problems but I got this error when running make test: ERROR: test_removeDocument (__main__.Test_PyLuceneWithFSStore) ERROR: test_removeDocuments

Re: Some questions on implementing java interfaces

2019-01-19 Thread Andi Vajda
Hi Petrus, On Sat, 19 Jan 2019, Petrus Hyvönen wrote: I am working on wrapping a number of (java) interfaces as python classes (through JCC). Typically I have an "Interface" and make a class "PythonInterface", where I take the methods and make public nativec mehtods of them. In some cases

[ANNOUNCE] Apache PyLucene 7.6.0

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

Re: [VOTE] Release PyLucene 7.6.0 (rc1) (fwd)

2019-01-11 Thread Andi Vajda
On Fri, 11 Jan 2019, Adrien Grand wrote: +1 Thank you, Adrien, this vote has now passed ! Andi.. On Fri, Jan 11, 2019 at 10:34 AM Andi Vajda wrote: Dear Lucene PMC, As per Apache release rules, three PMC votes are necessary to make an official release. The PyLucene 7.6.0 release

Re: [VOTE] Release PyLucene 7.6.0 (rc1)

2019-01-09 Thread Andi Vajda
issues. (else, I can ping the PMC list too) Thanks ! Andi.. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com 7. jan. 2019 kl. 21:38 skrev Andi Vajda : On Mon, 7 Jan 2019, Michael McCandless wrote: +1 to release! I ran my usual simple test indexing the first 100K

Re: [VOTE] Release PyLucene 7.6.0 (rc1)

2019-01-07 Thread Andi Vajda
before you try again. Thanks ! Andi.. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com 7. jan. 2019 kl. 21:38 skrev Andi Vajda : On Mon, 7 Jan 2019, Michael McCandless wrote: +1 to release! I ran my usual simple test indexing the first 100K docs from an old wikipedia

Re: [VOTE] Release PyLucene 7.6.0 (rc1)

2019-01-07 Thread Andi Vajda
http://blog.mikemccandless.com On Fri, Jan 4, 2019 at 4:59 PM Andi Vajda wrote: The PyLucene 7.6.0 (rc1) release tracking the recent release of Apache Lucene 7.6.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/7.6.0-rc1/ PyLucene

Re: I have a question about building PyLucene

2019-01-06 Thread Andi Vajda
On Sun, 6 Jan 2019, NDelt wrote: Hello. I'm trying to install PyLucene 7.5.0 on Windows 10. I've installed jcc successfully, but I have an error while performing make(mingw32-make, because it's Windows) command. The ANT variable (extracted from your data below) doesn't look right for

[VOTE] Release PyLucene 7.6.0 (rc1)

2019-01-04 Thread Andi Vajda
The PyLucene 7.6.0 (rc1) release tracking the recent release of Apache Lucene 7.6.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/7.6.0-rc1/ PyLucene 7.6.0 is built with JCC 3.4 included in these release artifacts. JCC 3.4 supports

[ANNOUNCE] Apache PyLucene 7.5.0

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

Re: [VOTE] Release PyLucene 7.5.0 (rc2)

2018-10-19 Thread Andi Vajda
This vote has passed ! Thank you all who voted and made this release possible. Andi.. On Wed, 17 Oct 2018, Tommaso Teofili wrote: +1 Tommaso Il giorno mar 16 ott 2018 alle ore 06:46 Andi Vajda ha scritto: The PyLucene 7.5.0 (rc2) release tracking the recent release of Apache Lucene

[VOTE] Release PyLucene 7.5.0 (rc2)

2018-10-15 Thread Andi Vajda
The PyLucene 7.5.0 (rc2) release tracking the recent release of Apache Lucene 7.5.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/7.5.0-rc2/ PyLucene 7.5.0 is built with JCC 3.3 included in these release artifacts. JCC 3.3 supports

[jira] [Resolved] (PYLUCENE-45) JArray.cast_ raises SystemError in Python 3.

2018-10-15 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-45. Resolution: Fixed Fixed in rev 1843965. Thank you for the bug report. > JArray.cast_ rai

[VOTE] Release PyLucene 7.5.0 (rc1)

2018-10-15 Thread Andi Vajda
The PyLucene 7.5.0 (rc1) release tracking the recent release of Apache Lucene 7.5.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/7.5.0-rc1/ PyLucene 7.5.0 is built with JCC 3.3 included in these release artifacts. JCC 3.3 supports

[jira] [Commented] (PYLUCENE-41) JArray type issue

2018-10-14 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16649605#comment-16649605 ] Andi Vajda commented on PYLUCENE-41: Fixed in rev 1843871 (yay). JArray objects are instances

[jira] [Resolved] (PYLUCENE-41) JArray type issue

2018-10-14 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-41. Resolution: Fixed > JArray type issue > - > > Key:

[jira] [Commented] (PYLUCENE-44) pkg_resources.extern.packaging.version is Deprecated

2018-10-14 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16649429#comment-16649429 ] Andi Vajda commented on PYLUCENE-44: If you know that, on Arch, people always have a modern

[jira] [Commented] (PYLUCENE-44) pkg_resources.extern.packaging.version is Deprecated

2018-10-14 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16649273#comment-16649273 ] Andi Vajda commented on PYLUCENE-44: Note that this may be due to a python 2 vs python 3 problem: I

[jira] [Commented] (PYLUCENE-44) pkg_resources.extern.kg_resources.extern.packaging.version is Deprecated

2018-10-13 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16649113#comment-16649113 ] Andi Vajda commented on PYLUCENE-44: Did you actually try that ? I upgrade my setuptools

[jira] [Resolved] (PYLUCENE-43) Failed to build PyLucene after the removal of SetuptoolsVersion in setuptools

2018-09-19 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-43. Resolution: Fixed Hopefully fixed in rev 1841356. The newer setuptools helpfully dropped

[ANNOUNCE] Apache PyLucene 7.4.0

2018-09-03 Thread Andi Vajda
I am pleased to announce the availability of Apache PyLucene 7.4.0. New in this release: Lucene 7 support. Apache PyLucene, a subproject of Apache Lucene, is a Python extension for accessing Apache Lucene Core. Its goal is to allow you to use Lucene's text indexing and searching capabilities

Re: [VOTE] Release PyLucene 7.4.0 (rc1)

2018-09-03 Thread Andi Vajda
This vote has passed ! Thank you all who voted and made this release possible. Andi.. On Tue, 28 Aug 2018, Andi Vajda wrote: The PyLucene 7.4.0 (rc1) release tracking the recent release of Apache Lucene 7.4.0 is ready. A release candidate is available from: https://dist.apache.org/repos

[VOTE] Release PyLucene 7.4.0 (rc1)

2018-08-28 Thread Andi Vajda
The PyLucene 7.4.0 (rc1) release tracking the recent release of Apache Lucene 7.4.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/7.4.0-rc1/ PyLucene 7.4.0 is built with JCC 3.2 included in these release artifacts. JCC 3.2 supports

RE: [nag][VOTE] Release PyLucene 7.2.0 (rc1)

2018-08-28 Thread Andi Vajda
On Mon, 8 Jan 2018, Andi Vajda wrote: On Mon, 8 Jan 2018, Milo H. Fields III wrote: Please excuse my ignorance of Apache process -- 'who/what' are PCM's? http://www.apache.org/foundation/governance/pmcs.html Three PMC votes are necessary to approve a release of Apache software. So far

Re: JCC setup on Fedora 28 not detecting "modern setuptools"

2018-08-22 Thread Andi Vajda
On Wed, 22 Aug 2018, Szymon Rutkowski wrote: I managed to build Pylucene on Fedora 28, though it required some tinkering: 1) symlinking libpython3.6 as libpython3.6m.so (this was already reported some time ago I believe) 2) adding a line 216 in JCC's setup.py: What version of PyLucene ?

Re: use_full_names: How?

2018-07-22 Thread Andi Vajda
> On Jul 22, 2018, at 17:12, Philippe Baril Lecavalier > wrote: > > Hi, > > I'm trying to use JCC to access Java libraries from python, as this seems > to be its stated purpose. (Any known use outside of pylucene?) > > I get that all classes are flattened by default, and in some cases >

[jira] [Commented] (PYLUCENE-42) JCC build fails with Python 3.7 (release candidate).

2018-06-07 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16505050#comment-16505050 ] Andi Vajda commented on PYLUCENE-42: Patch applied, thank you for the fix ! > JCC build fa

[jira] [Resolved] (PYLUCENE-42) JCC build fails with Python 3.7 (release candidate).

2018-06-07 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-42. Resolution: Fixed > JCC build fails with Python 3.7 (release candid

Re: [jira] [Created] (PYLUCENE-42) JCC build fails with Python 3.7 (release candidate).

2018-06-06 Thread Andi Vajda
Could you please add the missing 'const' and see if that's the only such compile error ? Thanks ! Andi.. > On Jun 6, 2018, at 17:06, A. Coady (JIRA) wrote: > > A. Coady created PYLUCENE-42: > > > Summary: JCC build fails with Python 3.7 (release

<    1   2   3   4   5   6   7   8   9   >