brandonborkholder / glg2d

Graphics2D wrapper for JOGL
77 stars 31 forks source link

Checksum does not match #18

Closed odyssomay closed 11 years ago

odyssomay commented 11 years ago

I tried to use maven, but got this:

Could not transfer artifact org.jogamp.glg2d:glg2d:pom:0.3-20130222.215441-2 from/to glg2d (http://brandonborkholder.github.com/glg2d/maven2/): Checksum validation failed, expected 7b1eae42bb5a592bf8111d8a293c3d7127938bb2 but is 43d433c4abd290de0e740bed6d7586a9b4fb6d2f
This could be due to a typo in :dependencies or network issues.
Exception in thread "Thread-1" clojure.lang.ExceptionInfo: Could not resolve dependencies {:exit-code 1, :suppress-msg true}
    at clojure.core$ex_info.invoke(core.clj:4327)
    at leiningen.core.classpath$get_dependencies.doInvoke(classpath.clj:166)
    at clojure.lang.RestFn.invoke(RestFn.java:425)
    at clojure.lang.AFn.applyToHelper(AFn.java:163)
    at clojure.lang.RestFn.applyTo(RestFn.java:132)
    at clojure.core$apply.invoke(core.clj:621)
    at leiningen.core.classpath$resolve_dependencies.doInvoke(classpath.clj:215)
    at clojure.lang.RestFn.invoke(RestFn.java:425)
    at leiningen.core.eval$prep.invoke(eval.clj:54)
    at leiningen.core.eval$eval_in_project.invoke(eval.clj:282)
    at leiningen.repl$start_server.invoke(repl.clj:104)
    at leiningen.repl$server$fn__6100.invoke(repl.clj:172)
    at clojure.lang.AFn.applyToHelper(AFn.java:159)
    at clojure.lang.AFn.applyTo(AFn.java:151)
    at clojure.core$apply.invoke(core.clj:617)
    at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1788)
    at clojure.lang.RestFn.invoke(RestFn.java:425)
    at clojure.lang.AFn.applyToHelper(AFn.java:163)
    at clojure.lang.RestFn.applyTo(RestFn.java:132)
    at clojure.core$apply.invoke(core.clj:621)
    at clojure.core$bound_fn_STAR_$fn__4102.doInvoke(core.clj:1810)
    at clojure.lang.RestFn.invoke(RestFn.java:397)
    at clojure.lang.AFn.run(AFn.java:24)
    at java.lang.Thread.run(Thread.java:722)
Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Failed to collect dependencies for [#<Dependency org.clojure:clojure:jar:1.5.0 (compile)> #<Dependency com.taoensso:timbre:jar:1.5.2 (compile)> #<Dependency org.clojure:tools.namespace:jar:0.2.2 (compile)> #<Dependency jme:jme:jar:2013-04-01 (compile)> #<Dependency net.mikera:core.matrix:jar:0.6.0 (compile)> #<Dependency org.jogamp.glg2d:glg2d:jar:0.3-SNAPSHOT (compile)> #<Dependency javafx:javafx:jar:2.2 (compile)> #<Dependency org.thnetos:cd-client:jar:0.3.6 (compile)> #<Dependency org.clojure:tools.nrepl:jar:0.2.1 (compile)> #<Dependency clojure-complete:clojure-complete:jar:0.2.2 (compile)>]
    at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:371)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
    at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
    at cemerick.pomegranate.aether$resolve_dependencies_STAR_.doInvoke(aether.clj:585)
    at clojure.lang.RestFn.applyTo(RestFn.java:137)
    at clojure.core$apply.invoke(core.clj:617)
    at cemerick.pomegranate.aether$resolve_dependencies.doInvoke(aether.clj:594)
    at clojure.lang.RestFn.invoke(RestFn.java:2088)
    at leiningen.core.classpath$get_dependencies.doInvoke(classpath.clj:157)
    ... 22 more
