baggepinnen / LowLevelParticleFilters.jl

State estimation, smoothing and parameter estimation using Kalman and particle filters.
https://baggepinnen.github.io/LowLevelParticleFilters.jl/stable
Other
114 stars 15 forks source link

Dependency Deprecated - Yeppp #65

Closed Sinansi closed 4 years ago

Sinansi commented 4 years ago

I am trying to install the library, but I get errors regarding Yeppp. I believe Yeppp has been deprecated and archived. The error I receive suggest that I should try building Yeppp, but when I try to download it, the server returns error 404 Not Found.

May be you can get rid of the Yeppp dependency?

I am using Julia 1.5.0 with Intel MKL build.

I get the following error:

julia> using LowLevelParticleFilters [ Info: Precompiling LowLevelParticleFilters [d9d29d28-c116-5dba-9239-57a5fe23875b] ERROR: LoadError: Yeppp not properly installed. Please run Pkg.build("Yeppp") Stacktrace: [1] error(::String) at .\error.jl:33 [2] top-level scope at C:\Users\Sannan.julia\packages\Yeppp\LvmJH\src\Yeppp.jl:11 [3] include(::Function, ::Module, ::String) at .\Base.jl:380 [4] include(::Module, ::String) at .\Base.jl:368 [5] top-level scope at none:2 [6] eval at .\boot.jl:331 [inlined] [7] eval(::Expr) at .\client.jl:467 [8] top-level scope at .\none:3 in expression starting at C:\Users\Sannan.julia\packages\Yeppp\LvmJH\src\Yeppp.jl:8
ERROR: LoadError: Failed to precompile Yeppp [6310b701-1812-5374-a82f-9f6f2d54a40a] to C:\Users\Sannan.julia\compiled\v1.5\Yeppp\xtx1U_lKfcn.ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1290 [3] _require(::Base.PkgId) at .\loading.jl:1030 [4] require(::Base.PkgId) at .\loading.jl:928 [5] require(::Module, ::Symbol) at .\loading.jl:923 [6] include(::Function, ::Module, ::String) at .\Base.jl:380 [7] include(::Module, ::String) at .\Base.jl:368 [8] top-level scope at none:2 [9] eval at .\boot.jl:331 [inlined] [10] eval(::Expr) at .\client.jl:467 [11] top-level scope at .\none:3 in expression starting at C:\Users\Sannan.julia\packages\LowLevelParticleFilters\nvB4E\src\LowLevelParticleFilters.jl:7 ERROR: Failed to precompile LowLevelParticleFilters [d9d29d28-c116-5dba-9239-57a5fe23875b] to C:\Users\Sannan.julia\compiled\v1.5\LowLevelParticleFilters\m71p8_JHcjR.ji.
Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1290 [3] _require(::Base.PkgId) at .\loading.jl:1030 [4] require(::Base.PkgId) at .\loading.jl:928 [5] require(::Module, ::Symbol) at .\loading.jl:923

YEPPP ERROR 404 NOT FOUND

julia> Pkg.build("Yeppp") Building Yeppp → C:\Users\Sannan\.julia\packages\Yeppp\LvmJH\deps\build.log ┌ Error: Error building Yeppp: │ Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an │ error: (404) Not Found." │ At line:1 char:82 │ + ... pe]::Tls12; (new-object net.webclient).DownloadFile("http://bitbucket ...
│ + ~~~~~~~~~~~~~ │ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
│ + FullyQualifiedErrorId : WebException │ │ [ Info: Attempting to create directory C:\Users\Sannan.julia\packages\Yeppp\LvmJH\deps\downloads │ [ Info: Directory C:\Users\Sannan.julia\packages\Yeppp\LvmJH\deps\downloads already exists │ [ Info: Downloading file http://bitbucket.org/MDukhan/yeppp/downloads/yeppp-1.0.0.tar.bz2 │ ERROR: LoadError: failed process: Process('C:\Windows\System32\WindowsPowerShell\v1.0\powershell' -NoProfile -Command '[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (new-object net.webclient).DownloadFile("http://bitbucket.org/MDukhan/yeppp/downloads/yeppp-1.0.0.tar.bz2", "C:\Users\Sannan\.julia\packages\Yeppp\LvmJH\deps\downloads\yeppp-1.0.0.tar.bz2")', ProcessExited(1)) [1] │ │ Stacktrace: │ [1] pipeline_error at .\process.jl:525 [inlined] │ [2] run(::Cmd; wait::Bool) at .\process.jl:440 │ [3] run(::Cmd) at .\process.jl:438 │ [4] run(::BinDeps.SynchronousStepCollection) at C:\Users\Sannan.julia\packages\BinDeps\ZEval\src\BinDeps.jl:521 │ [5] run(::FileRule) at C:\Users\Sannan.julia\packages\BinDeps\ZEval\src\BinDeps.jl:483 │ [6] run(::BinDeps.SynchronousStepCollection) at C:\Users\Sannan.julia\packages\BinDeps\ZEval\src\BinDeps.jl:521 │ [7] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at C:\Users\Sannan.julia\packages\BinDeps\ZEval\src\dependencies.jl:944 │ [8] satisfy!(::BinDeps.LibraryDependency) at C:\Users\Sannan.julia\packages\BinDeps\ZEval\src\dependencies.jl:922 │ [9] top-level scope at C:\Users\Sannan.julia\packages\BinDeps\ZEval\src\dependencies.jl:977 │ [10] include(::String) at .\client.jl:457 │ [11] top-level scope at none:5 │ in expression starting at C:\Users\Sannan.julia\packages\Yeppp\LvmJH\deps\build.jl:14 └ @ Pkg.Operations C:\Users\Sannan\AppData\Local\Programs\Julia 1.5.0\share\julia\stdlib\v1.5\Pkg\src\Operations.jl:942

Thank you!

baggepinnen commented 4 years ago

Yeppp has not been a dependency of this package for a very long time https://github.com/baggepinnen/LowLevelParticleFilters.jl/blob/master/Project.toml Which version of LowLevelParticleFilters.jl did you install?

Sinansi commented 4 years ago

I was trying to install the latest version released today 0.4.8

baggepinnen commented 4 years ago

Well, Yeppp is not a dependency and I am not seeing the problem you reported, so without knowing what versions of packages you actually have installed I can't really guide you. What does pkg> st -m LowLevelParticleFilters say?

You can also try installing LowLevelParticleFilters.jl in a new environment to see if it works better, if it does, one of the other packages you had installed was holding it back.

Sinansi commented 4 years ago

(@v1.5) pkg> st -m LowLevelParticleFilters Status C:\Users\Sannan\.julia\environments\v1.5\Manifest.toml [d9d29d28] LowLevelParticleFilters v0.2.3

Sinansi commented 4 years ago

And I get the following when I install the package:

julia> Pkg.add("LowLevelParticleFilters") Updating registry at C:\Users\Sannan\.julia\registries\General Updating git-repo https://github.com/JuliaRegistries/General.git Resolving package versions... Updating C:\Users\Sannan\.julia\environments\v1.5\Project.toml [d9d29d28] + LowLevelParticleFilters v0.2.3 Updating C:\Users\Sannan\.julia\environments\v1.5\Manifest.toml [9e28174c] + BinDeps v0.8.10 [34da2185] ↓ Compat v3.15.0 ⇒ v2.2.1 [5732040d] ↓ DelayEmbeddings v1.10.1 ⇒ v1.9.0 [31c24e10] ↓ Distributions v0.23.8 ⇒ v0.22.6 [50d2b5c4] ↓ Lazy v0.15.1 ⇒ v0.14.0 [d9d29d28] + LowLevelParticleFilters v0.2.3 [429524aa] ↓ Optim v0.22.0 ⇒ v0.20.1 [90014a1f] ↓ PDMats v0.10.0 ⇒ v0.9.12 [6310b701] + Yeppp v0.4.0

baggepinnen commented 4 years ago

Yeah, so it installed a very old version of this package. There is probably another package in your environment that has conflicting dependencies. Try pkg> add LowLevelParticleFilters@0.4.8 and the package manager will tell you why it can't.

Sinansi commented 4 years ago

Several packages are conflicting. Now, I know what is causing the error. I am glad to learn these new tips!

(@v1.5) pkg> add LowLevelParticleFilters@0.4.8 Updating registry at C:\Users\Sannan\.julia\registries\General Updating git-repo https://github.com/JuliaRegistries/General.git Resolving package versions... ERROR: Unsatisfiable requirements detected for package RecipesBase [3cdcf5f2]: RecipesBase [3cdcf5f2] log: ├─possible versions are: [0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 1.0.0-1.0.2, 1.1.0] or uninstalled ├─restricted by compatibility requirements with LowLevelParticleFilters [d9d29d28] to versions: [0.8.0, 1.0.0-1.0.2, 1.1.0] │ └─LowLevelParticleFilters [d9d29d28] log: │ ├─possible versions are: [0.1.0-0.1.2, 0.2.0-0.2.3, 0.3.0, 0.4.0-0.4.8] or uninstalled │ └─restricted to versions 0.4.8 by an explicit requirement, leaving only versions 0.4.8 └─restricted by compatibility requirements with Temporal [a110ec8f] to versions: [0.4.0, 0.5.0, 0.6.0, 0.7.0] — no versions left └─Temporal [a110ec8f] log: ├─possible versions are: [0.5.0-0.5.7, 0.6.0-0.6.1, 0.7.0] or uninstalled └─restricted by compatibility requirements with Indicators [70c4c096] to versions: [0.5.0-0.5.7, 0.6.0-0.6.1, 0.7.0] └─Indicators [70c4c096] log: ├─possible versions are: [0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0] or uninstalled └─restricted to versions * by an explicit requirement, leaving only versions [0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0]

baggepinnen commented 4 years ago

You can always create a new environment and add the packages that are relevant to what you are currently doing, that way you minimize the risk of conflicts between packages.

baggepinnen commented 4 years ago

I tagged anew release with updated compat for PDMats.jl, thus might make it easier for you to install the latest version. If not, one of the packages the package manager highlighted as incompatible needs updated compat bounds.