Skip to content
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

LoadError after first "using JDBC" #29

Open
asampal opened this issue Nov 16, 2017 · 0 comments
Open

LoadError after first "using JDBC" #29

asampal opened this issue Nov 16, 2017 · 0 comments

Comments

@asampal
Copy link

asampal commented Nov 16, 2017

I added the package and tried to invoke with "using JDBC". Got the following output:

julia> Pkg.add("JDBC")
INFO: Cloning cache of DBAPI from https://github.com/JuliaDB/DBAPI.jl.git
INFO: Cloning cache of JDBC from https://github.com/JuliaDB/JDBC.jl.git
INFO: Installing DBAPI v0.1.0
INFO: Installing Iterators v0.3.1
INFO: Installing JDBC v0.2.0
INFO: Package database updated

julia> using JDBC
INFO: Recompiling stale cache file C:\Users\asampaleanu\.julia\lib\v0.6\Requires.ji for module Requires.
INFO: Precompiling module DBAPI.

WARNING: deprecated syntax "abstract DatabaseInterface" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:35.
Use "abstract type DatabaseInterface end" instead.

WARNING: deprecated syntax "abstract DatabaseError{T<:DatabaseInterface}<:Exception" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:36.
Use "abstract type DatabaseError{T<:DatabaseInterface}<:Exception end" instead.

WARNING: deprecated syntax "abstract DatabaseConnection{T<:DatabaseInterface}" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:37.
Use "abstract type DatabaseConnection{T<:DatabaseInterface} end" instead.

WARNING: deprecated syntax "abstract DatabaseCursor{T<:DatabaseInterface}" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:38.
Use "abstract type DatabaseCursor{T<:DatabaseInterface} end" instead.

WARNING: deprecated syntax "abstract FixedLengthDatabaseCursor{T}<:DatabaseCursor{T}" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:39.
Use "abstract type FixedLengthDatabaseCursor{T}<:DatabaseCursor{T} end" instead.

WARNING: deprecated syntax "abstract DatabaseQuery" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:44.
Use "abstract type DatabaseQuery end" instead.

WARNING: deprecated syntax "abstract ParameterQuery<:DatabaseQuery" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:47.
Use "abstract type ParameterQuery<:DatabaseQuery end" instead.

WARNING: deprecated syntax "abstract MultiparameterQuery<:ParameterQuery" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:50.
Use "abstract type MultiparameterQuery<:ParameterQuery end" instead.

WARNING: deprecated syntax "typealias StringQuery Union{SimpleStringQuery,StringParameterQuery,StringMultiparameterQuery}" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:71.
Use "const StringQuery = Union{SimpleStringQuery,StringParameterQuery,StringMultiparameterQuery}" instead.

WARNING: deprecated syntax "typealias AssociativeVK{V,K} Associative{K,V}" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:411.
Use "AssociativeVK{V,K} = Associative{K,V}" instead.

WARNING: deprecated syntax "typealias Orientation Union{Val{:rows},Val{:columns},Val{:array}}" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:580.
Use "const Orientation = Union{Val{:rows},Val{:columns},Val{:array}}" instead.
WARNING: Base.linearindexing is deprecated, use Base.IndexStyle instead.
  likely near C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\DBAPIBase.jl:39

WARNING: deprecated syntax "abstract AbstractColumn{T}" at C:\Users\asampaleanu\.julia\v0.6\DBAPI\src\arrays.jl:11.
Use "abstract type AbstractColumn{T} end" instead.
WARNING: Module Iterators uuid did not match cache file.
ERROR: LoadError: LoadError: Module DBAPI declares __precompile__(true) but require failed to create a usable precompiled cache file.
Stacktrace:
 [1] _require(::Symbol) at .\loading.jl:502
 [2] require(::Symbol) at .\loading.jl:405
 [3] include_from_node1(::String) at .\loading.jl:576
 [4] include(::String) at .\sysimg.jl:14
 [5] include_from_node1(::String) at .\loading.jl:576
 [6] eval(::Module, ::Any) at .\boot.jl:235
 [7] _require(::Symbol) at .\loading.jl:490
 [8] require(::Symbol) at .\loading.jl:405
while loading C:\Users\asampaleanu\.julia\v0.6\JDBC\src\dbapi.jl, in expression starting on line 1
while loading C:\Users\asampaleanu\.julia\v0.6\JDBC\src\JDBC.jl, in expression starting on line 644

On Windows 10 64 bit, Fall Creators Update, with Julia 0.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant