-
-
Notifications
You must be signed in to change notification settings - Fork 108
Description
Trying to run this example: https://juliareinforcementlearning.org/docs/experiments/experiments/NFSP/JuliaRL_NFSP_OpenSpiel/#JuliaRL\\_NFSP\\_OpenSpiel(kuhn_poker) on WSL Ubuntu 2204 Julia 1.10.2.
It fails as follows:
LoadError: MethodError: no method matching information_state_tensor(::CxxWrap.StdLib.UniquePtrAllocated{State}, ::Int64)
Closest candidates are:
information_state_tensor(::Union{State, CxxWrap.CxxWrapCore.CxxRef{<:State}}, ::Integer)
@ OpenSpiel ~/.julia/packages/CxxWrap/5IZvn/src/CxxWrap.jl:624
in expression starting at In[8]:121
Stacktrace:
[1] _state(env::OpenSpielEnv{CxxWrap.StdLib.UniquePtrAllocated{State}, CxxWrap.StdLib.SharedPtrAllocated{Game}}, ::InformationSet{Array}, player::Int64)
@ ReinforcementLearningEnvironments ~/.julia/packages/ReinforcementLearningEnvironments/Pzsys/src/environments/3rd_party/open_spiel.jl:141
[2] state(env::OpenSpielEnv{CxxWrap.StdLib.UniquePtrAllocated{State}, CxxWrap.StdLib.SharedPtrAllocated{Game}}, ss::InformationSet{Array}, player::Int64)
@ ReinforcementLearningEnvironments ~/.julia/packages/ReinforcementLearningEnvironments/Pzsys/src/environments/3rd_party/open_spiel.jl:135
[3] state
@ ~/.julia/packages/ReinforcementLearningEnvironments/Pzsys/src/environments/wrappers/wrappers.jl:21 [inlined]
[4] state(env::DefaultStateStyleEnv{InformationSet{Array}(), ActionTransformedEnv{var"#21#25"{OpenSpielEnv{CxxWrap.StdLib.UniquePtrAllocated{State}, CxxWrap.StdLib.SharedPtrAllocated{Game}}}, var"#20#24"{OpenSpielEnv{CxxWrap.StdLib.UniquePtrAllocated{State}, CxxWrap.StdLib.SharedPtrAllocated{Game}}}, OpenSpielEnv{CxxWrap.StdLib.UniquePtrAllocated{State}, CxxWrap.StdLib.SharedPtrAllocated{Game}}}}, player::Int64)
@ ReinforcementLearningEnvironments ~/.julia/packages/ReinforcementLearningEnvironments/Pzsys/src/environments/wrappers/DefaultStateStyle.jl:20
[5] Experiment(::Val{:JuliaRL}, ::Val{:NFSP}, ::Val{:OpenSpiel}, game::SubString{String}; seed::Int64)
@ Main ./In[8]:35
[6] Experiment
@ ./In[8]:17 [inlined]
[7] Experiment(s::String)
@ ReinforcementLearningCore ~/.julia/packages/ReinforcementLearningCore/yeRLW/src/core/experiment.jl:46
[8] var"@E_cmd"(source::LineNumberNode, module::Module, s::Any)
@ ReinforcementLearningCore ~/.julia/packages/ReinforcementLearningCore/yeRLW/src/core/experiment.jl:36