Error downloading com.cibo:evilplot_2.12:0.6.3

67 views
Skip to first unread message

Darren Lin

unread,
Jul 6, 2021, 6:46:45 AM7/6/21
to scalismo
Hello, 
When I'm running a project depending on Scalismo with a Ubuntu virtual machine, I encountered error in resolved dependencies path:

the error: 
[error] stack trace is suppressed; run last update for the full output
[error] (update) sbt.librarymanagement.ResolveException: Error downloading com.cibo:evilplot_2.12:0.6.3
[error]   Not found
[error]   Not found
[error]   not found: /home/virtonomy/.ivy2/local/com.cibo/evilplot_2.12/0.6.3/ivys/ivy.xml
[error] Total time: 4 s, completed Jul 6, 2021, 10:39:04 AM

Do you know what causes this? 
Also, I think the dependency is mainly dedicated to visualization, if I want to run the program headless, is there anyway I can reconfigure the dependency?

Marcel Luethi

unread,
Jul 6, 2021, 11:48:55 AM7/6/21
to Darren Lin, scalismo
Hi Darren

The bintray repository where evilplot is hosted is no longer available. The evilplot maintainers have published the latest version of evilplot to sonatype. You can add it to your project using the following line:
libraryDependencies += "io.github.cibotech" %% "evilplot" % "0.8.1"

Best regards,
Marcel

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/scalismo/0ff9183f-4c75-4151-b8f3-6dccfe07509cn%40googlegroups.com.

Darren Lin

unread,
Jul 7, 2021, 4:54:49 AM7/7/21
to scalismo
Thank you Marcel for the answer, now it works :)
However I encounter another issue when trying to read .stl meshes with MeshIO.readMesh.
the error:
scalismo.support.nativelibs.NativeLibraryException: Unable to load native library file /home/virtonomy/.scalismo/native-libs-4.0/libnewt.so
        at scalismo.support.nativelibs.impl.NativeLibraryBundle.loadLibraries(NativeLibraryBundle.java:239)
        at scalismo.support.nativelibs.impl.NativeLibraryBundle.initialize(NativeLibraryBundle.java:191)
        at scalismo.support.nativelibs.NativeLibraryBundlesImplementation.initialize(NativeLibraryBundlesImplementation.java:135)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at scalismo.support.nativelibs.NativeLibraryBundles.delegateInitializeCall(NativeLibraryBundles.java:169)
        at scalismo.support.nativelibs.NativeLibraryBundles.initialize(NativeLibraryBundles.java:59)
        at scalismo.package$.initialize(package.scala:36)
        at SSM.utils$.<init>(utils.scala:29)
        at SSM.utils$.<clinit>(utils.scala)
        at main.ssmPreprocessing$.$anonfun$main$9(ssmPreprocessing.scala:110)
        at main.ssmPreprocessing$.$anonfun$main$9$adapted(ssmPreprocessing.scala:109)
        at scala.collection.Iterator.foreach(Iterator.scala:941)
        at scala.collection.Iterator.foreach$(Iterator.scala:941)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:181)
        at main.ssmPreprocessing$.main(ssmPreprocessing.scala:109)
        at main.ssmPreprocessing.main(ssmPreprocessing.scala)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at sbt.Run.invokeMain(Run.scala:115)
        at sbt.Run.execute$1(Run.scala:79)
        at sbt.Run.$anonfun$runWithLoader$4(Run.scala:92)
        at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
        at sbt.util.InterfaceUtil$$anon$1.get(InterfaceUtil.scala:10)
        at sbt.TrapExit$App.run(TrapExit.scala:257)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.UnsatisfiedLinkError: /home/virtonomy/.scalismo/native-libs-4.0/libnewt.so: libXcursor.so.1: cannot open shared object file: No such file or directory
        at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
        at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442)
        at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498)
        at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2627)
        at java.base/java.lang.Runtime.load0(Runtime.java:768)
        at java.base/java.lang.Runtime.load(Runtime.java:756)
        at scalismo.support.nativelibs.impl.NativeLibraryBundle.loadLibraries(NativeLibraryBundle.java:233)
        ... 30 more

Do I need to install additional library on the system?
Regards, 
Darren

marcel...@gmail.com 在 2021年7月6日 星期二下午5:48:55 [UTC+2] 的信中寫道:

Marcel Luethi

unread,
Jul 8, 2021, 5:30:30 AM7/8/21
to Darren Lin, scalismo
Hi Darren

You usually do not need to install additional libraries. But scalismo requires a X-environment to be installed. It seems that on your system the standard X libraries (such as libXcursor) are not available.

Best regards
Marcel

Reply all
Reply to author
Forward
0 new messages