You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by "lisa.shi (Jira)" <ji...@apache.org> on 2022/04/28 04:55:00 UTC

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

    [ https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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  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)