Running leiningen update causes lots of warnings - clojure

After I run leiningen update running lein repl causes the following output to appear? What am I missing?
Im using OSX,
Java 1.7.0_51

it's a leiningen bug - https://github.com/technomancy/leiningen/issues/1625
You can temporarily downgrade (lein downgrade 2.4.2) to solve the issue

Related

I have an error in Clojure and leiningen command

I am working on a project in Clojure. I tried to migrate my latest DB commit to my local using the command
PROFILE=dev lein ragtime migrate
Getting this error:
clojure.lang.Compiler$CompilerException: Syntax error macroexpanding
clojure.core/fn at (clojure/core/unify.clj:83:18).
:clojure.error{:phase :macro-syntax-check, :line 83, :column 18,
:source "clojure/core/unify.clj", :symbol clojure.core/fn}
I also encountered this issue with Leiningen 2.9.1. In my case it turned out to occur due to the lein-ring plugin which depends on an outdated unify version. The issue is already fixed in the newest lein-ring version though: https://github.com/weavejester/lein-ring/issues/203. So upgrading lein-ring to 0.12.5 fixed it for me.
I'm not 100% sure what this issue is, but it seems to be related to leiningen 2.9.x.
At first, I ran leiningen v 2.8.x (don't remember which version exactly). Then everything worked fine.
Then I updated leiningen to 2.9.1, and I got this error the next time I tried to build with leiningen.
We then updated ring from version 1.4.0 to 1.7.1, and the error disappeared.
Alternatively, if you have to use an old version of a library, the only fix seems to be to downgrade to leiningen 2.8:
lein upgrade 2.8.3
Downgraded to 2.7.1 and it worked for me
Maybe your project.clj is malformed. I wonder where the ragtime command comes from? It seems that the previous developer implemented their own plugin for ragtime integration because it differs from the way suggested in the official wiki. It would be nice if you share some bits of your project.clj as well as the code that provides the connection b/w ragtime and lein.

Cannot use Clojure 1.7 with Leiningen

Using Leiningen, I'm unable to use Clojure 1.7 in project, but I am able to use later versions.
For instance, if I clone down the Om Next Tutorial and try to run it, I get a java.lang.NoClassDefFoundError: clojure/lang/Tuple. Full stack trace here. A similar error occurs any time I try to use Clojure 1.7 in a project with Leiningen.
However, the error goes away if I upgrade to Clojure 1.8 or 1.9 in project.clj. The trouble is that I'm not always in a position to upgrade the version on a project.
Versions installed:
Clojure: 1.8.0
Java: OpenJDK 1.8.0_171
Leiningen: 2.8.1
Ubuntu: 16.04 LTS
The problem happens with or without my lien profiles.clj.
I'm not a Java expert, but this looks like a classpath issue to me. I am using update-java-alternatives to set the path to Java 1.8.
Edit: I created a minimal repo that reproduced the problem, using the very first part of the Om Next tutorial, here.

Error starting process. Cannot create pty - Eclipse on Mac

I am trying to run a simple C++ program on Eclipse in mac. But it is not working. I have Xcode installed and I did try setting all the Eclipse settings that people suggested online, but still I am getting no where.
The error message:
Make sure you update to the Oxygen.1 version of the C/C++ IDE (CDT version 9.2.2). It contains a fix for this.
If you are using Eclipse Neon, update to CDT version 9.3.X by adding repo:
http://download.eclipse.org/tools/cdt/releases/9.3
and rebuild the project before running it.
I encounter the same problem when I updated my macOS 10.12 to 10.13 in Eclipse Oxygen.1A.
By upgrading the CDT plugin I solved the problem.

Unity webGL - build project on MacOS failed

When I try to build unity for webGL I get an error,
Exception:
/Applications/Unity/Unity.app/Contents/il2cpp/build/il2cpp.exe did not
run properly!
I am using lastest Unity on Mac, so I guess it cannot run il2cpp.exe file, is there any way to use the Xcode compiler instead? or any other solution?
The problem was my python version, it was 2.6, this process required python 2.7.

Calabash Android test procedure got very slow

I been using calabash-android for long time with real device, but never had this kind of slow testing procedure.I mean it used to go really in seconds to test my scenarios, but now it takes more than 1 minute .. It is the same laptop, only difference I tested on 15.04 Ubuntu before. Now I'm on
Ubuntu 14.04.03LTS 64bit
... Is it library missing or update to be made? or is Calabash got slower. Have no idea why its doing this...
please can u suggest how to get my speed back?
Thanks in advance
We've actually recently made speed improvements to the queries, so the framework itself shouldn't be the cause of any new slowness. Which version are you using? Should be 0.6.0.
If you're saying you've downgraded your OS from 15.04 to 14.04, that would probably be my first guess. Is there any difference in log output from before if you run with -v for verbose?
Never mind, I found out that Ruby version is old and reason cause installing Ruby through sudo new version was wrong way, cause it's not setting latest version to default. So I had to install RVM Ruby Version Manager and install latest ruby and set latest ruby version --default and re-install my Calabash-Android.