Giter Site home page Giter Site logo

Weird Error about roboquant HOT 8 CLOSED

giabaocorn20 avatar giabaocorn20 commented on September 4, 2024
Weird Error

from roboquant.

Comments (8)

jbaron avatar jbaron commented on September 4, 2024

It seems an incompatibility between excepted and installed Kotlin kernel.

For example newer Kotlin kernels have support for inline classes that roboquant relies on. If indirectly using this feature, you might see this error. Not sure why it pop-up at a restart.

What Kotlin kernel version did you install in your notebook environment?

from roboquant.

giabaocorn20 avatar giabaocorn20 commented on September 4, 2024

Thank you for your answer. I just ran a conda update for my kotlin kernel, its now working again. But I still don't understand why it pop-up this error at a restart.

from roboquant.

jbaron avatar jbaron commented on September 4, 2024

Honesty, I also don't understand why it happens at a restart. Perhaps you use a roboquant snapshot release that got updated when you restarted the kernel?

from roboquant.

giabaocorn20 avatar giabaocorn20 commented on September 4, 2024

I actually don't know what release i used for roboquant as i just use the the syntax %use roboquant for my kotlin notebook and it automatically load the library. Also, I couldn't use the Performance Chart on my kotlin notebook too and the error reappeared when i restart the kernel

from roboquant.

giabaocorn20 avatar giabaocorn20 commented on September 4, 2024

I seem to figure out the problem. For some reasons, my robot is only at version 1.4.0 rather than 2.1.0
image

from roboquant.

jbaron avatar jbaron commented on September 4, 2024

if you don't specify a version %use roboquant(2.1.0) you'll get the version that is specified as part of the Kotlin kernel. So an old Kotlin kernel, means an old roboquant version.

from roboquant.

giabaocorn20 avatar giabaocorn20 commented on September 4, 2024

Thank you for your reply. I did it using the Anaconda Jupyter notebook and installed a Kotlin kernel. I tried to specify the version there, but it didn't work. I switched to IntelliJ IDEA and used the Kotlin notebook from there and it worked. I guess it also depends on the IDE as well.

from roboquant.

jbaron avatar jbaron commented on September 4, 2024

In new version of onsite doc I'll include instructions about having to have the latest version of kotlin kernel installed on your local machine (at least until JetBrains also start releasing new versions of the stable kernel that is compatible).

Will close for now.

from roboquant.

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.