Comments (7)
Not sure if it will help, but try adding this line in your project.clj
:aot [loom.graph]
from loom.
I actually aot every namespace already.
from loom.
AOT related errors are difficult to track down. In my case just aot loom.graph solved my problem, but your situation is entirely different and it's hard to comment any further without more details.
If that may help understand your problem, I usually get this error on the REPL because somehow a protocol or record gets reloaded while some existing instances are kept active. Reloading protocols and records create new interfaces/classes which are not the same as the one from instances not reloaded.
from loom.
@sritchie are you see that error when running tests? do you see that error outside of running tests?
these kind of aot related errors generally come down to either stale class files or code reloading and various test suites do different kinds of code reloading that can cause problems, if you are use clojure.test in an older lein project lein used insert a :reload-all
in to the ns form for tests which can easily cause this problem
from loom.
This popped up with a full clean, rm -rf target
, lein clean
, all of that. I built an uberjar with AOT compilation enabled for all namespaces, then tried to execute the uberjar with java jar
. I backed off, but when I try to upgrade again I'll repro in a small project and send it on to you guys.
from loom.
@sritchie: Were you able to reproduce this issue after you upgraded?
from loom.
Hey Paul - not sure, unfortunately.
On Sun, Mar 20, 2016 at 10:13 AM Paul L. Snyder [email protected]
wrote:
@sritchie https://github.com/sritchie: Were you able to reproduce this
issue after you upgraded?—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#39 (comment)
from loom.
Related Issues (20)
- Add mincost flow algorithm
- Implement Edge fully HOT 5
- Loom incompatible with CLJS >= 1.9.854 HOT 3
- Make 1.0.1 release ? HOT 3
- Possible Clojurescript [any Long] issue HOT 2
- Graph visualization in the browser HOT 1
- bipartite-color fails for digraphs with nodes containing no outgoing edges
- java.lang.NoClassDefFoundError: loom/graph/Graph HOT 2
- connected-components should return a seq of (sub)graphs
- Wrong typehint for clojurescript
- maximal-cliques silently breaks on digraphs
- Link to FAQ doesn't work HOT 1
- How does the ancestry cache work?
- Graph transpose does not work correctly in ClojureScript
- loom.io/view logic errors HOT 1
- remove-nodes* for BasicEditableDigraph throws null exception in cljs HOT 1
- Time for a new release? HOT 5
- Building a graph with an empty map throws a nullpointer exception
- hypergraphs using loom?
- Bug in implementation of weight
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loom.