Sbt failing

496 views
Skip to first unread message

Carlijn Bakker

unread,
Jun 21, 2016, 5:02:33 AM6/21/16
to scalismo
Dear all,

I'm trying hard to run a script from scala which need using scalismo. To run this sbt is needed, but unfortunately sbt isn't working on my laptop. The error I get is added below.
Now I tried with William all possible scala, java and sbt versions and we also tried to change the plugin but keeps complaining and giving errors.
We tried creating a project by eclips, intelliJ and online (typesafe), but they all failed.
The only difference with the other computers, where it is working all fine, is that my laptop has windows 10.

Does anyone has an idea how to solve this problem?

Thank you,
Regards,
Carlijn 

                [FAILED     ] org.scala-sbt#launcher-interface;0.13.7!launcher-interface.jar: impossible to move part file to definitive one: C:\Users\Carlijn\.ivy2\cache\org.scala-sbt\launcher-interface\jars\launcher-interface-0.13.7.jar.part -> C:\Users\Carlijn\.ivy2\cache\org.scala-sbt\launcher-interface\jars\launcher-interface-0.13.7.jar (7525ms)

                [FAILED     ] org.scala-sbt#launcher-interface;0.13.7!launcher-interface.jar:  (0ms)

        ==== local: tried

          C:\Users\Carlijn\.ivy2\local\org.scala-sbt\launcher-interface\0.13.7\jars\launcher-interface.jar

        ==== Maven Central: tried


        ==== typesafe-ivy-releases: tried


        ==== sbt-ivy-snapshots: tried


                [FAILED     ] org.scala-sbt#classpath;0.13.7!classpath.jar: impossible to move part file to definitive one: C:\Users\Carlijn\.ivy2\cache\org.scala-sbt\classpath\jars\classpath-0.13.7.jar.part -> C:\Users\Carlijn\.ivy2\cache\org.scala-sbt\classpath\jars\classpath-0.13.7.jar (6927ms)

                [FAILED     ] org.scala-sbt#classpath;0.13.7!classpath.jar:  (0ms)

        ==== local: tried

          C:\Users\Carlijn\.ivy2\local\org.scala-sbt\classpath\0.13.7\jars\classpath.jar

        ==== Maven Central: tried


        ==== typesafe-ivy-releases: tried


        ==== sbt-ivy-snapshots: tried


                [FAILED     ] org.scala-sbt#completion;0.13.7!completion.jar: impossible to move part file to definitive one: C:\Users\Carlijn\.ivy2\cache\org.scala-sbt\completion\jars\completion-0.13.7.jar.part -> C:\Users\Carlijn\.ivy2\cache\org.scala-sbt\completion\jars\completion-0.13.7.jar (8083ms)

                [FAILED     ] org.scala-sbt#completion;0.13.7!completion.jar:  (0ms)

        ==== local: tried

          C:\Users\Carlijn\.ivy2\local\org.scala-sbt\completion\0.13.7\jars\completion.jar

        ==== Maven Central: tried


        ==== typesafe-ivy-releases: tried


        ==== sbt-ivy-snapshots: tried


                [FAILED     ] org.scala-lang#scala-compiler;2.10.4!scala-compiler.jar: impossible to move part file to definitive one: C:\Users\Carlijn\.ivy2\cache\org.scala-lang\scala-compiler\jars\scala-compiler-2.10.4.jar.part -> C:\Users\Carlijn\.ivy2\cache\org.scala-lang\scala-compiler\jars\scala-compiler-2.10.4.jar (28799ms)

                [FAILED     ] org.scala-lang#scala-compiler;2.10.4!scala-compiler.jar:  (0ms)

        ==== local: tried

          C:\Users\Carlijn\.ivy2\local\org.scala-lang\scala-compiler\2.10.4\jars\scala-compiler.jar

        ==== Maven Central: tried


        ==== typesafe-ivy-releases: tried


        ==== sbt-ivy-snapshots: tried


                [FAILED     ] org.scala-lang#scala-reflect;2.10.4!scala-reflect.jar: impossible to move part file to definitive one: C:\Users\Carlijn\.ivy2\cache\org.scala-lang\scala-reflect\jars\scala-reflect-2.10.4.jar.part -> C:\Users\Carlijn\.ivy2\cache\org.scala-lang\scala-reflect\jars\scala-reflect-2.10.4.jar (9254ms)

                [FAILED     ] org.scala-lang#scala-reflect;2.10.4!scala-reflect.jar:  (0ms)

        ==== local: tried

          C:\Users\Carlijn\.ivy2\local\org.scala-lang\scala-reflect\2.10.4\jars\scala-reflect.jar

        ==== Maven Central: tried


        ==== typesafe-ivy-releases: tried


        ==== sbt-ivy-snapshots: tried


                [FAILED     ] org.scala-sbt#control;0.13.7!control.jar: impossible to move part file to definitive one: C:\Users\Carlijn\.ivy2\cache\org.scala-sbt\control\jars\control-0.13.7.jar.part -> C:\Users\Carlijn\.ivy2\cache\org.scala-sbt\control\jars\control-0.13.7.jar (6324ms)

                [FAILED     ] org.scala-sbt#control;0.13.7!control.jar:  (0ms)

        ==== local: tried

          C:\Users\Carlijn\.ivy2\local\org.scala-sbt\control\0.13.7\jars\control.jar

        ==== Maven Central: tried


        ==== typesafe-ivy-releases: tried


        ==== sbt-ivy-snapshots: tried


                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: org.scala-sbt#collections;0.13.7: not found

                :: jline#jline;2.11: not found

                :: org.scala-sbt#api;0.13.7: not found

                :: org.scala-sbt#compiler-integration;0.13.7: not found

                :: org.scala-sbt#compiler-ivy-integration;0.13.7: not found

                :: org.scala-sbt#ivy;0.13.7: not found

                :: org.scala-sbt#logging;0.13.7: not found

                :: org.scala-sbt#process;0.13.7: not found

                :: org.scala-sbt#run;0.13.7: not found

                :: org.scala-sbt#relation;0.13.7: not found

                :: org.scala-sbt#task-system;0.13.7: not found

                :: org.scala-sbt#tasks;0.13.7: not found

                :: org.scala-sbt#tracking;0.13.7: not found

                :: org.scala-sbt#testing;0.13.7: not found

                :: org.scala-sbt#main-settings;0.13.7: not found

                :: org.scala-sbt#logic;0.13.7: not found

                :: org.scala-sbt#command;0.13.7: not found

                :: org.scala-sbt#compiler-interface;0.13.7: not found

                :: org.scala-sbt#precompiled-2_8_2;0.13.7: not found

                :: org.scala-sbt#precompiled-2_9_2;0.13.7: not found

                :: org.scala-sbt#precompiled-2_9_3;0.13.7: not found

                ::::::::::::::::::::::::::::::::::::::::::::::


                ::::::::::::::::::::::::::::::::::::::::::::::

                ::              FAILED DOWNLOADS            ::

                :: ^ see resolution messages for details  ^ ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: org.scala-sbt#sbt;0.13.7!sbt.jar

                :: org.scala-lang#scala-library;2.10.4!scala-library.jar

                :: org.scala-sbt#main;0.13.7!main.jar

                :: org.scala-sbt#actions;0.13.7!actions.jar

                :: org.scala-sbt#classpath;0.13.7!classpath.jar

                :: org.scala-lang#scala-compiler;2.10.4!scala-compiler.jar

                :: org.scala-lang#scala-reflect;2.10.4!scala-reflect.jar

                :: org.scala-sbt#launcher-interface;0.13.7!launcher-interface.jar

                :: org.scala-sbt#interface;0.13.7!interface.jar

                :: org.scala-sbt#io;0.13.7!io.jar

                :: org.scala-sbt#control;0.13.7!control.jar

                :: org.scala-sbt#completion;0.13.7!completion.jar

                ::::::::::::::::::::::::::::::::::::::::::::::



:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#collections;0.13.7: not found
unresolved dependency: jline#jline;2.11: not found
unresolved dependency: org.scala-sbt#api;0.13.7: not found
unresolved dependency: org.scala-sbt#compiler-integration;0.13.7: not found
unresolved dependency: org.scala-sbt#compiler-ivy-integration;0.13.7: not found
unresolved dependency: org.scala-sbt#ivy;0.13.7: not found
unresolved dependency: org.scala-sbt#logging;0.13.7: not found
unresolved dependency: org.scala-sbt#process;0.13.7: not found
unresolved dependency: org.scala-sbt#run;0.13.7: not found
unresolved dependency: org.scala-sbt#relation;0.13.7: not found
unresolved dependency: org.scala-sbt#task-system;0.13.7: not found
unresolved dependency: org.scala-sbt#tasks;0.13.7: not found
unresolved dependency: org.scala-sbt#tracking;0.13.7: not found
unresolved dependency: org.scala-sbt#testing;0.13.7: not found
unresolved dependency: org.scala-sbt#main-settings;0.13.7: not found
unresolved dependency: org.scala-sbt#logic;0.13.7: not found
unresolved dependency: org.scala-sbt#command;0.13.7: not found
unresolved dependency: org.scala-sbt#compiler-interface;0.13.7: not found
unresolved dependency: org.scala-sbt#precompiled-2_8_2;0.13.7: not found
unresolved dependency: org.scala-sbt#precompiled-2_9_2;0.13.7: not found
unresolved dependency: org.scala-sbt#precompiled-2_9_3;0.13.7: not found
download failed: org.scala-sbt#sbt;0.13.7!sbt.jar
download failed: org.scala-lang#scala-library;2.10.4!scala-library.jar
download failed: org.scala-sbt#main;0.13.7!main.jar
download failed: org.scala-sbt#actions;0.13.7!actions.jar
download failed: org.scala-sbt#classpath;0.13.7!classpath.jar
download failed: org.scala-lang#scala-compiler;2.10.4!scala-compiler.jar
download failed: org.scala-lang#scala-reflect;2.10.4!scala-reflect.jar
download failed: org.scala-sbt#launcher-interface;0.13.7!launcher-interface.jar
download failed: org.scala-sbt#interface;0.13.7!interface.jar
download failed: org.scala-sbt#io;0.13.7!io.jar
download failed: org.scala-sbt#control;0.13.7!control.jar
download failed: org.scala-sbt#completion;0.13.7!completion.jar
Error during sbt execution: Error retrieving required libraries
  (see C:\Users\Carlijn\.sbt\boot\update.log for complete log)
