Code Monkey home page Code Monkey logo

Comments (3)

johannes-fischer avatar johannes-fischer commented on June 29, 2024

Is it possible that you are using a Julia version newer than Julia 1.2? The code was only tested on Julia 1.2.

Apart from that the environment setup is probably outdated, since the POMDPs packages have moved from the SISL registry to the general registry. So it should be enough to do

using Pkg
Pkg.activate(".")
Pkg.instantiate()

For me it works in Julia 1.2 and I can run julia --project=. Experiments/ld_table.jl.

Can you test if that works for you on Julia 1.2? Then I will update the readme.

It seems this is a byproduct (related to the previous issue that was already filed) of IPFT not being its own package. I'm not sure if there has been any further discussion on this.

Unfortunately, I couldn't find the time yet to make a proper package out of this that works with current Julia versions. But I will try to find the time.

from icml2020_ipft.

Michalts17 avatar Michalts17 commented on June 29, 2024

Hey,
I'm trying to setup your enviroment at Julia 1.2.0. Got banch of errors and can't run any of your scripts.
After I did "Pkg.instantiate()" I got warning and errors (there're mentioned in the end of my comment).

Than, I tried to run ld_table.jl, and got errors:
ERROR: LoadError: LoadError: LoadError: LoadError: UndefVarError: n_observations not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at .\Base.jl:13
[2] top-level scope at C:\Users.julia\packages\POMDPModelTools\H7kTq\src\fully_observable_pomdp.jl:11
[3] include at .\boot.jl:328 [inlined]
[4] include_relative(::Module, ::String) at .\loading.jl:1094
[5] include at .\Base.jl:31 [inlined]
[6] include(::String) at C:\Users.julia\packages\POMDPModelTools\H7kTq\src\POMDPModelTools.jl:1
[7] top-level scope at C:\Users.julia\packages\POMDPModelTools\H7kTq\src\POMDPModelTools.jl:45
[8] include at .\boot.jl:328 [inlined]
[9] include_relative(::Module, ::String) at .\loading.jl:1094
[10] _require(::Base.PkgId) at .\loading.jl:1042
[11] require(::Base.PkgId) at .\loading.jl:911
[12] require(::Module, ::Symbol) at .\loading.jl:906
[13] include at .\boot.jl:328 [inlined]
[14] include_relative(::Module, ::String) at .\loading.jl:1094
[15] _require(::Base.PkgId) at .\loading.jl:1042
[16] require(::Base.PkgId) at .\loading.jl:911
[17] require(::Module, ::Symbol) at .\loading.jl:906
[18] include at .\boot.jl:328 [inlined]
[19] include_relative(::Module, ::String) at .\loading.jl:1094
[20] include(::Module, ::String) at .\Base.jl:31
[21] include(::String) at .\client.jl:431
[22] top-level scope at REPL[20]:1

┌ Warning: failed to extract archive downloaded from https://api.github.com/repos/JuliaImages/ImageCore.jl/tarball/a652c05f8f374861580d420b420fddf3e2e84312
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:487
Error: Error building Cairo:
│ ┌ Warning: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:148
│ ┌ Warning: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:148
│ [ Info: Updating WinRPM package list
│ [ Info: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
│ ┌ Warning: Unknown download failure, error code: 2148270085
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:68
│ ┌ Warning: Retry 1/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users\.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:70
│ ┌ Warning: Unknown download failure, error code: 2148270085
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:68
│ ┌ Warning: Retry 2/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users\.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:70
│ ┌ Warning: Unknown download failure, error code: 2148270085
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:68
│ ┌ Warning: Retry 3/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:70
│ ┌ Warning: Unknown download failure, error code: 2148270085
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:68
│ ┌ Warning: Retry 4/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:70
│ ┌ Warning: Unknown download failure, error code: 2148270085
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:68
│ ┌ Warning: Retry 5/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:70
│ ┌ Warning: received error 0 while downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:154
│ [ Info: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
│ ┌ Warning: Unknown download failure, error code: 2148270085
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:68
│ ┌ Warning: Retry 1/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:70
│ ┌ Warning: Unknown download failure, error code: 2148270085
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:68
│ ┌ Warning: Retry 2/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:70
│ ┌ Warning: Unknown download failure, error code: 2148270085
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:68
│ ┌ Warning: Retry 3/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:70
│ ┌ Warning: Unknown download failure, error code: 2148270085
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:68
│ ┌ Warning: Retry 4/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:70
│ ┌ Warning: Unknown download failure, error code: 2148270085
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:68
│ ┌ Warning: Retry 5/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:70
│ ┌ Warning: received error 0 while downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:154
│ ERROR: LoadError: None of the selected providers could satisfy library group cairo
│ Use BinDeps.debug(package_name) to see available providers

│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] satisfy!(::BinDeps.LibraryGroup, ::Array{DataType,1}) at C:\Users.julia\packages\BinDeps\ZEval\src\dependencies.jl:915
│ [3] satisfy!(::BinDeps.LibraryGroup) at C:\Users.julia\packages\BinDeps\ZEval\src\dependencies.jl:874
│ [4] top-level scope at C:\Users.julia\packages\BinDeps\ZEval\src\dependencies.jl:977
│ [5] include at .\boot.jl:328 [inlined]
│ [6] include_relative(::Module, ::String) at .\loading.jl:1094│ [7] include(::Module, ::String) at .\Base.jl:31
│ [8] include(::String) at .\client.jl:431
│ [9] top-level scope at none:5
│ in expression starting at C:\Users.julia\packages\Cairo\p68X8\deps\build.jl:176
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\backwards_compatible_isolation.jl:647
Building Gtk ────────→ C:\Users\.julia\packages\Gtk\mVhmL\deps\build.log
┌ Error: Error building Gtk:
│ ┌ Warning: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:148
│ ┌ Warning: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download
│ └ @ WinRPM C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:148
│ ERROR: LoadError: Package candidate for glib2-tools not found
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] select(::WinRPM.Packages{Array{LibExpat.ETree,1}}, ::String) at C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:258
│ [3] #install#18(::Bool, ::typeof(WinRPM.install), ::Array{String,1}, ::String) at C:\Users.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:377
│ [4] #install at .\none:0 [inlined] (repeats 2 times)
│ [5] top-level scope at C:\Users.julia\packages\Gtk\mVhmL\deps\build.jl:30
│ [6] include at .\boot.jl:328 [inlined]
│ [7] include_relative(::Module, ::String) at .\loading.jl:1094
│ [8] include(::Module, ::String) at .\Base.jl:31
│ [9] include(::String) at .\client.jl:431
│ [10] top-level scope at none:5
│ in expression starting at C:\Users.julia\packages\Gtk\mVhmL\deps\build.jl:24
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\backwards_compatible_isolation.jl:647
Building PyCall ─────→ C:\Users\.julia\packages\PyCall\zqDXB\deps\build.log
┌ Error: Error building PyCall:
│ ┌ Info: Using the Python distribution in the Conda package by default.
│ └ To use a different Python version, set ENV["PYTHON"]="pythoncommand" and re-run Pkg.build("PyCall").
│ [ Info: Downloading miniconda installer ...
│ [ Info: Installing miniconda ...
│ ERROR: LoadError: failed process: Process('C:\Users\.julia\conda\3\installer.exe' /S /AddToPath=0 /RegisterPython=0 '/D=C:\Users\.julia\conda\3', ProcessExited(2)) [2]

│ Stacktrace:
│ [1] pipeline_error at .\process.jl:813 [inlined]
│ [2] #run#536(::Bool, ::typeof(run), ::Cmd) at .\process.jl:728
│ [3] run at .\process.jl:726 [inlined]
│ [4] _install_conda(::String, ::Bool) at C:\Users.julia\packages\Conda\3rPhK\src\Conda.jl:172
│ [5] _install_conda(::String) at C:\Users.julia\packages\Conda\3rPhK\src\Conda.jl:155
│ [6] runconda(::Cmd, ::String) at C:\Users.julia\packages\Conda\3rPhK\src\Conda.jl:112
│ [7] #add#1(::String, ::typeof(Conda.add), ::String, ::String) at C:\Users.julia\packages\Conda\3rPhK\src\Conda.jl:188
│ [8] add at C:\Users.julia\packages\Conda\3rPhK\src\Conda.jl:187 [inlined] (repeats 2 times)
│ [9] top-level scope at C:\Users.julia\packages\PyCall\zqDXB\deps\build.jl:84
│ [10] include at .\boot.jl:328 [inlined]
│ [11] include_relative(::Module, ::String) at .\loading.jl:1094
│ [12] include(::Module, ::String) at .\Base.jl:31
│ [13] include(::String) at .\client.jl:431
│ [14] top-level scope at none:5
│ in expression starting at C:\Users.julia\packages\PyCall\zqDXB\deps\build.jl:43
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\backwards_compatible_isolation.jl:647
┌ Error: Error building ORCA:
│ [ Info: Downloading miniconda installer ...
│ [ Info: Installing miniconda ...
│ ERROR: LoadError: failed process: Process('C:\Users\.julia\conda\3\installer.exe' /S /AddToPath=0 /RegisterPython=0 '/D=C:\Users\.julia\conda\3', ProcessExited(2)) [2]

│ Stacktrace:
│ [1] pipeline_error at .\process.jl:813 [inlined]
│ [2] #run#536(::Bool, ::typeof(run), ::Cmd) at .\process.jl:728
│ [3] run at .\process.jl:726 [inlined]
│ [4] _install_conda(::Symbol, ::Bool) at C:\Users.julia\packages\Conda\3rPhK\src\Conda.jl:172
│ [5] _install_conda at C:\Users.julia\packages\Conda\3rPhK\src\Conda.jl:155 [inlined]
│ [6] runconda(::Cmd, ::Symbol) at C:\Users.julia\packages\Conda\3rPhK\src\Conda.jl:112
│ [7] add_channel(::String, ::Symbol) at C:\Users.julia\packages\Conda\3rPhK\src\Conda.jl:306
│ [8] top-level scope at C:\Users.julia\packages\ORCA\fiEmb\deps\build.jl:4
│ [9] include at .\boot.jl:328 [inlined]
│ [10] include_relative(::Module, ::String) at .\loading.jl:1094
│ [11] include(::Module, ::String) at .\Base.jl:31
│ [12] include(::String) at .\client.jl:431
│ [13] top-level scope at none:5
│ in expression starting at C:\Users.julia\packages\ORCA\fiEmb\deps\build.jl:4
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\backwards_compatible_isolation.jl:647

from icml2020_ipft.

johannes-fischer avatar johannes-fischer commented on June 29, 2024

Is it possible that you deleted the Manifest.toml file or that it somehow wasn't used for instantiation? The error message ERROR: LoadError: LoadError: LoadError: LoadError: UndefVarError: n_observations not defined sounds like you are using a more recent version of POMDPs.jl (the n_observations interface was removed from POMDPs.jl at some point, making POMDPModelTools fail to compile for you).

from icml2020_ipft.

Related Issues (2)

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.