henselman-petrusek / Eirene.jl

Julia library for homological persistence
Other
117 stars 21 forks source link

Errors while trying to run Eirene. #3

Closed MamoonAK closed 5 years ago

MamoonAK commented 5 years ago

I am running Julia 1.0.3. I get the following error when i do "using Eirene"

> ERROR: LoadError: UndefVarError: Pkg not defined
> Stacktrace:
>  [1] top-level scope at none:0
>  [2] include at .\boot.jl:317 [inlined]
>  [3] include_relative(::Module, ::String) at .\loading.jl:1044
>  [4] include(::Module, ::String) at .\sysimg.jl:29
>  [5] top-level scope at none:2
>  [6] eval at .\boot.jl:319 [inlined]
>  [7] eval(::Expr) at .\client.jl:393
>  [8] top-level scope at .\none:3
> in expression starting at C:\Users\mamoo\.julia\dev\Eirene\src\Eirene.jl:25
> ERROR: Failed to precompile Eirene [9c0f25c4-2ca1-5870-89f6-52640788da1d] to C:\Users\mamoo\.julia\compiled\v1.0\Eirene\mCiG1.ji.
> Stacktrace:
>  [1] error(::String) at .\error.jl:33
>  [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203
>  [3] _require(::Base.PkgId) at .\loading.jl:960
>  [4] require(::Base.PkgId) at .\loading.jl:858
>  [5] require(::Module, ::Symbol) at .\loading.jl:853

I can get rid of this error by removing the lines that are causing this. I removed the whole requirements section too from the code in Eirene.jl because that whole section caused this error, and added and precompiled all of the required packages. Then i get this error

ERROR: LoadError: UndefVarError: Tv not defined
Stacktrace:
 [1] top-level scope at none:0
 [2] include at .\boot.jl:317 [inlined]
 [3] include_relative(::Module, ::String) at .\loading.jl:1044
 [4] include(::Module, ::String) at .\sysimg.jl:29
 [5] top-level scope at none:2
 [6] eval at .\boot.jl:319 [inlined]
 [7] eval(::Expr) at .\client.jl:393
 [8] top-level scope at .\none:3
in expression starting at C:\Users\mamoo\.julia\dev\Eirene\src\Eirene.jl:566
ERROR: Failed to precompile Eirene [9c0f25c4-2ca1-5870-89f6-52640788da1d] to C:\Users\mamoo\.julia\compiled\v1.0\Eirene\mCiG1.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203
 [3] _require(::Base.PkgId) at .\loading.jl:960
 [4] require(::Base.PkgId) at .\loading.jl:858
 [5] require(::Module, ::Symbol) at .\loading.jl:853

The error is appearing in line 665 of the original Eirene.jl.

henselman-petrusek commented 5 years ago

Thanks for the report. At this time Eirene is compatible only with Julia 0.6.4. For use instructions see 'Recent Advisories' under documentation. A 1.0 compatible version is soon to be released, however.

henselman-petrusek commented 5 years ago

As of today we have a 1.1.0 compatible version on branch devel. It's a beta version, but most of the functionality is there. Please let us know of any further problems. Thanks!

MamoonAK commented 5 years ago

Thank you for your hard work.


From: Gregory Henselman-Petrusek notifications@github.com Sent: Tuesday, February 5, 2019 12:49 AM To: Eetion/Eirene.jl Cc: MamoonAK; Author Subject: Re: [Eetion/Eirene.jl] Errors while trying to run Eirene. (#3)

As of today we have a 1.1.0 compatible version on branch devel. It's a beta version (in particular, there's an unresolved bug in plotbarcode_pjs), but most of the functionality is there. Please let us know of any further problems. Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Eetion/Eirene.jl/issues/3#issuecomment-460386977, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Asg8vGzTlcbKtzjWYVq-TK_JXUxUMgzwks5vKI61gaJpZM4Z-PFu.