Error: Could not retrieve sbt 0.13.7

bouabene ghazi

unread,
Jun 21, 2016, 7:57:40 AM6/21/16
to Carlijn Bakker, scalismo
Dear Carlijn,

It seems that sbt runs into problems when writing to C:\Users\Carlijn\.ivy2\cache  which is the directory where all encountered project dependencies are stored (scalismo would also end up there).

It's difficult to know what the causes for that are remotely (could be related to disk-space for example). One thing you can safely try is to delete the cache directory altogether and try to recompile (will repopulate the cache on success).

Also it might help to set the log level of sbt to Debug by running the following in the sbt command line:

> set logLevel := Level.Debug
> compile

(see https://www.safaribooksonline.com/library/view/scala-cookbook/9781449340292/ch18s14.html)

Hope this helps,
Ghazi


--
You received this message because you are subscribed to the Google Groups "scalismo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalismo+u...@googlegroups.com.
To post to this group, send email to scal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalismo/03b37a15-0c80-4d93-ab2c-822ea83a6911%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Ghazi Bouabene, PhD
Department of Mathematics and Computer Science
University of Basel, Switzerland
https://github.com/Ghazi-Bouabene

Carlijn Bakker

unread,
Jun 21, 2016, 9:37:59 AM6/21/16
to scalismo, carlij...@gmail.com
Dear Ghaze,

Thank you for the possible solution. I will give it a try :)

Regards,
Carlijn



Op dinsdag 21 juni 2016 13:57:40 UTC+2 schreef bouabene ghazi:
Reply all
Reply to author
Forward
0 new messages