-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: UndefVarError: eirene not defined #16
Comments
Thanks for the report and apologies for the slow turn around. This was a formatting issue with the package requirements, and it should now be resolved. If you update your packages, all should hopefully be well. Please let us know either way. Thanks again! |
I still face errors, even after Pkg.update(). Please see the following: _ _ ()_ | Documentation: https://docs.julialang.org julia> using Pkg julia> Pkg.add("Eirene") julia> Pkg.update() julia> Eirene.fictionalfunction() julia> using Eirene
|
Hi @annaja, thanks for the update. I'm a bit tied up this week, but here are some things steps that will help diagnosis: (1) does the problem persist after rebooting? (2) if it does, what version of Eirene is listed in the Project.toml file for the installed package? Thanks. |
Hi @Eetion |
Hi @annaja, |
I am very excited that it's working now! I went through a basic example without any problems. Thank you for your help! |
for your information, using Eirene came with Warnings: julia> using Eirene |
Hi Eirene team,
I am using a Windows 10 on a PC.
I went through the steps in the readme and example text files using Julia version 0.6.4, 1.2 and 1.1.1. (example follows)
Version 1.1.1 is the version that runs the instructions without an error message, up to the point that it should compile 'using Eirene'.
I appreciate your help in resolving this issue in bold bellow.
Cheers,
Anna
@bnels
There are the example steps I took in Julia 1.1.1. with outputs:
_
_ _ ()_ | Documentation: https://docs.julialang.org
() | () () |
_ _ | | __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ ` | |
| | || | | | (| | | Version 1.1.1 (2019-05-16)
/ |_'|||_'_| | Official https://julialang.org/ release
|__/ |
julia> using Pkg
julia> Pkg.add("Eirene")
Updating registry at
C:\Users\Anna\.julia\registries\General
Updating git-repo
https://github.com/JuliaRegistries/General.git
Resolving package versions...
Installed CSTParser ─ v1.0.0
Updating
C:\Users\Anna\.julia\environments\v1.1\Project.toml
[no changes]
Updating
C:\Users\Anna\.julia\environments\v1.1\Manifest.toml
[00ebfdb7] ↑ CSTParser v0.6.2 ⇒ v1.0.0
julia> Pkg.update()
Updating registry at
C:\Users\Anna\.julia\registries\General
Updating git-repo
https://github.com/JuliaRegistries/General.git
Resolving package versions...
Updating
C:\Users\Anna\.julia\environments\v1.1\Project.toml
[no changes]
Updating
C:\Users\Anna\.julia\environments\v1.1\Manifest.toml
[no changes]
julia> using Eirene
[ Info: Precompiling Eirene [9c0f25c4-2ca1-5870-89f6-52640788da1d]
WARNING: using HTTP.stack in module Mux conflicts with an existing identifier.
WARNING: Method definition savehtml(IO, PlotlyBase.Plot{TT} where TT<:PlotlyBase.AbstractTrace) in module PlotlyBase at C:\Users\Anna.julia\packages\PlotlyBase\80KwD\src\output.jl:40 overwritten in module PlotlyJS at C:\Users\Anna.julia\packages\PlotlyJS\b9Efu\src\display.jl:334.
WARNING: Method definition savehtml(PlotlyBase.Plot{TT} where TT<:PlotlyBase.AbstractTrace, AbstractString) in module PlotlyBase at C:\Users\Anna.julia\packages\PlotlyBase\80KwD\src\output.jl:52 overwritten in module PlotlyJS at C:\Users\Anna.julia\packages\PlotlyJS\b9Efu\src\display.jl:361.
WARNING: Method definition savehtml(IO, PlotlyBase.Plot{TT} where TT<:PlotlyBase.AbstractTrace) in module PlotlyBase at C:\Users\Anna.julia\packages\PlotlyBase\80KwD\src\output.jl:40 overwritten in module PlotlyJS at C:\Users\Anna.julia\packages\PlotlyJS\b9Efu\src\display.jl:334.
WARNING: Method definition savehtml(PlotlyBase.Plot{TT} where TT<:PlotlyBase.AbstractTrace, AbstractString) in module PlotlyBase at C:\Users\Anna.julia\packages\PlotlyBase\80KwD\src\output.jl:52 overwritten in module PlotlyJS at C:\Users\Anna.julia\packages\PlotlyJS\b9Efu\src\display.jl:361.
ERROR: LoadError: ArgumentError: Package Eirene does not have Plotly in its dependencies:
added Plotly as a dependency but haven't updated your primary
environment's manifest file, try
Pkg.resolve()
.Stacktrace:
[1] require(::Module, ::Symbol) at .\loading.jl:836
[2] include at .\boot.jl:326 [inlined]
[3] include_relative(::Module, ::String) at .\loading.jl:1038
[4] include(::Module, ::String) at .\sysimg.jl:29
[5] top-level scope at none:2
[6] eval at .\boot.jl:328 [inlined]
[7] eval(::Expr) at .\client.jl:404
[8] top-level scope at .\none:3
in expression starting at C:\Users\Anna.julia\dev\Eirene\src\Eirene.jl:42
ERROR: Failed to precompile Eirene [9c0f25c4-2ca1-5870-89f6-52640788da1d] to C:\Users\Anna.julia\compiled\v1.1\Eirene\mCiG1.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853
julia> Eirene.fictionalfunction()
ERROR: UndefVarError: Eirene not defined
Stacktrace:
[1] top-level scope at none:0
julia> x = rand(3,50)
3×50 Array{Float64,2}:
0.222454 0.472231 0.261004 0.518287 0.50643 0.206621 … 0.944558 0.7961 0.579084 0.193574 0.675513
0.591427 0.0845291 0.923597 0.591617 0.758719 0.761218 0.98849 0.476811 0.128794 0.13048 0.85863
0.0277452 0.191558 0.53545 0.343697 0.999639 0.0714336 0.0247873 0.811825 0.349891 0.498991 0.889964
julia> C = eirene(x,model = "pc")
ERROR: UndefVarError: eirene not defined
Stacktrace:
[1] top-level scope at none:0
The text was updated successfully, but these errors were encountered: