Code Monkey home page Code Monkey logo

algames.jl's Issues

Algames failed to precompile

I am trying to add Algames pkg to Julia and there is precompilation error. I have observed that when I run "add Algames", the existing Altro pkg is changing from v0.4.0 to v0.3.0, RobotZoo is changing from v0.2.3 to v0.1.3, and TrajectoryOptimization is changing from v0.5.0 to 0.4.2. And then Altro, TrajOptPlots and Algames are failing to precompile. The error flag is as follows:

ERROR: The following 2 direct dependencies failed to precompile:

Algames [4a64a370-b39e-4988-9b44-fc3fb6d78c25]

Failed to precompile Algames [4a64a370-b39e-4988-9b44-fc3fb6d78c25] to /home/iconlab/.julia/compiled/v1.6/Algames/jl_CSXCSO.
ERROR: LoadError: UndefVarError: QuadraticObjective not defined
Stacktrace:
[1] include
@ ./Base.jl:386 [inlined]
[2] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
@ Base ./loading.jl:1235
[3] top-level scope
@ none:1
[4] eval
@ ./boot.jl:360 [inlined]
[5] eval(x::Expr)
@ Base.MainInclude ./client.jl:446
[6] top-level scope
@ none:1
in expression starting at /home/iconlab/.julia/packages/Altro/ZbP1c/src/Altro.jl:1
ERROR: LoadError: Failed to precompile Altro [5dcf52e5-e2fb-48e0-b826-96f46d2e3e73] to /home/iconlab/.julia/compiled/v1.6/Altro/jl_S5kxQ0.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
@ Base ./loading.jl:1385
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1329
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1043
[5] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:936
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:923
[7] include
@ ./Base.jl:386 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base ./loading.jl:1235
[9] top-level scope
@ none:1
[10] eval
@ ./boot.jl:360 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude ./client.jl:446
[12] top-level scope
@ none:1
in expression starting at /home/iconlab/.julia/packages/Algames/HKoX6/src/Algames.jl:1

Altro [5dcf52e5-e2fb-48e0-b826-96f46d2e3e73]

Failed to precompile Altro [5dcf52e5-e2fb-48e0-b826-96f46d2e3e73] to /home/iconlab/.julia/compiled/v1.6/Altro/jl_jE0Flc.
ERROR: LoadError: UndefVarError: QuadraticObjective not defined
Stacktrace:
[1] include
@ ./Base.jl:386 [inlined]
[2] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base ./loading.jl:1235
[3] top-level scope
@ none:1
[4] eval
@ ./boot.jl:360 [inlined]
[5] eval(x::Expr)
@ Base.MainInclude ./client.jl:446
[6] top-level scope
@ none:1
in expression starting at /home/iconlab/.julia/packages/Altro/ZbP1c/src/Altro.jl:1

Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:55
[2] precompile(ctx::Pkg.Types.Context; internal_call::Bool, strict::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1265
[3] precompile
@ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:921 [inlined]
[4] #precompile#196
@ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:919 [inlined]
[5] precompile()
@ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:919
[6] top-level scope
@ REPL[3]:1

intro_example.jl Not Determined

Hi Simon, Hi Algames Developers,

many thanks for writing the nice paper and making the code publicly available. I am a beginner with Julia and tried to run the intro_example.jl using vscode (with Julia extension). I can run the code successfully, however, the code is not determined even after half an hour. Here are the outputs:

out in α Δ res reg
1 1 1 6e-01 2e-01 1e-03
1 2 1 3e-01 2e-01 2e-02
1 3 2 9e-02 1e-01 8e-02
1 4 2 5e-02 6e-02 3e-01
1 5 1 4e-02 4e-02 6e-01
1 6 1 2e-02 3e-02 1e+00
1 7 1 8e-03 2e-02 2e+00
1 8 1 2e-03 2e-02 4e+00
1 9 1 1e-03 6e-03 7e+00
1 10 1 8e-04 5e-03 1e+01
1 11 1 5e-04 5e-03 1e+01
1 12 1 4e-04 4e-03 2e+01
1 13 1 3e-04 4e-03 3e+01
1 14 1 2e-04 4e-03 4e+01
1 15 1 1e-04 4e-03 5e+01
1 16 1 1e-04 4e-03 7e+01
1 17 1 8e-05 4e-03 8e+01
1 18 1 7e-05 4e-03 1e+02
1 19 1 5e-05 4e-03 1e+02
1 20 1 4e-05 4e-03 2e+02
out in α Δ res reg
2 1 1 7e-02 3e-02 1e-03
2 2 4 2e-02 2e-02 2e-02
2 3 1 2e-02 2e-02 8e-02
2 4 2 8e-03 1e-02 3e-01
2 5 1 2e-03 4e-03 6e-01
2 6 1 9e-04 2e-03 1e+00
2 7 1 3e-04 1e-03 2e+00
2 8 1 1e-04 5e-04 4e+00
2 9 1 6e-05 2e-04 7e+00
2 10 1 4e-05 2e-04 1e+01
2 11 1 3e-05 2e-04 1e+01
2 12 1 2e-05 2e-04 2e+01
2 13 1 1e-05 2e-04 3e+01
2 14 1 1e-05 2e-04 4e+01
2 15 1 7e-06 2e-04 5e+01
2 16 1 6e-06 2e-04 7e+01
2 17 1 4e-06 2e-04 8e+01
2 18 1 3e-06 2e-04 1e+02
2 19 1 3e-06 2e-04 1e+02
2 20 1 2e-06 2e-04 2e+02
out in α Δ res reg
3 1 25 5e-09 7e-03 1e-03
out in α Δ res reg
4 1 11 2e-04 7e-03 1e-03
4 2 11 1e-04 7e-03 2e-02
4 3 10 7e-05 7e-03 8e-02
4 4 11 1e-05 7e-03 3e-01
4 5 6 2e-04 7e-03 6e-01
4 6 8 3e-05 7e-03 1e+00
4 7 8 2e-05 7e-03 2e+00
4 8 4 8e-05 7e-03 4e+00
4 9 5 3e-05 6e-03 7e+00
4 10 1 2e-04 6e-03 1e+01
4 11 1 6e-05 4e-03 1e+01
4 12 1 2e-05 6e-04 2e+01
4 13 1 1e-05 3e-04 3e+01
4 14 1 1e-05 3e-04 4e+01
4 15 1 8e-06 3e-04 5e+01
4 16 1 6e-06 3e-04 7e+01
4 17 1 5e-06 3e-04 8e+01
4 18 1 4e-06 3e-04 1e+02
4 19 1 3e-06 3e-04 1e+02
4 20 1 2e-06 3e-04 2e+02
out in α Δ res reg
5 1 12 5e-05 2e-02 1e-03
5 2 2 1e-02 2e-02 2e-02
5 3 2 1e-02 2e-02 8e-02
5 4 1 8e-03 1e-02 3e-01
5 5 1 6e-03 6e-03 6e-01
5 6 1 2e-03 6e-03 1e+00
5 7 1 3e-04 3e-03 2e+00

Really hope you can give me some hints of what went wrong. Many thanks for your help in advance!
Best regards,
Yuanfei

Installation problem

Hi, l am new guy of julia. When i copy the Installation guide into the julia REPL, the first one work well. The second one (ALGAMES.jl) says "ERROR: GitError(Code:ERROR, Class:Submodule, cannot get submodules without a working tree) ". Is there a problem with my operation or is there a dependency but not installed?

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.