ERROR: UndefVarError: depwarn not defined

Hi everyone!

So I just recently started using Julia. I managed to install Atom and Juno following the given steps but I keep running into the same problem and so far I couldn’t figure out the solution.

Sometimes I get the following error: “ERROR: UndefVarError: depwarn not defined”. I cannot seem to find the pattern in which this happens and what is weird is that if I try to execute the same code manually on REPL it works.

What I am working on is as simple as:
using CSV
File = “Pasta1.csv”
df = CSV.read(File)

Any thoughts?

That’s odd. Can you post the complete error output? And what version of Julia and CSV are you using? You can find your Julia version by running versioninfo() and you can find the versions of all of your installed packages by pressing ] to get the pkg> command line and then running status

Julia version:

Julia Version 1.5.2
Commit 539f3ce943 (2020-09-23 23:17 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core™ i7-7600U CPU @ 2.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
JULIA_NUM_THREADS = 2

Packages:

[c52e3926] Atom v0.12.24
[336ed68f] CSV v0.7.7
[a93c6f00] DataFrames v0.21.8
[60bf3e95] GLPK v0.14.2
[7073ff75] IJulia v1.22.0
[4076af6c] JuMP v0.21.5
[e5e0dc1b] Juno v0.8.4

For the complete error:

ERROR: UndefVarError: depwarn not defined
Stacktrace:
[1] collect_args(::JuliaInterpreter.Frame, ::Expr; isfc::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:60
[2] collect_args at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:135 [inlined]
[3] evaluate_call_recurse!(::Any, ::JuliaInterpreter.Frame, ::Expr; enter_generated::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:208
[4] evaluate_call_recurse! at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:202 [inlined]
[5] eval_rhs(::Any, ::JuliaInterpreter.Frame, ::Expr) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:389
[6] step_expr!(::Any, ::JuliaInterpreter.Frame, ::Any, ::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:532
[7] step_expr!(::Any, ::JuliaInterpreter.Frame, ::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:582
[8] finish!(::Any, ::JuliaInterpreter.Frame, ::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\commands.jl:14
[9] finish_and_return! at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\commands.jl:29 [inlined]
[10] evaluate_call_recurse!(::Any, ::JuliaInterpreter.Frame, ::Expr; enter_generated::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:240
… (the last 7 lines are repeated 5 more times)
[46] evaluate_call_recurse! at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:202 [inlined]
[47] eval_rhs(::Any, ::JuliaInterpreter.Frame, ::Expr) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:389
[48] step_expr!(::Any, ::JuliaInterpreter.Frame, ::Any, ::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:527
[49] step_expr!(::Any, ::JuliaInterpreter.Frame, ::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\interpret.jl:582
[50] finish!(::Any, ::JuliaInterpreter.Frame, ::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\commands.jl:14
[51] finish_and_return!(::Any, ::JuliaInterpreter.Frame, ::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\commands.jl:29
[52] finish_stack!(::Any, ::JuliaInterpreter.Frame, ::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\commands.jl:59
[53] debug_command(::Any, ::JuliaInterpreter.Frame, ::Symbol, ::Bool; line::Nothing) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\commands.jl:473
[54] debug_command(::Any, ::JuliaInterpreter.Frame, ::Symbol, ::Bool) at C:\Users\a88.julia\packages\JuliaInterpreter\Ha7hq\src\commands.jl:415
[55] (::Atom.JunoDebugger.var"#54#56"{Bool,Bool,Bool})() at C:\Users\a88.julia\packages\Atom\9OFfu\src\debugger\stepper.jl:159
[56] evalscope(::Atom.JunoDebugger.var"#54#56"{Bool,Bool,Bool}) at C:\Users\a88.julia\packages\Atom\9OFfu\src\debugger\stepper.jl:392
[57] startdebugging(::JuliaInterpreter.Frame, ::Bool; istoplevel::Bool, toggle_ui::Bool) at C:\Users\a88.julia\packages\Atom\9OFfu\src\debugger\stepper.jl:157
[58] (::Base.var"#inner#2"{Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol,Symbol},NamedTuple{(:istoplevel, :toggle_ui),Tuple{Bool,Bool}}},typeof(Atom.JunoDebugger.startdebugging),Tuple{JuliaInterpreter.Frame,Bool}})() at .\essentials.jl:713
[59] #invokelatest#1 at .\essentials.jl:714 [inlined]
[60] (::Atom.JunoDebugger.var"#48#51"{String,String,Bool,Int64})() at C:\Users\a88.julia\packages\Atom\9OFfu\src\debugger\stepper.jl:119
[61] hideprompt(::Atom.JunoDebugger.var"#48#51"{String,String,Bool,Int64}) at C:\Users\a88.julia\packages\Atom\9OFfu\src\repl.jl:127
[62] #47 at C:\Users\a88.julia\packages\Atom\9OFfu\src\debugger\stepper.jl:84 [inlined]
[63] task_local_storage(::Atom.JunoDebugger.var"#47#50"{String,String,Bool,Int64}, ::Symbol, ::String) at .\task.jl:226
[64] debug_file(::String, ::String, ::String, ::Bool, ::Int64) at C:\Users\a88.julia\packages\Atom\9OFfu\src\debugger\stepper.jl:83
[65] debug_file(::String, ::String, ::String, ::Bool) at C:\Users\a88.julia\packages\Atom\9OFfu\src\debugger\stepper.jl:81
[66] handlemsg(::Dict{String,Any}, ::String, ::Vararg{Any,N} where N) at C:\Users\a88.julia\packages\Atom\9OFfu\src\comm.jl:169