I am trying to create a luminus project with sqlite and cljs support with this command:
lein new dbscript +sqlite +cljs
but I keep getting this error message all the time:
Failed to resolve version for dbscript:lein-template:jar:RELEASE: Could not find metadata dbscript:lein-template/maven-metadata.xml in local (/home/jonas/.m2/repository)
Failed to read artifact descriptor for dbscript:lein-template:jar:RELEASE
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
Could not find template dbscript on the classpath.
and I cannot find any solution to this. Any suggestions?
I have downloaded and extracted the .NET Core SDK zipped binaries, and added them to the PATH.
I'm able to create a new console project using dotnet new console, but when I try to add a dependency with dotnet add package DocumentFormat.OpenXml, I get the following error:
Writing C:\Users\boobsbr\AppData\Local\Temp\tmp2C7B.tmp
info : Adding PackageReference for package 'DocumentFormat.OpenXml' into project 'C:\projects\test\test.csproj'.
log : Restoring packages for C:\projects\test\test.csproj...
error: Unable to load the service index for source https://api.nuget.org/v3/index.json.
error: No such host is known
I've read in several places that I need to add some configuration to NuGet.config in order to set up the HTTPS proxy. Some people recommend using nuget.exe config -Set in order to set the values, but the executable is not present in the binary distribution folder, and I've also read that the dotnet.exe uses NuGet DLLs instead of calling the nuget.exe executable.
So I set out to edit the file located at C:\Users\boobsbr\AppData\Roaming\NuGet\NuGet.Config. Some people suggest just setting the proxy URL and the user and pass would be read from some system config, so I added the following line to the config file:
<add key="https_proxy" value="http://proxy_url:8080" />
And this is the message I got after trying to add a package:
Writing C:\Users\boobsbr\AppData\Local\Temp\tmpA7AF.tmp
info : Adding PackageReference for package 'DocumentFormat.OpenXml' into project 'C:\projects\test\test.csproj'.
log : Restoring packages for C:\projects\test\test.csproj...
info : GET http://proxy_url:8080/FindPackagesById()?id='DocumentFormat.OpenXml'&semVerLevel=2.0.0
log : Retrying 'FindPackagesByIdAsyncCore' for source 'http://proxy_url:8080/FindPackagesById()?id='DocumentFormat.OpenXml'&semVerLevel=2.0.0'.
log : No such host is known
info : GET http://proxy_url:8080/FindPackagesById()?id='DocumentFormat.OpenXml'&semVerLevel=2.0.0
log : Retrying 'FindPackagesByIdAsyncCore' for source 'http://proxy_url:8080/FindPackagesById()?id='DocumentFormat.OpenXml'&semVerLevel=2.0.0'.
log : No such host is known
info : GET http://proxy_url:8080/FindPackagesById()?id='DocumentFormat.OpenXml'&semVerLevel=2.0.0
error: Failed to retrieve information about 'DocumentFormat.OpenXml' from remote source 'http://proxy_url:8080/FindPackagesById()?id='DocumentFormat.OpenXml'&semVerLevel=2.0.0'.
error: No such host is known
Alright, so I tried adding a username, as suggested by other people, and the password should be automatically picked up from some system:
<add key="https_proxy" value="http://proxy_url:8080" />
<add key="https_proxy.user" value="boobsbr" />
And this is the failure message:
Writing C:\Users\boobsbr\AppData\Local\Temp\tmp839E.tmp
info : Adding PackageReference for package 'DocumentFormat.OpenXml' into project 'C:\projects\test\test.csproj'.
log : Restoring packages for C:\projects\test\test.csproj...
info : GET http://proxy_url:8080/FindPackagesById()?id='DocumentFormat.OpenXml'&semVerLevel=2.0.0
log : Retrying 'FindPackagesByIdAsyncCore' for source 'http://proxy_url:8080/FindPackagesById()?id='DocumentFormat.OpenXml'&semVerLevel=2.0.0'.
log : No such host is known
info : GET http://proxy_url:8080/FindPackagesById()?id='DocumentFormat.OpenXml'&semVerLevel=2.0.0
log : Retrying 'FindPackagesByIdAsyncCore' for source 'http://proxy_url:8080/FindPackagesById()?id='DocumentFormat.OpenXml'&semVerLevel=2.0.0'.
log : No such host is known
info : GET http://proxy_url:8080/FindPackagesById()?id='DocumentFormat.OpenXml'&semVerLevel=2.0.0
error: The local source 'C:\Users\boobsbr\AppData\Roaming\NuGet\boobsbr' doesn't exist.
Alright, then I tried adding a cleartext password:
<add key="https_proxy" value="http://proxy_url:8080" />
<add key="https_proxy.user" value="boobsbr" />
<add key="https_proxy.password" value="my_pass" />
And I got the same message as the previous try. I also tried using http_proxy instead of https_proxy, to no avail.
Some people say the password must be base64'd and encrypted, but the only way to do that seems to be through nuget.exe config -Set and I don't have nuget.exe.
I know the user:pass:url:port values work because I used them to get NPM talking to the NPM registry.
Maybe I'm bad at searching, but I cannot find clear documentation describing how to set up a simple configuration for a very common use case.
So, how do I configure the .NET Core CLI to use the corporate proxy/firewall?
Windwows 10 build: 15063
.NET Core SDK version: 2.1.402
getting the below error while installing spring IDE from eclipse market place
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http: //dist.springsource.com/release/TOOLS/update/3.8.4.RELEASE/e4.5/features/org.springframework.ide.eclipse.aop.feature_3.8.4.201703310634-RELEASE.jar.
Read timed out
Unable to read repository at http: //dist.springsource.com/release/TOOLS/update/3.8.4.RELEASE/e4.5/plugins/org.springframework.ide.eclipse.config.graph_3.8.4.201703310634-RELEASE.jar.
Read timed out
Unable to read repository at http ://dist.springsource.com/release/TOOLS/update/3.8.4.RELEASE/e4.5/features/org.springframework.ide.eclipse.roo.feature_3.8.4.201703310634-RELEASE.jar.
Read timed out
Unable to read repository at http: //dist.springsource.com/release/TOOLS/update/3.8.4.RELEASE/e4.5/plugins/org.springframework.ide.eclipse.webflow.core_3.8.4.201703310634-RELEASE.jar.
Read timed out
Check for Eclipse updates at first
Goto Windows-> peferences -> Install/Update -> Available software Sites,update "http://download.springsource.com" instead of "http://dist.springsource.com". restart Eclipse, and add it back.
And select help>install new software>contact all update sites (check)
I did this for Eclipse Mars version
I am using the Eclipse Oxygen Release (4.7.0) and I followed the solution suggested by #Vasath.
In the list of Available software sites, I edited "SpringSource Update Site for Eclipse 4.7" by replacing
http://download.springsource.com/release/TOOLS/update/e4.7 with
http://dist.springsource.com/release/TOOLS/update/e4.7.
It worked, Spring IDE is installed and working fine.
I access code in Docker($docker pull mreif/fse2016:evaluation), the code could be compiled and run without errors in remote server. While i download it to local machine, i suffered some errors in compiling(using: sbt compile):
[error] (*:update) sbt.ResolveException: unresolved dependency: de.opal-project#abstract-interpretation-framework_2.11;0.9.0-SNAPSHOT: not
[What i have done] I added follow lines into "build.sbt":
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
[error] evaluation/src/main/scala/org/opalj/evaluation/EntryPointAndCallEdgeCountAnalysis.scala:90: not found:
[What i have done] I added follow lines into "build.sbt":
libraryDependencies += "de.opal-project" % "fixpoint-computations-framework-analyses_2.11" % "0.9.0- SNAPSHOT"
3.[error] /src/main/scala/org/opalj/evaluation/EntryPointAndCallEdgeCountAnalysis.scala:130: not found: value LibraryEntryPointsAnalysis
I have checked the related code, LibraryEntryPointsAnalysis has been actually imported but doesn't work.
Could you please help me to confirm is there any operations i missed for compile the source code?
Thank you very much!
Jiang
The reason why it is not working is a version mismatch of the OPAL framework. The reason why it doesn't find the "LibraryEntryPointAnalysis" is, that it has been renamed.
You have to options:
Use the version of OPAL that is used in the Docker container
make a check out of OPAL at from version tag "ArtifactEvaluationFSE2016"
copy OPAl from the container like you did with the evaluation project
Adapt the Evaluation Project to the new API
the LibraryEntryPointsAnalysis is now called EntryPointAnalysis
there are probably other breaking changes that you have to fix
If you want to go with option one you have to build OPAL on your own because the eval version is not published on maven.
SystemML is available on https://github.com/SparkTC/systemml
How do I get it started with? I am newbie to GitHub.
I created a directory in my Ubuntu and copied the POM.xml file - when I issued mvn clean package, I am getting the error:
mvn clean package
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.ibm.systemml:systemml-parent:5.2-SNAPSHOT (/home/vmuser/system-ml/pom.xml) has 1 error
[ERROR] Child module /home/vmuser/system-ml/system-ml of /home/vmuser/system-ml/pom.xml does not exist
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
When I went to R and issued the following command on R 64 bit ver 3.1.1, I got error too:
> install.packages(c("batch", "bitops", "boot", "caTools", "data.table", "doMC", "doSNOW", "ggplot2", "glmnet", "lda", "Matrix", "matrixStats", "moments", "plotrix", "psych", "reshape", "topicmodels", "wordcloud", "methods"), dependencies=TRUE)
--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/3.1
Warning: package ‘methods’ is in use and will not be installed
Warning message:
packages ‘batch’, ‘bitops’, ‘boot’, ‘caTools’, ‘data.table’, ‘doMC’, ‘doSNOW’, ‘ggplot2’, ‘glmnet’, ‘lda’, ‘Matrix’, ‘matrixStats’, ‘moments’, ‘plotrix’, ‘psych’, ‘reshape’, ‘topicmodels’, ‘wordcloud’ are not available (for R version 3.1.1)
>
The error message you received tells you what the problem is (formatting mine):
The project com.ibm.systemml:systemml-parent:5.2-SNAPSHOT (/home/vmuser/system-ml/pom.xml) has 1 error
Child module /home/vmuser/system-ml/system-ml of /home/vmuser/system-ml/pom.xml does not exist
You said:
I created a directory in my Ubuntu and copied the POM.xml file
You don't just need the pom.xml file; you need the whole project. Either git clone it or download the source as a zip and extract it, then run mvn clean package from the project directory.
git clone is a better option if you intend to modify the source code. It will give you some powerful tools for integrating upstream changes and for submitting your modifications to the parent project. If you just want to use the project as-is, either option should be fine.
SystemML became an Apache (incubating) project in November of 2015. Its main website is located at http://systemml.apache.org/. The project can now be found on GitHub at https://github.com/apache/incubator-systemml.
Probably the quickest way to get started with Apache SystemML is to download a pre-built release package from the Apache SystemML Downloads page (see the main website). Information about Apache SystemML can be found at the Apache SystemML Documentation site, which is linked to from the main site. This includes information about running SystemML in notebooks, on Spark, and on Hadoop.
If you would like to clone the SystemML repository and build it locally with Maven, instructions to do so can be found in the project README on GitHub.