goete111 / factorie

Automatically exported from code.google.com/p/factorie
0 stars 0 forks source link

Connection refused when trying to download scalala-0.2.2-iesl #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This error was reported by a user at JHU. Error occurs when "mvn compile"
is run on a freshly untarred version of factorie-0.8.0

Relevant part of the output of "mvn compile" that shows possible error:
...
Downloading:
http://scala-tools.org/repo-releases/org/scalanlp/scalala/0.2.2-iesl/scalala-0.2
.2-iesl.pom
[INFO] Unable to find resource 'org.scalanlp:scalala:pom:0.2.2-iesl'
in repository scala-tools.org (http://scala-tools.org/repo-releases)
Downloading:
http://iesl.cs.umass.edu:8081/nexus/content/repositories/thirdparty//org/scalanl
p/scalala/0.2.2-iesl/scalala-0.2.2-iesl.pom
[WARNING] Unable to get resource 'org.scalanlp:scalala:pom:0.2.2-iesl'
from repository iesl.cs.umass.edu
(http://iesl.cs.umass.edu:8081/nexus/content/repositories/thirdparty/):
Error transferring file: Connection refused
Downloading:
http://repo1.maven.org/maven2/org/scalanlp/scalala/0.2.2-iesl/scalala-0.2.2-iesl
.pom
[INFO] Unable to find resource 'org.scalanlp:scalala:pom:0.2.2-iesl'
in repository central (http://repo1.maven.org/maven2)

Later on in the output, we see:
...
[INFO] java.lang.reflect.InvocationTargetException
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO]  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO]  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
[INFO]  at java.lang.reflect.Method.invoke(Method.java:597)
[INFO]  at
org_scala_tools_maven_executions.MainHelper.runMain(MainHelper.java:151)
[INFO]  at
org_scala_tools_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java
:26)
[INFO] Caused by: java.lang.RuntimeException: malformed Scala
signature of SparseHashVector at 22935; reference value it of package
<root> refers to nonexisting symbol.
[ERROR]         at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.errorBadSignature(UnPickler.
scala:762)
[INFO]  at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$class
file$UnPickler$UnPickle$$readSymbol(UnPickler.scala:172)
[INFO]  at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$sym
tab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:714)
[INFO]  at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$$anonfun$scala$tools$nsc$sym
tab$classfile$UnPickler$UnPickle$$readSymbolRef$1.apply(UnPickler.scala:714)
[INFO]  at
scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala$tools$nsc$symtab$class
file$UnPickler$UnPickle$$at(UnPickler.scala:139)
...

I am working on figuring out whether this error does indeed stem from that
"Connection refused" message, or otherwise.

Any suggestions/ideas are welcome.

Original issue reported on code.google.com by sameeersingh on 2 Jan 2010 at 5:14

GoogleCodeExporter commented 8 years ago
I tried to reproduce this error by deleting my scalala-iesl version from my .m2 
directory and running mvn compile. In my case maven successfully re-downloaded 
the scalala-iesl library from iesl.cs.umass.edu, so I'm not sure what's going 
on. 

There is a chance that somehow iesl.cs was not reachable when the user tried 
it, but 
is back now. So maybe just trying again would help. 

Also, can the user open the following URL with his browser without problems?

http://iesl.cs.umass.edu:8081/nexus/content/repositories/thirdparty/org/scalanlp
/s
calala/0.2.2-iesl/

Original comment by sebastian.riedel@gmail.com on 2 Jan 2010 at 1:17

GoogleCodeExporter commented 8 years ago
Yeah, the error was also not reproducible by me when I tried it, and the link 
opened
fine on his machine. I think it might be some other network issues on iesl or 
his
machine. He manually downloaded and installed the jar files.

Closing this issue for now.

Original comment by sameeersingh on 3 Jan 2010 at 6:23

GoogleCodeExporter commented 8 years ago
I've had similar errors when I tried to run maven through a wireless connection.
Basically, I was connected to the wireless router, but the wireless router was 
not
connected to the internet (or something along these lines). Maven was tricked 
into
thinking there was an internet connection even though there was none. I've also 
had
maven tricked into downloading the "do you agree with conditions page" of the 
PVTA
internet-access in place of some of the downloaded files.

Original comment by farah...@gmail.com on 6 Jan 2010 at 6:02

GoogleCodeExporter commented 8 years ago
Do you remember which dependencies caused the problem? Was it scalala, too?

Original comment by sebastian.riedel@gmail.com on 7 Jan 2010 at 6:07