Giter Club home page Giter Club logo

Comments (7)

fmjrey avatar fmjrey commented on July 21, 2024

Not sure if it will help, but try adding this line in your project.clj

:aot [loom.graph]

from loom.

sritchie avatar sritchie commented on July 21, 2024

I actually aot every namespace already.

from loom.

fmjrey avatar fmjrey commented on July 21, 2024

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.

hiredman avatar hiredman commented on July 21, 2024

@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.

sritchie avatar sritchie commented on July 21, 2024

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.

pataprogramming avatar pataprogramming commented on July 21, 2024

@sritchie: Were you able to reproduce this issue after you upgraded?

from loom.

sritchie avatar sritchie commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.