Closed braamvandyk closed 4 years ago
Update: I forked the repo and "dev"'d in Julia. Same error. I then instantiated the project to install dependencies and the error went away. I'll test uninstalling ODBC and reinstalling a clean copy to see if that fixes this.
Last update. Uninstalled the package and forced a garbage collect via
using Pkg, Dates
Pkg.gc(;collect_delay=Hour(0))
Then reinstalled and did a precompile. Worked just fine. I think this can be closed. If someone else has this issue, perhaps this will work for them as well.
I had this issue too - add DecFP#master
fixed it for me. Doing the uninstall/reinstall and garbage collect did not work for me.
@alecloudenback how did you fix this issue? I did Pkg.add("DecFP")
and it doesn't work.
CSV.jl recently underwent a major overhaul so the same solution might not work.
Julia 1.4.0 Official Binaries ODBC v0.9.0
Updated packages and started precompile. This resulted in the following:
[ Info: Precompiling ODBC [be6f12e9-ca4f-5eb2-a339-a4f995cc0291] ERROR: LoadError: UndefVarError: Printf not defined Stacktrace: [1] getproperty(::Module, ::Symbol) at .\Base.jl:26 [2] top-level scope at C:\Users\vdykb.julia\packages\DecFP\3jJW7\src\DecFP.jl:294 [3] eval(::Module, ::Any) at .\boot.jl:331 [4] top-level scope at C:\Users\vdykb.julia\packages\DecFP\3jJW7\src\DecFP.jl:222 [5] include(::Module, ::String) at .\Base.jl:377 [6] top-level scope at none:2 [7] eval at .\boot.jl:331 [inlined] [8] eval(::Expr) at .\client.jl:449 [9] top-level scope at .\none:3 in expression starting at C:\Users\vdykb.julia\packages\DecFP\3jJW7\src\DecFP.jl:207 ERROR: LoadError: Failed to precompile DecFP [55939f99-70c6-5e9b-8bb0-5071ed7d61fd] to C:\Users\vdykb.julia\compiled\v1.4\DecFP\QmCKT_LM9Ra.ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272 [3] _require(::Base.PkgId) at .\loading.jl:1029 [4] require(::Base.PkgId) at .\loading.jl:927 [5] require(::Module, ::Symbol) at .\loading.jl:922 [6] include(::Module, ::String) at .\Base.jl:377 [7] top-level scope at none:2 [8] eval at .\boot.jl:331 [inlined] [9] eval(::Expr) at .\client.jl:449 [10] top-level scope at .\none:3 in expression starting at C:\Users\vdykb.julia\packages\ODBC\5L1N8\src\ODBC.jl:3