You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently installed Julia 1.5.0. I need to be able to import data from Microsoft SQL server and it seemed like your extension would help me. I added it through the package manager. Now, when I type "using ODBC", it tells me that it failed to precompile. I can successfully run "using Printf" but not "using DecFP". See below:
julia> using ODBC
[ 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\MyName\.julia\packages\DecFP\3jJW7\src\DecFP.jl:294
[3] eval(::Module, ::Any) at .\boot.jl:331
[4] top-level scope at C:\Users\MyName\.julia\packages\DecFP\3jJW7\src\DecFP.jl:222
[5] include(::Function, ::Module, ::String) at .\Base.jl:380
[6] include(::Module, ::String) at .\Base.jl:368
[7] top-level scope at none:2
[8] eval at .\boot.jl:331 [inlined]
[9] eval(::Expr) at .\client.jl:467
[10] top-level scope at .\none:3
in expression starting at C:\Users\MyName\.julia\packages\DecFP\3jJW7\src\DecFP.jl:207
ERROR: LoadError: Failed to precompile DecFP [55939f99-70c6-5e9b-8bb0-5071ed7d61fd] to C:\Users\MyName\.julia\compiled\v1.5\DecFP\QmCKT_XVKWc.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1290
[3] _require(::Base.PkgId) at .\loading.jl:1030
[4] require(::Base.PkgId) at .\loading.jl:928
[5] require(::Module, ::Symbol) at .\loading.jl:923
[6] include(::Function, ::Module, ::String) at .\Base.jl:380
[7] include(::Module, ::String) at .\Base.jl:368
[8] top-level scope at none:2
[9] eval at .\boot.jl:331 [inlined]
[10] eval(::Expr) at .\client.jl:467
[11] top-level scope at .\none:3
in expression starting at C:\Users\MyName\.julia\packages\ODBC\CqFRL\src\ODBC.jl:3
ERROR: Failed to precompile ODBC [be6f12e9-ca4f-5eb2-a339-a4f995cc0291] to C:\Users\MyName\.julia\compiled\v1.5\ODBC\ZHXi3_XVKWc.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1290
[3] _require(::Base.PkgId) at .\loading.jl:1030
[4] require(::Base.PkgId) at .\loading.jl:928
[5] require(::Module, ::Symbol) at .\loading.jl:923
[6] include_string(::Function, ::Module, ::String, ::String) at .\loading.jl:1088
The text was updated successfully, but these errors were encountered:
Yes, a few people have run into this; it has something to do with using an old version of DecFP.jl, even though ODBC.jl requires a newer one. Usually this is fixed by doing ] up DecFP and making sure you're on a version 1.0+
@quinnj - Thanks! That appears to have worked. DecFP needed to upgrade (at the cost of downgrading SpecialFunctions). Now on to actually getting the db connection set up.
Hello.
I recently installed Julia 1.5.0. I need to be able to import data from Microsoft SQL server and it seemed like your extension would help me. I added it through the package manager. Now, when I type "using ODBC", it tells me that it failed to precompile. I can successfully run "using Printf" but not "using DecFP". See below:
The text was updated successfully, but these errors were encountered: