[jira] [Commented] (PYLUCENE-63) can not install pylucene on linux with proxy

2022-05-05 Thread lisa.shi (Jira)


[ 
https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17532651#comment-17532651
 ] 

lisa.shi commented on PYLUCENE-63:
--

thank you for your help. your answer is very helpful

> can not install pylucene on linux  with proxy
> -
>
> Key: PYLUCENE-63
> URL: https://issues.apache.org/jira/browse/PYLUCENE-63
> Project: PyLucene
>  Issue Type: Bug
> Environment: ubuntu 2020.4
>Reporter: lisa.shi
>Priority: Major
>
> i try to install pyylucene on linux  with proxy. i have already set 
> http_proxy on linux . i  have change Makefile .
> from 
> cd $(LUCENE); ($(ANT) ivy-availability-check || $(ANT) ivy-bootstrap )
> to
> cd $(LUCENE); ($(ANT) ivy-availability-check -autoproxy|| $(ANT) 
> ivy-bootstrap -autoproxy)
> then i can get ivy-2.4.0.jar in  ~/.ant/lib/
> when i try to make pyluence. i meet a bug.
>  
>  
> ivy:cachepath]           [https://repository.cloudera.com/artifactory/li]  
> bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .pom
> [ivy:cachepath]           – artifact org.codehaus.groovy#groovy-all;2.4  
> .17!groovy-all.jar:
> [ivy:cachepath]           [https://repository.cloudera.com/artifactory/li]  
> bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .jar
> [ivy:cachepath]                   
> ::
> [ivy:cachepath]                 ::          UNRESOLVED DEPENDENCIES           
> ::
> [ivy:cachepath]                   
> ::
> [ivy:cachepath]                 :: org.codehaus.groovy#groovy-all;2.4.17  : 
> not found
> [ivy:cachepath]                   
> ::
> [ivy:cachepath]  ERRORS
> [ivy:cachepath]         Server access error at url 
> [https://repo1.maven.o|https://repo1.maven.o/]  
> rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.pom (j  
> ava.net.ConnectException: Connection timed out (Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://repo1.maven.o|https://repo1.maven.o/]  
> rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.jar (j  
> ava.net.ConnectException: Connection timed out (Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://oss.sonatype|https://oss.sonatype/].  
> org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/  
> groovy-all-2.4.17.pom (java.net.ConnectException: Connection timed out (  
> Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://oss.sonatype|https://oss.sonatype/].  
> org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/  
> groovy-all-2.4.17.jar (java.net.ConnectException: Connection timed out (  
> Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://repository.cl|https://repository.cl/]  
> oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all  
> /2.4.17/groovy-all-2.4.17.pom (java.net.ConnectException: Connection tim  ed 
> out (Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://repository.cl|https://repository.cl/]  
> oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all  
> /2.4.17/groovy-all-2.4.17.jar (java.net.ConnectException: Connection tim  ed 
> out (Connection timed out))
> [ivy:cachepath]
> [ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> BUILD FAILED
>  
>  
> how can i fix this bug?
> i am sure the file ( 
> [https://repo1.maven.o|https://repo1.maven.o/]rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.jar)
>  is not exist



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (PYLUCENE-63) can not install pylucene on linux with proxy

2022-04-28 Thread lisa.shi (Jira)


[ 
https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17529454#comment-17529454
 ] 

lisa.shi commented on PYLUCENE-63:
--

i also can not build jcc with java11. when i try to run  "python setup.py build"

x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
-Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv 
-O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g 
-fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g 
-fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. 
-fstack-protector-strong -Wformat -Werror=format-security -fPIC 
build/temp.linux-x86_64-2.7/jcc2/sources/jcc.o 
build/temp.linux-x86_64-2.7/jcc2/sources/JCCEnv.o -o 
build/lib.linux-x86_64-2.7/libjcc2.so 
-L/usr/lib/jvm/java-11-openjdk-amd64/jre/lib/amd64 -ljava 
-L/usr/lib/jvm/java-11-openjdk-amd64/jre/lib/amd64/server -ljvm 
-Wl,-rpath=/usr/lib/jvm/java-11-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-11-openjdk-amd64/jre/lib/amd64/server
 -Wl,-S -lpython2.7
/usr/bin/ld: cannot find -ljava
/usr/bin/ld: cannot find -ljvm
collect2: error: ld returned 1 exit status
error: command 'x86_64-linux-gnu-g++' failed with exit status 1

> can not install pylucene on linux  with proxy
> -
>
> Key: PYLUCENE-63
> URL: https://issues.apache.org/jira/browse/PYLUCENE-63
> Project: PyLucene
>  Issue Type: Bug
> Environment: ubuntu 2020.4
>Reporter: lisa.shi
>Priority: Major
>
> i try to install pyylucene on linux  with proxy. i have already set 
> http_proxy on linux . i  have change Makefile .
> from 
> cd $(LUCENE); ($(ANT) ivy-availability-check || $(ANT) ivy-bootstrap )
> to
> cd $(LUCENE); ($(ANT) ivy-availability-check -autoproxy|| $(ANT) 
> ivy-bootstrap -autoproxy)
> then i can get ivy-2.4.0.jar in  ~/.ant/lib/
> when i try to make pyluence. i meet a bug.
>  
>  
> ivy:cachepath]           [https://repository.cloudera.com/artifactory/li]  
> bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .pom
> [ivy:cachepath]           – artifact org.codehaus.groovy#groovy-all;2.4  
> .17!groovy-all.jar:
> [ivy:cachepath]           [https://repository.cloudera.com/artifactory/li]  
> bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .jar
> [ivy:cachepath]                   
> ::
> [ivy:cachepath]                 ::          UNRESOLVED DEPENDENCIES           
> ::
> [ivy:cachepath]                   
> ::
> [ivy:cachepath]                 :: org.codehaus.groovy#groovy-all;2.4.17  : 
> not found
> [ivy:cachepath]                   
> ::
> [ivy:cachepath]  ERRORS
> [ivy:cachepath]         Server access error at url 
> [https://repo1.maven.o|https://repo1.maven.o/]  
> rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.pom (j  
> ava.net.ConnectException: Connection timed out (Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://repo1.maven.o|https://repo1.maven.o/]  
> rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.jar (j  
> ava.net.ConnectException: Connection timed out (Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://oss.sonatype|https://oss.sonatype/].  
> org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/  
> groovy-all-2.4.17.pom (java.net.ConnectException: Connection timed out (  
> Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://oss.sonatype|https://oss.sonatype/].  
> org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/  
> groovy-all-2.4.17.jar (java.net.ConnectException: Connection timed out (  
> Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://repository.cl|https://repository.cl/]  
> oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all  
> /2.4.17/groovy-all-2.4.17.pom (java.net.ConnectException: Connection tim  ed 
> out (Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://repository.cl|https://repository.cl/]  
> oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all  
> /2.4.17/groovy-all-2.4.17.jar (java.net.ConnectException: Connection tim  ed 
> out (Connection timed out))
> [ivy:cachepath]
> [ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> BUILD FAILED
>  
>  
> how can i fix this bug?
> i am sure the file ( 
> 

[jira] [Commented] (PYLUCENE-63) can not install pylucene on linux with proxy

2022-04-28 Thread lisa.shi (Jira)


[ 
https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17529257#comment-17529257
 ] 

lisa.shi commented on PYLUCENE-63:
--

i have changed the prefix_python to "/usr/".  the bug is changed to 

 

 

(cd lucene-java-9.1.0; ./gradlew collectRuntimeJars)

> Task :errorProneSkipped
WARNING: errorprone disabled (skipped on non-nightly runs, pass 
-Dtests.nightly=true to run)

BUILD SUCCESSFUL in 2s
121 actionable tasks: 2 executed, 119 up-to-date
/usr//bin/python -m jcc --shared --jar 
lucene-java-9.1.0/lucene/core/build/runtimeJars/lucene-core-9.1.0-SNAPSHOT.jar 
--jar 
lucene-java-9.1.0/lucene/analysis/common/build/runtimeJars/lucene-analysis-common-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/backward-codecs/build/runtimeJars/lucene-backward-codecs-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/classification/build/runtimeJars/lucene-classification-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/codecs/build/runtimeJars/lucene-codecs-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/expressions/build/runtimeJars/lucene-expressions-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/extensions/build/runtimeJars/lucene-extensions-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/facet/build/runtimeJars/lucene-facet-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/grouping/build/runtimeJars/lucene-grouping-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/highlighter/build/runtimeJars/lucene-highlighter-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/join/build/runtimeJars/lucene-join-9.1.0-SNAPSHOT.jar 
--jar 
lucene-java-9.1.0/lucene/analysis/kuromoji/build/runtimeJars/lucene-analysis-kuromoji-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/memory/build/runtimeJars/lucene-memory-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/misc/build/runtimeJars/lucene-misc-9.1.0-SNAPSHOT.jar 
--jar 
lucene-java-9.1.0/lucene/analysis/nori/build/runtimeJars/lucene-analysis-nori-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/queries/build/runtimeJars/lucene-queries-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/queryparser/build/runtimeJars/lucene-queryparser-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/sandbox/build/runtimeJars/lucene-sandbox-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/spatial3d/build/runtimeJars/lucene-spatial3d-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/analysis/stempel/build/runtimeJars/lucene-analysis-stempel-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/suggest/build/runtimeJars/lucene-suggest-9.1.0-SNAPSHOT.jar
  --use_full_names --include 
lucene-java-9.1.0/lucene/expressions/build/runtimeJars/antlr4-runtime-4.5.1-1.jar
 --include lucene-java-9.1.0/lucene/expressions/build/runtimeJars/asm-7.2.jar 
--include 
lucene-java-9.1.0/lucene/expressions/build/runtimeJars/asm-commons-7.2.jar 
--include lucene-java-9.1.0/lucene/facet/build/runtimeJars/hppc-0.9.0.jar 
--package java.lang java.lang.System java.lang.Runtime --package java.util 
java.util.Arrays java.util.Collections java.util.HashMap java.util.HashSet 
java.util.TreeSet java.lang.IllegalStateException 
java.lang.IndexOutOfBoundsException java.util.NoSuchElementException 
java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator --package 
java.util.concurrent java.util.concurrent.Executors --package 
java.util.function --package java.util.regex --package java.io 
java.io.StringReader --package java.nio.file java.nio.file.Path 
java.nio.file.Files java.nio.file.Paths --package org.antlr.v4.runtime 
--package org.antlr.v4.runtime.atn --exclude 
org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude 
org.apache.regexp.RegexpTunnel --exclude 
org.apache.lucene.misc.store.WindowsDirectory --exclude 
org.apache.lucene.misc.store.NativePosixUtil --exclude 'module-info' --python 
lucene --mapping org.apache.lucene.document.Document 
'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping java.util.Properties 
'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence 
java.util.AbstractCollection 'size:()I' '-:-' --sequence java.util.AbstractList 
'-:-' 'get:(I)Ljava/lang/Object;' org.apache.lucene.index.IndexWriter:getReader 
org.apache.lucene.analysis.Tokenizer:input --version 9.1.0 --module 
python/collections.py --module python/ICUNormalizer2Filter.py --module 
python/ICUFoldingFilter.py --module python/ICUTransformFilter.py --resources 
lucene-java-9.1.0/lucene/analysis/icu/src/resources --files 16 --build
While loading org/apache/lucene/search/ConstantScoreScorer
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File 
"/usr/local/lib/python2.7/dist-packages/JCC-3.10-py2.7-linux-x86_64.egg/jcc/__main__.py",
 line 108, in 
    cpp.jcc(sys.argv)
  

[jira] [Commented] (PYLUCENE-63) can not install pylucene on linux with proxy

2022-04-28 Thread lisa.shi (Jira)


[ 
https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17529247#comment-17529247
 ] 

lisa.shi commented on PYLUCENE-63:
--

 PREFIX_PYTHON=/opt/apache/pylucene/_install
 72 PYTHON=$(PREFIX_PYTHON)/bin/python
 73 JCC=$(PYTHON) -m jcc --shared
 74 NUM_FILES=16

> can not install pylucene on linux  with proxy
> -
>
> Key: PYLUCENE-63
> URL: https://issues.apache.org/jira/browse/PYLUCENE-63
> Project: PyLucene
>  Issue Type: Bug
> Environment: ubuntu 2020.4
>Reporter: lisa.shi
>Priority: Major
>
> i try to install pyylucene on linux  with proxy. i have already set 
> http_proxy on linux . i  have change Makefile .
> from 
> cd $(LUCENE); ($(ANT) ivy-availability-check || $(ANT) ivy-bootstrap )
> to
> cd $(LUCENE); ($(ANT) ivy-availability-check -autoproxy|| $(ANT) 
> ivy-bootstrap -autoproxy)
> then i can get ivy-2.4.0.jar in  ~/.ant/lib/
> when i try to make pyluence. i meet a bug.
>  
>  
> ivy:cachepath]           [https://repository.cloudera.com/artifactory/li]  
> bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .pom
> [ivy:cachepath]           – artifact org.codehaus.groovy#groovy-all;2.4  
> .17!groovy-all.jar:
> [ivy:cachepath]           [https://repository.cloudera.com/artifactory/li]  
> bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .jar
> [ivy:cachepath]                   
> ::
> [ivy:cachepath]                 ::          UNRESOLVED DEPENDENCIES           
> ::
> [ivy:cachepath]                   
> ::
> [ivy:cachepath]                 :: org.codehaus.groovy#groovy-all;2.4.17  : 
> not found
> [ivy:cachepath]                   
> ::
> [ivy:cachepath]  ERRORS
> [ivy:cachepath]         Server access error at url 
> [https://repo1.maven.o|https://repo1.maven.o/]  
> rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.pom (j  
> ava.net.ConnectException: Connection timed out (Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://repo1.maven.o|https://repo1.maven.o/]  
> rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.jar (j  
> ava.net.ConnectException: Connection timed out (Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://oss.sonatype|https://oss.sonatype/].  
> org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/  
> groovy-all-2.4.17.pom (java.net.ConnectException: Connection timed out (  
> Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://oss.sonatype|https://oss.sonatype/].  
> org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/  
> groovy-all-2.4.17.jar (java.net.ConnectException: Connection timed out (  
> Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://repository.cl|https://repository.cl/]  
> oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all  
> /2.4.17/groovy-all-2.4.17.pom (java.net.ConnectException: Connection tim  ed 
> out (Connection timed out))
> [ivy:cachepath]         Server access error at url 
> [https://repository.cl|https://repository.cl/]  
> oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all  
> /2.4.17/groovy-all-2.4.17.jar (java.net.ConnectException: Connection tim  ed 
> out (Connection timed out))
> [ivy:cachepath]
> [ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> BUILD FAILED
>  
>  
> how can i fix this bug?
> i am sure the file ( 
> [https://repo1.maven.o|https://repo1.maven.o/]rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.jar)
>  is not exist



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (PYLUCENE-63) can not install pylucene on linux with proxy

2022-04-28 Thread lisa.shi (Jira)


[ 
https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17529246#comment-17529246
 ] 

lisa.shi commented on PYLUCENE-63:
--

make print-GENERATE
GENERATE = --jar 
lucene-java-9.1.0/lucene/core/build/runtimeJars/lucene-core-9.1.0-SNAPSHOT.jar 
--jar 
lucene-java-9.1.0/lucene/analysis/common/build/runtimeJars/lucene-analysis-common-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/backward-codecs/build/runtimeJars/lucene-backward-codecs-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/classification/build/runtimeJars/lucene-classification-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/codecs/build/runtimeJars/lucene-codecs-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/expressions/build/runtimeJars/lucene-expressions-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/extensions/build/runtimeJars/lucene-extensions-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/facet/build/runtimeJars/lucene-facet-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/grouping/build/runtimeJars/lucene-grouping-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/highlighter/build/runtimeJars/lucene-highlighter-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/join/build/runtimeJars/lucene-join-9.1.0-SNAPSHOT.jar 
--jar 
lucene-java-9.1.0/lucene/analysis/kuromoji/build/runtimeJars/lucene-analysis-kuromoji-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/memory/build/runtimeJars/lucene-memory-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/misc/build/runtimeJars/lucene-misc-9.1.0-SNAPSHOT.jar 
--jar 
lucene-java-9.1.0/lucene/analysis/nori/build/runtimeJars/lucene-analysis-nori-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/queries/build/runtimeJars/lucene-queries-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/queryparser/build/runtimeJars/lucene-queryparser-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/sandbox/build/runtimeJars/lucene-sandbox-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/spatial3d/build/runtimeJars/lucene-spatial3d-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/analysis/stempel/build/runtimeJars/lucene-analysis-stempel-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/suggest/build/runtimeJars/lucene-suggest-9.1.0-SNAPSHOT.jar
 --use_full_names --include 
lucene-java-9.1.0/lucene/expressions/build/runtimeJars/antlr4-runtime-4.5.1-1.jar
 --include lucene-java-9.1.0/lucene/expressions/build/runtimeJars/asm-7.2.jar 
--include 
lucene-java-9.1.0/lucene/expressions/build/runtimeJars/asm-commons-7.2.jar 
--include lucene-java-9.1.0/lucene/facet/build/runtimeJars/hppc-0.9.0.jar 
--package java.lang java.lang.System java.lang.Runtime --package java.util 
java.util.Arrays java.util.Collections java.util.HashMap java.util.HashSet 
java.util.TreeSet java.lang.IllegalStateException 
java.lang.IndexOutOfBoundsException java.util.NoSuchElementException 
java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator --package 
java.util.concurrent java.util.concurrent.Executors --package 
java.util.function --package java.util.regex --package java.io 
java.io.StringReader --package java.nio.file java.nio.file.Path 
java.nio.file.Files java.nio.file.Paths --package org.antlr.v4.runtime 
--package org.antlr.v4.runtime.atn --exclude 
org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude 
org.apache.regexp.RegexpTunnel --exclude 
org.apache.lucene.misc.store.WindowsDirectory --exclude 
org.apache.lucene.misc.store.NativePosixUtil --exclude module-info --python 
lucene --mapping org.apache.lucene.document.Document 
get:(Ljava/lang/String;)Ljava/lang/String; --mapping java.util.Properties 
getProperty:(Ljava/lang/String;)Ljava/lang/String; --sequence 
java.util.AbstractCollection size:()I -:- --sequence java.util.AbstractList -:- 
get:(I)Ljava/lang/Object; org.apache.lucene.index.IndexWriter:getReader 
org.apache.lucene.analysis.Tokenizer:input --version 9.1.0 --module 
python/collections.py --module python/ICUNormalizer2Filter.py --module 
python/ICUFoldingFilter.py --module python/ICUTransformFilter.py --resources 
lucene-java-9.1.0/lucene/analysis/icu/src/resources --files

> can not install pylucene on linux  with proxy
> -
>
> Key: PYLUCENE-63
> URL: https://issues.apache.org/jira/browse/PYLUCENE-63
> Project: PyLucene
>  Issue Type: Bug
> Environment: ubuntu 2020.4
>Reporter: lisa.shi
>Priority: Major
>
> i try to install pyylucene on linux  with proxy. i have already set 
> http_proxy on linux . i  have change Makefile .
> from 
> cd $(LUCENE); ($(ANT) ivy-availability-check || $(ANT) ivy-bootstrap )
> to
> cd $(LUCENE); ($(ANT) ivy-availability-check -autoproxy|| $(ANT) 
> ivy-bootstrap -autoproxy)
> then i can get ivy-2.4.0.jar in  ~/.ant/lib/
> when i try to make pyluence. i meet a bug.
>  
>  
> 

[jira] [Commented] (PYLUCENE-63) can not install pylucene on linux with proxy

2022-04-27 Thread lisa.shi (Jira)


[ 
https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17529193#comment-17529193
 ] 

lisa.shi commented on PYLUCENE-63:
--

thank you for your reply .

 

i have download the pylucene9.1.0. and install java11. but there are still 
something wrong when i try to install pylucene.

jar 
lucene-java-9.1.0/lucene/core/build/runtimeJars/lucene-core-9.1.0-SNAPSHOT.jar 
--jar 
lucene-java-9.1.0/lucene/analysis/common/build/runtimeJars/lucene-analysis-common-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/backward-codecs/build/runtimeJars/lucene-backward-codecs-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/classification/build/runtimeJars/lucene-classification-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/codecs/build/runtimeJars/lucene-codecs-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/expressions/build/runtimeJars/lucene-expressions-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/extensions/build/runtimeJars/lucene-extensions-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/facet/build/runtimeJars/lucene-facet-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/grouping/build/runtimeJars/lucene-grouping-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/highlighter/build/runtimeJars/lucene-highlighter-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/join/build/runtimeJars/lucene-join-9.1.0-SNAPSHOT.jar 
--jar 
lucene-java-9.1.0/lucene/analysis/kuromoji/build/runtimeJars/lucene-analysis-kuromoji-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/memory/build/runtimeJars/lucene-memory-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/misc/build/runtimeJars/lucene-misc-9.1.0-SNAPSHOT.jar 
--jar 
lucene-java-9.1.0/lucene/analysis/nori/build/runtimeJars/lucene-analysis-nori-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/queries/build/runtimeJars/lucene-queries-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/queryparser/build/runtimeJars/lucene-queryparser-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/sandbox/build/runtimeJars/lucene-sandbox-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/spatial3d/build/runtimeJars/lucene-spatial3d-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/analysis/stempel/build/runtimeJars/lucene-analysis-stempel-9.1.0-SNAPSHOT.jar
 --jar 
lucene-java-9.1.0/lucene/suggest/build/runtimeJars/lucene-suggest-9.1.0-SNAPSHOT.jar
  --use_full_names --include 
lucene-java-9.1.0/lucene/expressions/build/runtimeJars/antlr4-runtime-4.5.1-1.jar
 --include lucene-java-9.1.0/lucene/expressions/build/runtimeJars/asm-7.2.jar 
--include 
lucene-java-9.1.0/lucene/expressions/build/runtimeJars/asm-commons-7.2.jar 
--include lucene-java-9.1.0/lucene/facet/build/runtimeJars/hppc-0.9.0.jar 
--package java.lang java.lang.System java.lang.Runtime --package java.util 
java.util.Arrays java.util.Collections java.util.HashMap java.util.HashSet 
java.util.TreeSet java.lang.IllegalStateException 
java.lang.IndexOutOfBoundsException java.util.NoSuchElementException 
java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator --package 
java.util.concurrent java.util.concurrent.Executors --package 
java.util.function --package java.util.regex --package java.io 
java.io.StringReader --package java.nio.file java.nio.file.Path 
java.nio.file.Files java.nio.file.Paths --package org.antlr.v4.runtime 
--package org.antlr.v4.runtime.atn --exclude 
org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities --exclude 
org.apache.regexp.RegexpTunnel --exclude 
org.apache.lucene.misc.store.WindowsDirectory --exclude 
org.apache.lucene.misc.store.NativePosixUtil --exclude 'module-info' --python 
lucene --mapping org.apache.lucene.document.Document 
'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping java.util.Properties 
'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence 
java.util.AbstractCollection 'size:()I' '-:-' --sequence java.util.AbstractList 
'-:-' 'get:(I)Ljava/lang/Object;' org.apache.lucene.index.IndexWriter:getReader 
org.apache.lucene.analysis.Tokenizer:input --version 9.1.0 --module 
python/collections.py --module python/ICUNormalizer2Filter.py --module 
python/ICUFoldingFilter.py --module python/ICUTransformFilter.py --resources 
lucene-java-9.1.0/lucene/analysis/icu/src/resources --files  --build
Illegal option: l
Try `jar --help' for more information.
Makefile:270: recipe for target 'compile' failed
make: [compile] Error 1 (ignored)
build of pylucene 9.1.0 complete

> can not install pylucene on linux  with proxy
> -
>
> Key: PYLUCENE-63
> URL: https://issues.apache.org/jira/browse/PYLUCENE-63
> Project: PyLucene
>  Issue Type: Bug
> Environment: ubuntu 2020.4
>Reporter: lisa.shi
>Priority: Major
>
> i try to install pyylucene on linux  with proxy. i have already set 
> http_proxy on linux . i  

[jira] [Updated] (PYLUCENE-63) can not install pylucene on linux with proxy

2022-04-27 Thread lisa.shi (Jira)


 [ 
https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

lisa.shi updated PYLUCENE-63:
-
Description: 
i try to install pyylucene on linux  with proxy. i have already set http_proxy 
on linux . i  have change Makefile .

from 

cd $(LUCENE); ($(ANT) ivy-availability-check || $(ANT) ivy-bootstrap )

to

cd $(LUCENE); ($(ANT) ivy-availability-check -autoproxy|| $(ANT) ivy-bootstrap 
-autoproxy)

then i can get ivy-2.4.0.jar in  ~/.ant/lib/

when i try to make pyluence. i meet a bug.

 

 

ivy:cachepath]           [https://repository.cloudera.com/artifactory/li]  
bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .pom
[ivy:cachepath]           – artifact org.codehaus.groovy#groovy-all;2.4  
.17!groovy-all.jar:
[ivy:cachepath]           [https://repository.cloudera.com/artifactory/li]  
bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .jar
[ivy:cachepath]                   ::
[ivy:cachepath]                 ::          UNRESOLVED DEPENDENCIES           ::
[ivy:cachepath]                   ::
[ivy:cachepath]                 :: org.codehaus.groovy#groovy-all;2.4.17  : not 
found
[ivy:cachepath]                   ::
[ivy:cachepath]  ERRORS
[ivy:cachepath]         Server access error at url 
[https://repo1.maven.o|https://repo1.maven.o/]  
rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.pom (j  
ava.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath]         Server access error at url 
[https://repo1.maven.o|https://repo1.maven.o/]  
rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.jar (j  
ava.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath]         Server access error at url 
[https://oss.sonatype|https://oss.sonatype/].  
org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/  
groovy-all-2.4.17.pom (java.net.ConnectException: Connection timed out (  
Connection timed out))
[ivy:cachepath]         Server access error at url 
[https://oss.sonatype|https://oss.sonatype/].  
org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/  
groovy-all-2.4.17.jar (java.net.ConnectException: Connection timed out (  
Connection timed out))
[ivy:cachepath]         Server access error at url 
[https://repository.cl|https://repository.cl/]  
oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all  
/2.4.17/groovy-all-2.4.17.pom (java.net.ConnectException: Connection tim  ed 
out (Connection timed out))
[ivy:cachepath]         Server access error at url 
[https://repository.cl|https://repository.cl/]  
oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all  
/2.4.17/groovy-all-2.4.17.jar (java.net.ConnectException: Connection tim  ed 
out (Connection timed out))
[ivy:cachepath]
[ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED

 

 

how can i fix this bug?

i am sure the file ( 
[https://repo1.maven.o|https://repo1.maven.o/]rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.jar)
 is not exist

  was:
i try to install pyylucene on linux  with proxy. i have already set http_proxy 
on linux . i  have change Makefile .

from 

cd $(LUCENE); ($(ANT) ivy-availability-check || $(ANT) ivy-bootstrap )

to

cd $(LUCENE); ($(ANT) ivy-availability-check -autoproxy|| $(ANT) ivy-bootstrap 
-autoproxy)

then i can get ivy-2.4.0.jar in  ~/.ant/lib/

when i try to make pyluence. i meet a bug.

 

 

ivy:cachepath]           https://repository.cloudera.com/artifactory/li  
bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .pom
[ivy:cachepath]           -- artifact org.codehaus.groovy#groovy-all;2.4  
.17!groovy-all.jar:
[ivy:cachepath]           https://repository.cloudera.com/artifactory/li  
bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .jar
[ivy:cachepath]                   ::
[ivy:cachepath]                 ::          UNRESOLVED DEPENDENCIES           ::
[ivy:cachepath]                   ::
[ivy:cachepath]                 :: org.codehaus.groovy#groovy-all;2.4.17  : not 
found
[ivy:cachepath]                   ::
[ivy:cachepath]  ERRORS
[ivy:cachepath]         Server access error at url https://repo1.maven.o  
rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.pom (j  
ava.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath]         Server access error at url https://repo1.maven.o  
rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.jar (j  
ava.net.ConnectException: Connection timed out 

[jira] [Created] (PYLUCENE-63) can not install pylucene on linux with proxy

2022-04-27 Thread lisa.shi (Jira)
lisa.shi created PYLUCENE-63:


 Summary: can not install pylucene on linux  with proxy
 Key: PYLUCENE-63
 URL: https://issues.apache.org/jira/browse/PYLUCENE-63
 Project: PyLucene
  Issue Type: Bug
 Environment: ubuntu 2020.4
Reporter: lisa.shi


i try to install pyylucene on linux  with proxy. i have already set http_proxy 
on linux . i  have change Makefile .

from 

cd $(LUCENE); ($(ANT) ivy-availability-check || $(ANT) ivy-bootstrap )

to

cd $(LUCENE); ($(ANT) ivy-availability-check -autoproxy|| $(ANT) ivy-bootstrap 
-autoproxy)

then i can get ivy-2.4.0.jar in  ~/.ant/lib/

when i try to make pyluence. i meet a bug.

 

 

ivy:cachepath]           https://repository.cloudera.com/artifactory/li  
bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .pom
[ivy:cachepath]           -- artifact org.codehaus.groovy#groovy-all;2.4  
.17!groovy-all.jar:
[ivy:cachepath]           https://repository.cloudera.com/artifactory/li  
bs-release-local/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17  .jar
[ivy:cachepath]                   ::
[ivy:cachepath]                 ::          UNRESOLVED DEPENDENCIES           ::
[ivy:cachepath]                   ::
[ivy:cachepath]                 :: org.codehaus.groovy#groovy-all;2.4.17  : not 
found
[ivy:cachepath]                   ::
[ivy:cachepath]  ERRORS
[ivy:cachepath]         Server access error at url https://repo1.maven.o  
rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.pom (j  
ava.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath]         Server access error at url https://repo1.maven.o  
rg/maven2/org/codehaus/groovy/groovy-all/2.4.17/groovy-all-2.4.17.jar (j  
ava.net.ConnectException: Connection timed out (Connection timed out))
[ivy:cachepath]         Server access error at url https://oss.sonatype.  
org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/  
groovy-all-2.4.17.pom (java.net.ConnectException: Connection timed out (  
Connection timed out))
[ivy:cachepath]         Server access error at url https://oss.sonatype.  
org/content/repositories/releases/org/codehaus/groovy/groovy-all/2.4.17/  
groovy-all-2.4.17.jar (java.net.ConnectException: Connection timed out (  
Connection timed out))
[ivy:cachepath]         Server access error at url https://repository.cl  
oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all  
/2.4.17/groovy-all-2.4.17.pom (java.net.ConnectException: Connection tim  ed 
out (Connection timed out))
[ivy:cachepath]         Server access error at url https://repository.cl  
oudera.com/artifactory/libs-release-local/org/codehaus/groovy/groovy-all  
/2.4.17/groovy-all-2.4.17.jar (java.net.ConnectException: Connection tim  ed 
out (Connection timed out))
[ivy:cachepath]
[ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED

 

 

how can i fix this bug?

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)