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

Precompiling error #62

Open
jamesjcai opened this issue Jan 10, 2021 · 3 comments
Open

Precompiling error #62

jamesjcai opened this issue Jan 10, 2021 · 3 comments

Comments

@jamesjcai
Copy link

julia> using TableReader
[ Info: Precompiling TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47]
ERROR: LoadError: UndefVarError: ##24#29 not defined
Stacktrace:
[1] precompile() at C:\Users\jcai.AUTH.julia\packages\TableReader\XQZpf\src\TableReader.jl:784
[2] top-level scope at C:\Users\jcai.AUTH.julia\packages\TableReader\XQZpf\src\TableReader.jl:817
[3] include(::Function, ::Module, ::String) at .\Base.jl:380
[4] include(::Module, ::String) at .\Base.jl:368
[5] top-level scope at none:2
[6] eval at .\boot.jl:331 [inlined]
[7] eval(::Expr) at .\client.jl:467
[8] top-level scope at .\none:3
in expression starting at C:\Users\jcai.AUTH.julia\packages\TableReader\XQZpf\src\TableReader.jl:817
ERROR: Failed to precompile TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47] to C:\Users\jcai.AUTH.julia\compiled\v1.5\TableReader\EYKoh_WAAUV.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
[3] _require(::Base.PkgId) at .\loading.jl:1030
[4] require(::Base.PkgId) at .\loading.jl:928
[5] require(::Module, ::Symbol) at .\loading.jl:923

@simeonschaub
Copy link

Just ran into the same issue. Looks like the precompile statements hard code the gensymed names of closures, which probably isn't a good idea.

@AbhimanyuAryan
Copy link

precompilation issue

ERROR: The following 1 direct dependency failed to precompile:

TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47]

Failed to precompile TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47] to /Users/arstar/.julia/compiled/v1.6/TableReader/jl_X6qgAF.
ERROR: LoadError: UndefVarError: ##24#29 not defined
Stacktrace:
 [1] _precompile_()
   @ TableReader ~/.julia/packages/TableReader/XQZpf/src/TableReader.jl:784
 [2] top-level scope
   @ ~/.julia/packages/TableReader/XQZpf/src/TableReader.jl:817
 [3] include
   @ ./Base.jl:386 [inlined]
 [4] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
   @ Base ./loading.jl:1235
 [5] top-level scope
   @ none:1
 [6] eval
   @ ./boot.jl:360 [inlined]
 [7] eval(x::Expr)
   @ Base.MainInclude ./client.jl:446
 [8] top-level scope
   @ none:1
in expression starting at /Users/arstar/.julia/packages/TableReader/XQZpf/src/TableReader.jl:1
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:55
 [2] precompile(ctx::Pkg.Types.Context; internal_call::Bool, strict::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ Pkg.API /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1265
 [3] precompile
   @ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:921 [inlined]
 [4] #precompile#196
   @ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:919 [inlined]
 [5] precompile()
   @ Pkg.API /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:919
 [6] top-level scope
   @ REPL[77]:1

@zmactep
Copy link

zmactep commented Jul 26, 2022

I have the same error too

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

4 participants