Open rlegarda opened 5 months ago
@rlegarda thanks for the issue, I will look into it.
I'm not able to reproduce.
+1, when installed a package (not github)
Running in a Docker container (clean environment), I can't reproduce this error.
docker run -it --rm julia -e 'using Pkg; Pkg.add("AlphaVantage"); using AlphaVantage; AlphaVantage.GLOBAL[]'
Can you share more information about your setup?
macOS Sonoma 14.5
julia --version
julia version 1.10.4
julia installed via asdf
Issue, potentially related to https://stackoverflow.com/questions/56789914/julia-error-undefvarerror-not-defined
Output:
Resolving package versions...
No Changes to `~/.julia/environments/v1.10/Project.toml`
No Changes to `~/.julia/environments/v1.10/Manifest.toml`
┌ Warning: No API key found
└ @ AlphaVantage ~/.julia/packages/AlphaVantage/GV8DN/src/AlphaVantage.jl:15
ERROR: UndefVarError: `GLOBAL` not defined
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:31
[2] top-level scope
@ none:1
Hi,
I'm using Version 1.10.3 (2024-04-30). I tried to run the first steps and doesn't work.
julia> using AlphaVantage
julia> AlphaVantage.GLOBAL[] ERROR: UndefVarError:
GLOBAL
not defined Stacktrace: [1] getproperty(x::Module, f::Symbol) @ Base ./Base.jl:31 [2] top-level scope @ REPL[2]:1However, when I export the API Key, I can read the data