Caused by: org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for [#<Dependency org.clojure:clojure:jar:1.5.0 (compile)> #<Dependency com.taoensso:timbre:jar:1.5.2 (compile)> #<Dependency org.clojure:tools.namespace:jar:0.2.2 (compile)> #<Dependency jme:jme:jar:2013-04-01 (compile)> #<Dependency net.mikera:core.matrix:jar:0.6.0 (compile)> #<Dependency org.jogamp.glg2d:glg2d:jar:0.3-SNAPSHOT (compile)> #<Dependency javafx:javafx:jar:2.2 (compile)> #<Dependency org.thnetos:cd-client:jar:0.3.6 (compile)> #<Dependency org.clojure:tools.nrepl:jar:0.2.1 (compile)> #<Dependency clojure-complete:clojure-complete:jar:0.2.2 (compile)>]
    at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258)
    at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:333)
    ... 34 more
Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.jogamp.glg2d:glg2d:jar:0.3-SNAPSHOT
    at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296)
    at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
    at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412)
    at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240)
    ... 35 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.jogamp.glg2d:glg2d:pom:0.3-20130222.215441-2 from/to glg2d (http://brandonborkholder.github.com/glg2d/maven2/): Checksum validation failed, expected 7b1eae42bb5a592bf8111d8a293c3d7127938bb2 but is 43d433c4abd290de0e740bed6d7586a9b4fb6d2f
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
    at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
    ... 38 more
Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact org.jogamp.glg2d:glg2d:pom:0.3-20130222.215441-2 from/to glg2d (http://brandonborkholder.github.com/glg2d/maven2/): Checksum validation failed, expected 7b1eae42bb5a592bf8111d8a293c3d7127938bb2 but is 43d433c4abd290de0e740bed6d7586a9b4fb6d2f
    at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951)
    at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
    at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
    at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    ... 1 more
Caused by: org.sonatype.aether.transfer.ChecksumFailureException: Checksum validation failed, expected 7b1eae42bb5a592bf8111d8a293c3d7127938bb2 but is 43d433c4abd290de0e740bed6d7586a9b4fb6d2f
    at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.verifyChecksum(WagonRepositoryConnector.java:731)
    at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:618)
    ... 4 more
brandonborkholder commented 11 years ago

I see what you mean. ​There seems to be something odd with the way github hosts binary files. I'm very busy right now at work, but I'll try to get to this as soon as possible.

Thanks for letting me know!

brandonborkholder commented 11 years ago

There seems to have been an issue with github's hosting and the binary files were serving up 404 error pages. That doesn't happen anymore and I'm able to download the artifacts in maven. Have you tried again recently?

odyssomay commented 11 years ago

Sorry for the late answer.

I tried it again, and get essentially the same error;

Retrieving org/jogamp/glg2d/glg2d/0.3-SNAPSHOT/glg2d-0.3-20130222.215441-2.pom from bla
Retrieving org/jogamp/glg2d/glg2d/0.3-SNAPSHOT/glg2d-0.3-20130222.215441-2.pom from bla
Could not transfer artifact org.jogamp.glg2d:glg2d:pom:0.3-20130222.215441-2 from/to bla (http://brandonborkholder.github.com/glg2d/maven2/): Checksum validation failed, expected 7b1eae42bb5a592bf8111d8a293c3d7127938bb2 but is 43d433c4abd290de0e740bed6d7586a9b4fb6d2f
This could be due to a typo in :dependencies or network issues.
brandonborkholder commented 11 years ago

I see it now. Eclipse must not report those kinds of problems. When I use the CLI maven, it does resolve, but reports errors. I'm going to release a new SNAPSHOT in a few days. That should push new version of everything including new hashes and resolve this issue. I'll keep you updated.

odyssomay commented 11 years ago

I see. Thanks for taking your time. :)

brandonborkholder commented 11 years ago

This should be fixed in a1eee730aefce0eac59677527669b3957f141520. Update now and let me know if you still have issues. I tried resolving the artifacts and didn't have any checksum issues. I might need to find some other, more stable hosting, because the gh-pages facility doesn't seem very stable.

odyssomay commented 11 years ago

It works now!